source: utils/tools/NESTING/README @ 9809

Last change on this file since 9809 was 9809, checked in by clem, 3 years ago

create a README and update namelist files

File size: 2.4 KB
Line 
1=============================================================
2How to build a doubly nested configuration such as AGRIF_DEMO
3=============================================================
4
5:::::::::::::::::::::::::::::::::::::::::::::::::
61) Files needed from root (parent) grid
7:::::::::::::::::::::::::::::::::::::::::::::::::
8- coordinates.nc
9- bathy_meter.nc
10- bathymetry database (For example GEBCO 2014 dataset)
11
12
13:::::::::::::::::::::::::::::::::::::::::::::::::
142) Compile the tool
15:::::::::::::::::::::::::::::::::::::::::::::::::
16
17$NEMOPATH/NEMOGCM/TOOLS/maketools –n NESTING
18
19It creates 5 executables:
20- agrif_create_coordinates.exe
21- agrif_create_bathy.exe
22- agrif_create_restart.exe
23- agrif_create_restart_trc.exe
24- agrif_create_data.exe
25
26
27:::::::::::::::::::::::::::::::::::::::::::::::::
283) Create coordinates and bathymetries
29:::::::::::::::::::::::::::::::::::::::::::::::::
30
31a) agrif_create_coordinates.exe namelist_nordic1
32   It creates level 1 child grid coordinates: 1_coordinates.nc
33
34b) agrif_create_bathy.exe namelist_nordic1
35   It creates level 1 child grid bathymetry: 1_bathymeter.nc
36   It updates        parent grid bathymetry: bathy_updated.nc
37
38c) agrif_create_coordinates.exe namelist_nordic2
39   It creates level 2 child grid coordinates: 2_coordinates.nc
40
41d) agrif_create_bathy.exe namelist_nordic2
42   It creates level 2 child grid bathymetry: 2_bathymeter.nc
43   It updates level 1 child grid bathymetry: 1_bathy_updated.nc
44
45e) agrif_create_bathy.exe namelist_nordic1_update
46   It updates        parent grid bathymetry: bathy_updated_parent.nc
47
48Note: This last step takes into account both levels 1 and 2 bathymetries to update the parent grid bathymetry
49      to make sure that volumes match between child grids and parent grid.
50      To only perform an update as in step e), i.e. without interpolation, one has to set in the namelist:
51      - elevation_database = 1_bathy_updated.nc
52      - type_bathy_interp = 2
53
54** Files needed for your model to run:
55   -   bathy_updated_parent.nc  +    coordinates.nc
56   - 1_bathy_updated.nc         +  1_coordinates.nc
57   - 2_bathy_meter.nc           +  2_coordinates.nc
58
59
60:::::::::::::::::::::::::::::::::::::::::::::::::
614) Create data
62:::::::::::::::::::::::::::::::::::::::::::::::::
63
64a) agrif_create_data.exe namelist_nordic1
65   It creates level 1 child grid data: 1_chlorophyll.nc etc
66
67b) agrif_create_data.exe namelist_nordic2
68   It creates level 2 child grid data: 2_chlorophyll.nc etc
69
70
Note: See TracBrowser for help on using the repository browser.