Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
To create the Filters, GridDisplay and DisplayGroups configuration files it is best to merge the two display spreadsheets used to create these files for the separate models ([see Step 9|NGMS:Step 9. Displays] ). The advantage is that future changes in the Displays can still be generated automatically in one go for the whole region without merging the two separate configuration files together again and again.

That means you have two display spreadsheets two start from, one for _Model1_ and one for _Model2_. The naming convention of the spreadsheets used in [step 9|NGMS:Step 9. Displays] to create the displays is free at the moment, that is why we can't refer to a specific name. The spreadsheets should have names which are self explaining (e.g. _Model1_\_Displays.xls and _Model2_\_Displays.xls). To start make a copy of one of the spreadsheets (e.g. _Model1_\_Displays.xls) and rename it to _Region_\_Displays.xls (where _Region_ is to be replaced by the region name, e.g Southern). This will be your final merged spreadsheet with wich you can create the merged configuration files in the end.


Each display spreadsheet contains four sheets. The merge action has to be carried out for all of these sheets.
* Filters
* GridDisplay
* DisplayGroups_plotdef
* DisplayGroups_folders
{create-child:Merge Filters}

[Step 1:  Merge Filters|NGMS:Merge Filters]
[Step 12:  Merge GridDisplay|NGMS:Merge GridDisplay]
[Step 13:  Merge DisplayGroups|NGMS:Merge DisplayGroups]

In case of merging the two spreadsheets with for the GridDisplay it is necessary to do the following:
* all elements of the original model sheets should be copied in the overall sheet. The order of the elements within the section for each model should stay as they are.

Merging the DisplayGroups configuration files requires some more changes in the spreadsheets. The necessary changes are explained below:
* the DisplayGroups_plotdef sheet should contain all the scenarios and parameters used in either of the models
* the original sheets with DisplayGroups folders can be put in one sheet below each other. The order of the elements in the list should not be changed. The column SHEET refers to a different sheet with the locations to be displayed. The best procedure is to create a sheet for each model for each type of locations. The reference to these sheets should be put in the column SHEET correctly.
* the sheets with locations (e.g. Displays_obhs_YNN) should be populated with all locations for that specific location type for that model
* modelcheck sheets (1 and 2) should be created for both models as well

For re-running the spreadsheets when the two  spreadsheets have been merged to one you will need the spreadsheet  generator
If all sheets have been merged save the final merged spreadsheet (Region_Displays.xls). To create the merged configuration files Filters.xml, DisplayGroups.xml and GridDisplay.xml you have to re-run the macros of the spreadsheet generator. This should be familiar from the previous step. Please see [step 9|NGMS:Step 9. Displays] on how to run the spreadsheet and create the configuration files.

Please check the created files carefully:
* do they contain the expected information?
* are they valid?