Next: Known problems when compiling
Up: Running OASIS3 in interpolator-only
Previous: The ``testinterp'' test-case
The ``testNONE'' test-case
All files to run the ``testNONE'' test-case can be found in oasis3/examples/testNONE. This test-case provides a flexible
environnement to test the interpolation specified in the INPUT/namcouple configuration file from a source grid to a target
grid, both grids being defined in regular OASIS3 grid data files grids.nc, masks.nc, areas.nc (see section
7.2).
To run ``testNONE'', OASIS3 first has to be compiled (see section 8.1.1) in
interpolator-only mode NONE, i.e. by putting
CHAN = NONE in the TopMakefileOasis3 header file.
The user then has to adapt the ``User specifications''
part of the running script sc_run_NONE. In particular, he has
to specify:
- DIRWORK : the directory where to run the test-case
- BINDIR : the directory containing OASIS3 executable
- SRCROOT : the source of the oasis3 directory
- ARCH : the platform onto which the test-case will run
- DIR_GRD : the directory for the grid data files
- DIR_INP : the directory for the namcouple and cf_name_table.txt files
- SRC_GRID and TGT_GRID : the source
and target grid prefixes in the namcouple and in the grid data
files (see section 5.3.1),
- FLD_NBR : the number of the analytic function chosen,
- MASKERROR : whether or not the error on the target grid will be
calculated on all points (MASKERROR=NOT) or only on non masked
points (MASKERROR=YES).
When launched, the running script sc_run_NONE:
- creates a working directory
- compiles and runs the program PROG/create_inputfield.f90 that creates an input field using the
chosen analytical function on the specified source grid in file
fldin.nc
- copy all required input and data file to the working directory
- run OASIS3 that interpolates the analytical field from fldin.nc with the interpolation specified in the namcouple
- compile and run the program PROG/create_errorfield.f90
that calculates the error between the resulting interpolated field
and the field defined by the chosen analytical function on the
specified target grid, and writes it to the file error.nc
Next: Known problems when compiling
Up: Running OASIS3 in interpolator-only
Previous: The ``testinterp'' test-case
Laure Coquart
2013-06-11