You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This page describes how an existing configuration can be extended to accommodate output displays of the DRA and/or the RIV package.

Pre-condition:
Use MFma_support.exe version from 16-09-2008 or later (1,970,290 byte if compiled with GNU95)
Use Diagnostic_Search_Strings.dat dated 18-10-2008 (2,819 byte)

Step 1. Preparation

  1. Replace MFma_support.exe in c:\ngms\<region>\modules\bin\mf
  2. Replace Diagnostic_Search_Strings.dat in c:\ngms\<region>\modules\<model>\Mf<vkd>

Step 2. Update locations and grid specification

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

  1. extend module Adapter instructions for config preparation (XXX_prepare.in)
    add commands:
  • 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)

step 4. Update locations.xml

For each scenario conduct the following steps:

Step 3. Update Module Adapter Instructions file

extend BINARY MASPTACKS MERGE command with QDRA and QRIV

Step 4. Update General Adapter import activities
add importMapstacksActivity for QDRA and QRIV using <model>_merged

Step 5. Update the IdMap files
Step 6. Add interpolation from full model grid to sparse river/drainage cells grid
Step 7. Update compare between scenarios
Step 8. Update grid display

  • No labels