How to configure a customised experiment
This is a basic guidance on how to implement a new setup from a GCM with a grid that does not exist in the present TRACMASS projects list. This requires good knowledge in the numerical discretisation of your GCM and of Fortran programming.
-
Make a new «project» which we call “mymodel” here.
Copy the directory from an existing project that has a similar grid (A,B or C-grid) or has a similar format (netcdf, grib, etc.). So that:
cd projects cp -r NEMO mymodel
or:
cp -r AVISO mymodel
or:
cp -r IFS mymodel
-
Rename the namelist file to namelist_mymodel.in or namelist_mycase.in if you are using a case within the project. Find more information about the namelist here.
-
Modify and adapt the files under /projects/mymodel, which are setup_grid.F90, read_field.F90, and kill_zones.F90. Find more information about the subroutines setup_grid.F90 and read_field.F90 here.
-
Adapt the Makefile.prj to adjust the compiling flags. The list of possible flags can be found here.
-
Adapt the Makefile in the main directory and set PROJECT = mymodel and CASE = mymodel.
For more detailed examples refer to TRACMASS Tutorials