modflow6 icon indicating copy to clipboard operation
modflow6 copied to clipboard

binary exchange data

Open jdhughes-dev opened this issue 6 years ago • 6 comments

evaluate option to specify exchange data as binary data

```
BEGIN EXCHANGEDATA
    <cellidm1> <cellidm2> <ihc> <cl1> <cl2> <hwva> [<aux(naux)>]
    <cellidm1> <cellidm2> <ihc> <cl1> <cl2> <hwva> [<aux(naux)>]
    ...
END EXCHANGEDATA
```

Support this option

```
BEGIN EXCHANGEDATA
    OPEN/CLOSE exchange.exc (BINARY)
END EXCHANGEDATA
```

jdhughes-dev avatar Apr 02 '19 09:04 jdhughes-dev

@mjreno, is this supported now by using IDM (Input Data Model) loading routines for exchanges (#1505)?

christianlangevin avatar Dec 26 '23 12:12 christianlangevin

@langevin-usgs This hasn't been tested yet but should be close if not already done. I'll find or generate a suitable input and test and then will update this issue.

mjreno avatar Dec 26 '23 15:12 mjreno

@mjreno, I suspect this is supported now. If so, can you close this PR?

christianlangevin avatar May 08 '24 00:05 christianlangevin

@langevin-usgs apologies for losing track of this one, will verify and close.

mjreno avatar May 08 '24 01:05 mjreno

@langevin-usgs apologies for losing track of this one, will verify and close.

No probem! Was just looking through these issues and think some might be fixed now because of IDM.

christianlangevin avatar May 08 '24 10:05 christianlangevin

@langevin-usgs just thinking about this a bit- the struct array input reader already can read similar binary inputs. The current use case is for stress period data, however, so currently the control record is read and binary read interface invoked only in the dynamic loader. The change needed would be update the static loader to do the same.

If this sounds right to you it wouldn't be a lot of work on the MODFLOW 6 side- would FloPy also need to be updated to generate binary exchange list style input?

mjreno avatar May 08 '24 12:05 mjreno

Closing as this has been addressed with #1784 and #1783.

mjreno avatar May 14 '24 15:05 mjreno