Versions Compared

Key

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

...

----

...

Expand
Click to view Table of contents for this step
Click to view Table of contents for this step
Table of Contents

Within FEWS, and thus NGMS, locations are essential as they are the placeholder to all model inputs and output.
The locations concept and the application within NGMS is described in a seperate page.

One of the most time consuming and error prone parts of the system is setting up those locations and ensuring that the Ids of observation data and model data, as defined in the WEL and STR files, match the licences and or gauging stations. To assist in this process, a standard data template has been produced for specyfying the locations, as well as an locations-generator spreadsheet which automates the process of sorting, IdMapping and XML-file generation.

...

Step 5.1 Check table structure of all worksheets in Data spreadsheet handed over

Go to #Step 5.2. Grids_loc
The starting condition of this step is a populated DataTemplate, which contains all relevant information for the model.

When running the NGMS_Locations_Generator, it will pick up this spreadsheet, conduct a variety of checks and sorts all locations in the appropriate order. For this purpose, the Generator uses hard-coded references to named worksheets and specific columns within a worksheet. To prevent failure in this processing, the following checks the need to be conducted on the table structure of the populated DataTemplate.

The comparison is done against the Empty_DataTemplate spreadsheet.

  1. worksheet GWabs_org
    • ensure that no more than 4 runs are listed (column A-D), as the IdMapping can currently handle 4 runs only
      Note: If more than 4 runs are to be processed, use a second spreadsheet and fill column A-D with the line numbers of the wells in those runs. Please ensure that both spreadsheets contain the same locations.
    • ensure that LicenceNo starts in column F (i.e. C6)
  2. worksheet SWlat_org
    • See above: ensure that no more than 4 runs are listed (column A-D), as the IdMapping can currently handle 4 runs only
      Note: If more than 4 runs are to be processed, use a second spreadsheet and fill column A-D with the line numbers of the wells in those runs. Please ensure that both spreadsheets contain the same locations.
    • ensure that ConsentNo/LicenceNo starts in column I (i.e. C9).
  3. worksheet Branches_org
    • check if reachNr is in column C (C3); chainage is in column D (C4), OSRef is in column J (C10)
    • if not, copy the worksheet from teh Empty_DataTemplate and popualte again
      or
    • add column D and column J from the Empty_DataTemplate.xls
  4. worksheet GWabs_IDmap_hist; GWabs_IDmap_nat; GWabs_IDmap_recact; GWabs_IDmap_fullic
    • if not available, copy all 4 from Empty_DataTemplate
  5. worksheet SWlat_IDmap_hist; SWlat_IDmap_nat; SWlat_IDmap_recact; SWlat_IDmap_fullic
    • if not available, copy all 4 from Empty_DataTemplate

The DataTemplate contains one macro, called 'CheckData' which checks if the essential data is in place. While the details will be addressed in the various steps below, most errors are caused if abovementioned steps are not properly conducted or if the OSreference column is empty. An OSreference column with empty or 'na' is not acceptable as this column is the key for creating a unique locationId

Anchor
Step 5.2. Grids
Step 5.2. Grids

Step 5.2 Create and populate worksheets for Grids: Grids_loc and Grids_locSets

Go to #Step 5.3. GW management units

The worksheets Grids_loc and Grids_locSets are manually prepared. They specify the grid geometry and associated location sets as used in the data processing.

Anchor
Step 5.3. GW management units
Step 5.3. GW management units

Step 5.3 Create and populate worksheet for GW management units: GWunits_loc and GWunits_locSets

Go to #Step 5.4. GW abstractions

The worksheets GWunits_loc and GWunits_locSets are manually prepared. They specify the predefined GWMUs (groundwater management units) and associated location sets as used in the data processing.

Anchor
Step 5.4. GW abstractions
Step 5.4. GW abstractions

Step 5.4 Populate and verify worksheet for groundwater abstractions: GWabs_org

Go to #Step 5.5. Observation boreholes

The worksheet GWabs_org is populated by the data provider.

Notes on the use of columns:

  • The sorting macro contains hard-coded column references. It is therefore essential that column E is empty and column F holds the LicenceNo. One may not list more than 4 WEL files in the first 4 columns. If more WEL-files need to be accounted for, is recommended to create a second spreadsheet (see details #More than four runs provided).
  • The XY-position of the NGR will be adopted as the XY-coordinate of the point location for this borehole. Taking this position over the actual NGR-coordinate ensures that the interpolation from grid cell to OBH - using the closest distance method - will be in line with the way the model has been set up.
  • The NGR-coordinates are typically displayed in the tooltip.
  • The OSreference will be used for the unique identifier of each abstraction. It is essential that this OSreference is based on the NGR coordinate.

Please conduct the following verification and preparation steps:

  1. Remove the example rows (if any) such that the row 40 is the first one containing the actual data
  2. Define concatenate functions for cell B16, B17, B18, B19, B21, B22. The actual contents depends on data availability.
    Expand
    Expand recommended concatenations with max. 4 WEL files
    Expand recommended concatenations with max. 4 WEL files

    cell

    item

    used in

    recommended content

    recommended concatenate function

    B16

    LocationName

    Explorer (map and filter)

    licence code, purpose code (if any), site name, layer

    =IF(O40<>"";F40&"

...

  1. "&G40&"

...

  1. -

...

  1. "&S40&"

...

  1. (L"&O40&")";F40&"

...

  1. "&G40&"

...

  1. -

...

  1. "&S40)

...

  1. B17

...

  1. ShortName

...

  1. Graph

...

  1. legends

...

  1. if

...

  1. possible

...

  1. shorter

...

  1. version

...

  1. of

...

  1. above

     

    B18

    LocationDescription

    Description in Explorer-tooltip

...

  1. location

...

  1. type,

...

  1. GW-unit,

...

  1. Formation

...

  1. =T40

...

  1. &

...

  1. "

...

  1. in

...

  1. GW-unit

...

  1. "

...

  1. &

...

  1. W40

...

  1. &

...

  1. "

...

  1. ("&X40&")

...

  1. from

...

  1. "

...

  1. &

...

  1. Y40

...

  1. &"

...

  1. formation."

...

  1. B19

...

  1. Tooltip

...

  1. on

...

  1. map

...

  1. free

...

  1. text

...

  1. Explorer-tooltip

...

  1. licence

...

  1. holder,

...

  1. licence

...

  1. details,

...

  1. NGR,

...

  1. model

...

  1. coordinates

...

  1. (XYZ

...

  1. and

...

  1. RC)

...

  1. =IF(U40="";"";"Licence

...

  1. holder:

...

  1. "

...

  1. &U40

...

  1. &

...

  1. "

...

  1. ("

...

  1. &F40

...

  1. &

...

  1. "

...

  1. -

...

  1. "&G40&")\n

...

  1. ")&

...

  1. "Easting:

...

  1. "&K40&",

...

  1. Northing:

...

  1. "

...

  1. &L40&

...

  1. "

...

...

...

...

...

...

...

...

...

...

  1. "

...

  1. B21

...

  1. Caption

...

  1. Shortcuts

...

  1. in

...

  1. GraphDisplay

...

  1. see

...

  1. shortname

...

  1. or

...

  1. variations

...

  1. see

...

  1. shortname

...

  1. or

...

  1. variations

...

  1. B22

    Shortcut

    Shortcuts in GraphDisplay

    see shortname or variations

    see shortname or variations

  1. Populate column I (OSreference) based on XY-coordinate of borehole (column K and L).
    Go to: How to derive OSreference coordinate from kilometer based coordinates
  2. Check that column A,B,C,D

...

  1. are

...

  1. populated

...

  1. in

...

  1. correspondence

...

  1. to

...

  1. the

...

  1. provided

...

  1. runs

...

  1. (ModuleDataSets)

...

  1. Check

...

  1. that

...

  1. the

...

  1. number

...

  1. of

...

  1. locations/licences

...

  1. as

...

  1. listed

...

  1. in

...

  1. the

...

  1. spreadsheet

...

  1. corresponds

...

  1. (at

...

  1. least)

...

  1. to

...

  1. the

...

  1. number

...

  1. of

...

  1. wells

...

  1. in

...

  1. each

...

  1. WEL-file

...

Anchor
More than four runs provided
More than four runs provided

If the table accounts for more than 4 WEL files (i.e.

...

column

...

E

...

and

...

possibly

...

F

...

are

...

used

...

to

...

hold

...

line

...

numbers

...

as

...

well),

...

one

...

should

...

do

...

the

...

following

...

steps:

...

  1. create

...

  1. a

...

  1. copy

...

  1. of

...

  1. the

...

  1. spreadsheet

...

  1. remove

...

  1. the

...

  1. additional

...

  1. columns

...

  1. from

...

  1. the

...

  1. 'original'

...

  1. spreadsheet

...

Anchor
Step 5.5.

...

Observation

...

boreholes
Step 5.5. Observation boreholes

Step 5.5

...

Populate

...

and

...

verify

...

worksheet

...

for

...

observation

...

boreholes:

...

OBH_org

...

Go

...

to

...

#Step

...

5.6.

...

Gauges

...

The

...

worksheet

...

OBH_org

...

is

...

populated

...

by

...

the

...

data

...

provider.

...


Notes

...

on

...

the

...

use

...

of

...

columns:

...

  • The

...

  • XY-position

...

  • of

...

  • the

...

  • grid

...

  • cell

...

  • will

...

  • be

...

  • adopted

...

  • as

...

  • the

...

  • XY-coordinate

...

  • of

...

  • the

...

  • point

...

  • location

...

  • for

...

  • this

...

  • borehole.

...

  • Taking

...

  • this

...

  • position

...

  • over

...

  • the

...

  • actual

...

  • NGR-coordinate

...

  • will

...

  • ensures

...

  • that

...

  • the

...

  • interpolation

...

  • from

...

  • gridcell

...

  • to

...

  • OBH

...

  • -

...

  • using

...

  • the

...

  • closest

...

  • distance

...

  • method

...

  • -

...

  • will

...

  • be

...

  • in

...

  • line

...

  • with

...

  • the

...

  • way

...

  • that

...

  • the

...

  • model

...

  • has

...

  • been

...

  • set

...

  • up.

...


  • Note

...

  • the

...

  • difference

...

  • with

...

  • column

...

  • usage

...

  • for

...

  • the

...

  • GW

...

  • abstraction

...

  • points.

...

  • The

...

  • NGR-coordinates

...

  • are

...

  • typically

...

  • displayed

...

  • in

...

  • the

...

  • tooltip.

...

  • The

...

  • OSreference

...

  • will

...

  • be

...

  • used

...

  • for

...

  • the

...

  • unique

...

  • identifier

...

  • of

...

  • each

...

  • borehole.

...

  • It

...

  • is

...

  • recommended,

...

  • but

...

  • not

...

  • required,

...

  • to

...

  • convert

...

  • the

...

  • gridcell

...

  • position

...

  • to

...

  • Osreference.

...

  • In

...

  • any

...

  • case,

...

  • please

...

  • document

...

  • properly

...

  • what

...

  • coordinate

...

  • has

...

  • been

...

  • used

...

  • for

...

  • this

...

  • purpose.

...

The

...

following

...

steps

...

should

...

be

...

conducted

...

to

...

prepare

...

and

...

verify

...

the

...

data

...

provided:

...

  1. ensure

...

  1. that

...

  1. the

...

  1. OSreference

...

  1. column

...

  1. is

...

  1. populated

...

  1. (how

...

  1. to)

...

  1. as

...

  1. this

...

  1. column

...

  1. will

...

  1. provide

...

  1. the

...

  1. key

...

  1. for

...

  1. unique

...

  1. identification

...

  1. ensure

...

  1. that

...

  1. the

...

  1. NGR-coordinates

...

  1. are

...

  1. given

...

  1. in

...

  1. kilometers

...

  1. as

...

  1. this

...

  1. determines

...

Anchor

...

Step

...

5.6.

...

Gauges
Step 5.6. Gauges

Step 5.6

...

Populate

...

and

...

verify

...

worksheet

...

for

...

gauging

...

stations:

...

Gauges_org

...

Go

...

to

...

#Step

...

5.7.

...

SW

...

laterals

...

The

...

worksheet

...

Gauges_org

...

is

...

populated

...

by

...

the

...

data

...

provider.

...

Anchor

...

Step

...

5.7.

...

SW

...

laterals
Step 5.7. SW laterals

Step 5.7

...

Populate

...

and

...

verify

...

worksheet

...

for

...

SW

...

laterals

...

(discharges

...

and

...

abstractions):

...

SWlat_org

...

Go

...

to

...

#Step

...

5.8.

...

Branches

...

The

...

worksheet

...

SWlats_org

...

is

...

populated

...

by

...

the

...

data

...

provider.

...

Anchor

...

Step

...

5.8.

...

Branches
Step 5.8. Branches

Step 5.8

...

Populate

...

and

...

verify

...

worksheet

...

for

...

river

...

branches:

...

Branches_org

...

Go

...

to

...

#Step

...

5.9.

...

IdMaps

...

for

...

GW

...

abstraction

...

The

...

worksheet

...

Branches_org

...

is

...

populated

...

by

...

the

...

data

...

provider.

...

Anchor

...

Step

...

5.9.

...

IdMaps

...

for

...

GW

...

abstraction
Step 5.9. IdMaps for GW abstraction

Step 5.9

...

Populate

...

and

...

verify

...

worksheets

...

with

...

IdMap

...

data

...

for

...

GW

...

abstractions:

...

GWabs_IDMap

...

(4

...

worksheets)

...

Go

...

to

...

#Step

...

5.10.

...

IdMaps

...

for

...

SW

...

laterals

...

The

...

worksheets

...

need

...

to

...

be

...

populated

...

with

...

results

...

from

...

step

...

4.

...

Anchor

...

Step

...

5.10.

...

IdMaps

...

for

...

SW

...

laterals
Step 5.10. IdMaps for SW laterals

Step 5.10

...

Populate

...

and

...

verify

...

worksheets

...

for

...

SW

...

laterals:

...

SWlat_IDMap

...

(4

...

worksheets)

...

Go

...

to

...

#Step

...

5.11.

...

Generate

...

Location

...

XML-files

...

The

...

worksheets

...

need

...

to

...

be

...

populated

...

with

...

results

...

from

...

step

...

4.

...

Anchor

...

Step

...

5.11.

...

Generate

...

Location

...

XML-files

...

Step 5.11. Generate Location XML-files

Step 5.11

...

Generate

...

Location

...

XML-files

...

Go

...

to

...

#Step

...

5.12.

...

Update

...

Grisd.xml

...

file

...

If

...

everything

...

is

...

ready,

...

  1. create

...

  1. a

...

  1. backup

...

  1. run

...

  1. macro

...

  1. x

...

  1. inspect

...

  1. results

...

  1. create

...

  1. XML

...

  1. files

...

Anchor

...

Step

...

5.12.

...

Update

...

Grids.xml

...

file
Step 5.12. Update Grids.xml file

Step 5.12

...

Update

...

Grids.XML

...

file

...

the

...

Grids.xml

...

file

...

needs

...

to

...

be

...

update

...

with

...

some

...

data

...

from

...

step

...

4.