...
While the output of the RIV and DRA package can be produced as a grid covering the full model area, it is recommended to create a sparse grid (similar to the StreamCells-sparse grid), to save disk space. The Module Adapter contains functionality to accommodate the generation of such sparse grid. Once generated, this sparse grid needs to be copied to the main grids.xml file. In addition, the locations.xml file needs to hold a location-id which points to this grid.
Update grids.xml
- extend module Adapter instructions for config preparation (XXX_prepare.in) by adding the following command(s):
- RIV_OUT QRIV (creates a sparse grid of river cells)
- DRN_OUT QDRA (creates a sparse grid of drainage cells)
- GHB_OUT Q_GHB (creates a sparse grid of boundary cells)
- for each of the generated grids.xml:
- copy the irregular grid-definition into the main grids.xml
- rename the locationId into "<model>_DrainageCells_sparse_grid", resp. "<model>_RiverCells_sparse_grid", resp."<model>_BoundaryCells_sparse_grid".
- replace the number of rows by 1
- replace the number of columns by the number of grid-cells
|
|
Update locations.xml
- Add locationId for each new sparse grid
Info |
---|
Example |
...
- Open the ModuleInstances spreadsheet for this model as well as the generator-spreadsheet with the macro's
Step 5.1. Update General Adapter import activities
- add importMapstacksActivity for QDRA, QRIV using <model>_merged as a temporary time series (synchLevel 9, expires in 16 hour)
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example row in spreadsheet:
|
Step 5.2. Add interpolation from full model grid to sparse river/drainage cells grid
- add interpolation for QDRA, QRIV, Q_GHB, Q_HBND using <model>_xxxCells_sparse_grid as output
Info | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example row in spreadsheet
|
Step 5.3. Update compare between scenarios
- add compare for QDRA, QRIV and Q_GHB, Q_HBND using <model>_xxxCells_sparse_grid as output
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example row in spreadsheet
|
...