******************************************************************************
       TESTINTERP: running OASIS3 in the interpolator-only mode
*****************************************************************************

In this directory, you will find the set-up to test OASIS3 in the
interpolator-only mode (see OASIS3 User's Guide). 

All files needed to run in this test can be found in
prism/util/running/testinterp/input and prism/util/running/testinterp/restart.

To do so, you first have to compile OASIS3 in mode NONE.
For more details, see OASIS3 User's Guide.

Then you have to compile the program that will calculate the
interpolation error fields and the interpolation error for vector
fields, i.e. gen_error.f90 and gen_error_vector.f90 in directory
prism/util/running/testinterp/error (see script sc_comp_error).

Then adapt and execute sc_run_testinterp. 

To run the example into which OASIS3 interpolates the only time
occurrence from the input file, put TIME=ONE in sc_run_testinterp.
The configuration file prism/data/testinterp/input/namcouple_ONE, the
input files flda1.nc, flda2.nc, flda3.nc, fldb1.nc, fldo1.nc and
fldz1.nc in prism/data/testinterp/restart and the input files aaIin.nc
caJin.nc in prism/data/testinterp/restart/vector will be automatically
used. This example also shows one vector interpolation (field components
a_at42_I and c_at42_J). 
 
To run the example into which OASIS3 interpolates many time
occurrences from the input file, put TIME=MANY in sc_run_testinterp.
The configuration file prism/data/testinterp/input/namcouple_MANY and
the input files fldin.nc in prism/data/testinterp/restart will be
automatically used.

Results in your working directory ($DIRWORK in sc_run_testinterp)
should match the ones in prism/data/testinterp/outdata.

