Setting up a new domain
The following files are domain specific and have to be created for a new domain:
Environment name in job_settings | Description | Can be created with | Example from the SPICE distribution |
---|---|---|---|
LAM_GRID | Grid description of the limited area dynamic grid | ||
PARENT_GRID | Grid description of the parent grid | ||
EXTPAR | External parameters on ICON grid | ||
TARGET_GRID | External data file holding grid information of the domain in rotated coordinates. This information is needed in the post-processing for interpolation from ICON grid to the rotated lat/lon grid |
As an example the CORDEX South-East Asia domain is taken. You can see this example at the end of each step. Â
Step 1
If you already have a netCDF file that holds the rotated coordinate information for your desired domain you can use this for your TARGET_GRID and proceed to step 2.
Choose the region with the WebPEP-go interface (WebPEP-go) (do not use the normal WebPEP interface, this would create too much overhead). There is no need to take account of extra grid boxes at the boundaries (e.g. for a sponge layer). Then click the "create grid" button. In a new window you will get the cfu command you can use to create your grid file. The cfu command is the one that is distributed with the SPICE scripts.
The grid file is your TARGET_GRID file.
Step 2
If you already have the appropriate RxxByy values for your ICON simulation you can skip to step 3.
You can use the R and B finder tool to find the R and B values nearest to the grid mesh width you choose in step 1.
Step 3
In order to make it easier for you to create the ICON grid that covers your desired domain with the ICON Webservice interface, you may use the cfu command
cfu icon_domain <netcdf file> [<nbound> [<nudge_zone_width> <Rn> <Bk>] ]
see SPICE documentation  for explanation of this command.
The input file is the grid file you created in step 1.
Step 4
The files for LAM_GRID, PARENT_GRID, EXTPAR will now be created by the ICON Webservice. You can use the information you have got in steps 3 and 4 for this.Â
Step 5
In case the external data file is in netCDF4 format the data file may have to be transformed into netCDF3. This depends on the CDO version you use. CDO versions from 2.x onwards can read netCDF4. Check with
and transform with
Â
Step 6
Copy the mandatory files into your grid description directory.
Step 7
Adjust the valid range of output variables to your domain and/or resolution for samovar checks. For certain regions adapted lists are already given, e.g. samovar_EUR-11.csv and samovar_ts_EUR-11.csv