To install the base of test cases (before SURFEX 9.1.0)
The STRATO tests base is included in the GIT repository, in the directory STRATO/TESTS/
- 1. Choose two surfex versions ("old" and "new") to test
- 2. Choose a run directory, for example /home/username/run_base_test
In this run directory, you need to link:- $SRC_SURFEX/MY_RUN/ECOCLIMAP/*.bin
- executables for the old version of the SURFEX code to be compared: pgd_old.exe, prep_old.exe, soda_old.exe, offline_old.exe
- executables for the new version of the SURFEX code to be compared: pgd_new.exe, prep_new.exe, soda_new.exe, offline_new.exe
- In the run directory, copy the directory TESTS/ from the surfex GIT repository.
- 3. open and modify:
- TESTS/PC/script_all.sh (on a standard PC) or TESTS/BEAUFIX/script_all.sh (on belenos): 3 first lines:
dir_run="/home/username/run_base_test" (type your own rundir name)
exec_new="_new" (type your own extension for new executables)
exec_old="_old" (type your own extension for old executables) - TESTS/PYTHON/compR.cfg:
verN="name of your new version, for output files"
verO="name of your old version, for output files"
basedir="/home/faroux/run_base_test/" (type your own rundir name)CAUTION: there must be a "/" at the end of basedir.
- TESTS/PC/script_all.sh (on a standard PC) or TESTS/BEAUFIX/script_all.sh (on belenos): 3 first lines:
- 4. physiographic big files are not delivered with the test base. So you need to:
- download:
gtopo30.dir & gtopo30.hdr, topo_index.dir & topo_index.hdr here,
clay_fao.dir & clay_fao.hdr, sand_fao.dir & sand_fao.hdr, soc_top.dir & soc_top.hdr, soc_sub.dir & soc_sub.hdr here,
sand_6layers_mean_int.tgz, clay_6layers_mean_int.tgz here,
ECOCLIMAP_I_GLOBAL.dir & ECOCLIMAP_I_GLOBAL.hdr, ECOCLIMAP_II_EUROP.dir & ECOCLIMAP_II_EUROP.hdr (take latest versions and rename them), perm_glo_10km.dir & perm_glo_10km.hdr here,
GlobalLakeDepth.dir & GlobalLakeDepth.hdr, GlobalLakeStatus.dir & GlobalLakeStatus.hdr, LAKE_LTA_NEW.nc here,
etopo2.nc here. - unzip all these files and put them in directory TESTS/PGD/FILES, except for LAKE_LTA_NEW.nc that you put in TESTS/PREP/FILES.
- download:

