Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

  1. MFma_support.exe

...

  1. in

...

  1. c:\ngms\<region>\modules\bin\mf

...

  1. Replace

...

  1. Diagnostic_Search_Strings.dat

...

  1. in

...

  1. 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

...

  1. module

...

  1. Adapter

...

  1. instructions

...

  1. for

...

  1. config

...

  1. preparation

...

  1. (XXX_prepare.in)

...

  1. by

...

  1. adding

...

  1. the

...

  1. following

...

  1. 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)

...

  1. for

...

  1. each

...

  1. of

...

  1. the

...

  1. generated

...

  1. 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

...

Info

Example generated)
<irregular locationId="EK_QDRA_Cells">

...


<description>EK_QDRA_Cells</description>

...


<rows>178</rows>

...


<columns>146</columns>

...


<geoDatum>Ordnance Survey Great Britain 1936</geoDatum>

...


<cellCentre>
<x>629057.56</x>

...


<y>139131.19</y>

...


<z>2.</z>

...


</cellCentre>

...


...

...


</irregular>

...

Info

Example (Corrected)

...


<irregular

...

locationId="EK_DrainageCells_sparse_grid">

...


<description>model

...

grid

...

placeholder</description>

...


<rows>1</rows>

...


<columns>353</columns>

...


<geoDatum>Ordnance

...

Survey

...

Great

...

Britain

...

1936</geoDatum>

...


<cellCentre>
<x>629057.56</x>

...


<y>139131.19</y>

...


<z>2.</z>

...


</cellCentre>

...


...

...


</irregular>

...

Update locations.xml

...

  1. Add

...

  1. locationId

...

  1. for

...

  1. each

...

  1. new

...

  1. sparse

...

  1. grid
Info

Example
<location

{info} *Example* <location

id="EK_DrainageCells_sparse_grid"

name="East

Kent

drainage

cells">


<description>model

grid

placeholder</description>


<shortName>East

Kent

drainage

cells</shortName>


<toolTip>East

Kent

drainage</toolTip>


<x>595600</x>


<y>194900</y>


<z>1</z>


</location>


<location

id="EK_BoundaryCells_sparse_grid"

name="East

Kent

boundary

cells">


<description>model

grid

placeholder</description>


<shortName>East

Kent

boundary

cells</shortName>


<toolTip>East

Kent

boundaries</toolTip>


<x>595600</x>


<y>194900</y>


<z>1</z>


</location>

{info} h3. Step

Step 3.

...

Update/verify

...

the

...

parameters

...

list

...

in

...

the

...

IdMap-files

...

  1. Add

...

  1. parameter

...

  1. mapping

...

  1. for

...

  1. each

...

  1. idMap-file

...

  1. (except

...

  1. import_observerd)

...


  1. <parameter

...

  1. external="QDRA"

...

  1. internal="QDRA.xxxx"></parameter>

...


  1. where

...

  1. xxx

...

  1. refers

...

  1. to

...

  1. the

...

  1. scenario

...

  1. type

...

  1. (hist,

...

  1. nat,

...

  1. recact,

...

  1. fullic,

...

  1. lta,

...

  1. fullicS,

...

  1. whatif)

...

  1. save

...

  1. file

...

  1. with

...

  1. a

...

  1. new

...

  1. version

...

  1. number

...

Step

...

4.

...

Update

...

Module

...

Adapter

...

output

...

Instructions

...

file

...

(XXX_output.in)

...

  1. For

...

  1. each

...

  1. scenario,

...

  1. extend

...

  1. BINARY

...

  1. MAPSTACKS

...

  1. MERGE

...

  1. command

...

  1. with

...

  1. QDRA

...

  1. and

...

  1. QRIV

...

  1. Info

    Example
    BINARY_MAPSTACKS

...

  1. MERGE

...

  1. H,

...

  1. QX,

...

  1. QY,

...

  1. QZ,

...

  1. QSTR,

...

  1. QSTR_ACCU,

...

  1. QSTOR,

...

  1. Q_GHB,

...

  1. Q_HBND,

...

Step 5.

...

Update

...

Module

...

Instances

...

  • 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

...

  1. add

...

  1. importMapstacksActivity

...

  1. for

...

  1. QDRA,

...

  1. QRIV

...

  1. using

...

  1. <model>_merged

...

  1. as

...

  1. a

...

  1. temporary

...

  1. time

...

  1. series

...

  1. (synchLevel

...

  1. 9,

...

  1. expires

...

  1. in

...

  1. 16

...

  1. hour)
Info

Example row in spreadsheet:

{info}*Example row in spreadsheet:* |import|

import

EK_QDRA_merged_MapStacks.xml

|

MapStacks

|

EK

|

runMF

|

grid

|

QDRA

|

EK_merged

| 9| hour| 16|

9

hour

16

daysOfMonth="01

16"

| {info} h5. Step

Step 5.2

...

Add

...

interpolation

...

from

...

full

...

model

...

grid

...

to

...

sparse

...

river/drainage

...

cells

...

grid

...

  1. add

...

  1. interpolation

...

  1. for

...

  1. QDRA,

...

  1. QRIV

...

  1. , Q_GHB,

...

  1. Q_HBND

...

  1. using

...

  1. <model>_xxxCells_sparse_grid

...

  1. as

...

  1. output
Info

Example row in spreadsheet

{info]*Example row in spreadsheet* |EK |runMF |QDRA |drainage_QDRA |closestdistance |EK_merged |grid |QDRA |

EK

runMF

QDRA

drainage_QDRA

closestdistance

EK_merged

grid

QDRA

EK_DrainageCells_sparse_grid

|

grid

|

21

|

daysOfMonth="01

16"

| |EK |runMF |

EK

runMF

Q_HBND

boundary_Q_HBND

|

closestdistance

|

EK_merged

|grid |

grid

Q_HBND

|

EK_BoundaryCells_sparse_grid

|

grid

|

21

|

daysOfMonth="01

16"| {info}*Example row in spreadsheet:* |import| EK_QDRA_merged_MapStacks.xml| MapStacks| EK| runMF| grid| QDRA| EK_merged| 9| hour| 16| daysOfMonth="01 16"| {info} h5. Step 5.3. Update compare between scenarios Step 6. Update displays Step 8. Update grid display

16"

Step 5.3. Update compare between scenarios
  1. add compare for QDRA, QRIV and Q_GHB, Q_HBND using <model>_xxxCells_sparse_grid as output
Info

Example row in spreadsheet

interpolate

grid

QDRA

QDRA

EK_DrainageCells_sparse_grid

21

daysOfMonth="01 16"

interpolate

grid

Q_HBND

Q_HBND

EK_BoundaryCells_sparse_grid

21

daysOfMonth="01 16"

Step 6. Update displays

Step 8. Update grid display