source: utils/tools/NESTING @ 10029

Name Size Rev Age Author Last Change
../
src 10029   2 years clem put a wall at the boundaries in the domain_cfg that is outputed by the …
doc_nesting_tools.pdf 3.1 MB 2455   10 years smasson v3_3_bet: bugfix in nesting tools, see #773
namelist_nordic1 2.1 KB 10025   2 years clem nesting tools are partly rewritten (mostly for create_coordinates and …
namelist_nordic1_update 2.0 KB 10025   2 years clem nesting tools are partly rewritten (mostly for create_coordinates and …
namelist_nordic2 2.1 KB 10025   2 years clem nesting tools are partly rewritten (mostly for create_coordinates and …
README 2.4 KB 9948   2 years clem remove useless namelist
  • Property svn:ignore set to
    BLD
    *.exe
    *.nc

README

=============================================================
How to build a doubly nested configuration such as AGRIF_DEMO
=============================================================

:::::::::::::::::::::::::::::::::::::::::::::::::
1) Files needed from root (parent) grid
:::::::::::::::::::::::::::::::::::::::::::::::::
- coordinates.nc
- bathy_meter.nc
- bathymetry database (For example GEBCO 2014 dataset)


:::::::::::::::::::::::::::::::::::::::::::::::::
2) Compile the tool
:::::::::::::::::::::::::::::::::::::::::::::::::

$NEMOPATH/NEMOGCM/TOOLS/maketools -n NESTING -m X64_ADA -j 4

It creates 5 executables:
- agrif_create_coordinates.exe
- agrif_create_bathy.exe
- agrif_create_restart.exe
- agrif_create_restart_trc.exe
- agrif_create_data.exe


:::::::::::::::::::::::::::::::::::::::::::::::::
3) Create coordinates and bathymetries
:::::::::::::::::::::::::::::::::::::::::::::::::

a) agrif_create_coordinates.exe namelist_nordic1
   It creates level 1 child grid coordinates: 1_coordinates.nc

b) agrif_create_bathy.exe namelist_nordic1
   It creates level 1 child grid bathymetry: 1_bathymeter.nc
   It updates        parent grid bathymetry: bathy_updated.nc

c) agrif_create_coordinates.exe namelist_nordic2
   It creates level 2 child grid coordinates: 2_coordinates.nc

d) agrif_create_bathy.exe namelist_nordic2
   It creates level 2 child grid bathymetry: 2_bathymeter.nc
   It updates level 1 child grid bathymetry: 1_bathy_updated.nc

e) agrif_create_bathy.exe namelist_nordic1_update
   It updates        parent grid bathymetry: bathy_updated_parent.nc

Note: This last step takes into account both levels 1 and 2 bathymetries to update the parent grid bathymetry
      to make sure that volumes match between child grids and parent grid.
      To only perform an update as in step e), i.e. without interpolation, one has to set in the namelist:
      - elevation_database = 1_bathy_updated.nc
      - type_bathy_interp = 2

** Files needed for your model to run:
   -   bathy_updated_parent.nc  +    coordinates.nc
   - 1_bathy_updated.nc         +  1_coordinates.nc
   - 2_bathy_meter.nc           +  2_coordinates.nc


:::::::::::::::::::::::::::::::::::::::::::::::::
4) Create data
:::::::::::::::::::::::::::::::::::::::::::::::::

a) agrif_create_data.exe namelist_nordic1
   It creates level 1 child grid data: 1_chlorophyll.nc etc

b) agrif_create_data.exe namelist_nordic2
   It creates level 2 child grid data: 2_chlorophyll.nc etc


Note: See TracBrowser for help on using the repository browser.