Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

The ‘physics_input_table’ contains a list of all your physics input fields to be read. This includes all the geophysical fields (GEOP), fields to be read from the initial condition file (ANAL), fields read from the climatological file specified in ‘GEM_climato‘ (CLIM) as well as fields to be read from the analyzed climatological file, ‘GEM_anclima’, like for ‘TM’ and ‘LG’ (INREP).

Format:

  • There is one row per field to be read
  • Each row can contain several keys, specifying which field exactly should get read. These keys need to be separated from one another by a ';'. See table below for possible key names.
  • Empty lines and lines starting with

...

  • # are ignored
  • Spaces are ignored
  • Case is ignored

Keys:

Notes :

  • Only the first 4 (if existing) characters of the key names are needed.
  • The order of the keys is not important.
KeyDescription
inVariable name as found in file (mandatory)
in2For vector fields, name of second component as found in file
search

List of files from which to read the field (mandatory). If more than one file is given, the list of files is to be separated by commas.The model will search in the files for the field (starting with the first), until the field got found. Accepted values are:
     GEOP, CLIM, ANAL, INREP,
     
MANAL, MINREP, MINPUT  (from GEM 4.8 onward)

With:

     'ANAL'  → field will get read from analysis file specified in '$GEM_anal'
     'GEOP'  → field will get read from geophy file specified in '$GEM_geophy'
     'CLIM'   →  field will get read from climatology file specified in '$GEM_climato'
     'MINREP' →  field will get read from '$GEM_anclima' (SST & sea ice) or '$CLIMAT_nest_rept'/'$CLIMAT_nest_exp' (lateral BCs). Files defined by both parameters get copied into a directory called 'INREP' by the model scripts.

File names are specified in 'configexp.cfg'.

Note: from GEM 4.8 onward:
            MANAL  could be used instead of ANAL (TAKS_INPUT/MODEL_ANALYSIS)
            MINREP should be used instead of INREP (TAKS_INPUT/MODEL_INREP)
            MINPUT could be used to point to TAKS_INPUT/MODEL_INPUT

freq

Frequency at which field will be read

...

(default 0)
Accepted format: TYPE,first,interval,last

    TYPE : STEP,MONTH,HOUR,MINUTE (optional, default=STEP)
    first : start reading from "first", in units of TYPE (mandatory)
    interval : read every interval (optional, default=0, inital). Put 1 for fields that should get read whenever they are found.
    last : read up to "last", in units of TYPE (optional, default=-1 infinite)

Examples:
    freq=0,1 → Try to read field at all timesteps, starting from timestep 0.
    freq=MONTH,0,1 → Try to read field every month, starting from month (timestep) 0.

hinterp
(interp)

Horizontal interpolation technique (default: cubic)
Accepted values: nearest, linear, cubic
Note: Key "interp" (now hinterp) is still accepted for backward compatibility

vinterpVertical interpolation technique (default: none)
Accepted values:
   none, linear, cubic,
   l-cond (linear conditional, interpolate only if different vgrid or hgrid)
   c-cond (cubic  conditional, interpolate only if different vgrid or hgrid)
tinterp
(timeint)

Temporal interpolation technique (defaut=none)
Accepted values: nearest, linear, step, any, none
Note: key "timeint"(now tinterp) is still accepted for backward compatibility

levelsList of levels (defaul=0)
Accepted format: FIRST_LEVEL, LAST_LEVEL (optional)
Accepted values / examples:
       0        (surface),
       1        (arbitrary level 1),
       1,26  (arbitrary level 1 to 26),
       -1       (caller provided list of levels),
       tdiag (thermo diag level),
       mdiag (momentum diag level)
catList of categories (for 4D vars) (default=-1)
Accepted format: FIRST_CAT, LAST_CAT (optional)
Accepted values / examples:
        1        (1st category),
        1,26  (categories 1 to 26),
       -1        (caller provided list of categories, all categories)
typvartypvar param of RPN-std files (default=' ')
Accepted values: C, A, P, R, ...
mandatoryDefine if the field is mandatory or not (default=default)
Accepted values:  default (up to the caller to decide), true, false
vminmin value of the field... f = max(vmin,f)
vmaxmax value of the field... f = min(f,vmax)


Examples:

Volet
bgColorlightgray

# Read all 26 vegetation fractions (VF) from geophysical fields

   

in=VF;   freq=0;   search=GEOP;

      interp

       hinterp=near;   levels= 1,26

;

# Read 7 "levels" of snow depth (SD) from initial conditions

   

in=SD;   freq=0;   search=ANAL;     

interp

 hinterp=near;   levels= 1,7

;

# Try to read TM and LG at all timesteps from initial conditions and INREP (GEM_anclima)

   

in=TM;   freq=0,1; search=ANAL,INREP;

interp

hinterp=linear;

timeint

tinterp=near

   

in=LG;   freq=0,1; search=ANAL,INREP;

interp

hinterp=near;  

timeint=near

tinterp=near

# Try to read monthly climatology fields from GEM_climato
in=CF1C; freq=MONTH,0,1; search=CLIM; hint=linear; vint=linear; tint=linear; levels= -1

in=CF2C; freq=MONTH,0,1; search=CLIM; hint=linear; vint=linear; tint=linear; levels= -1
in=CH4C; freq=MONTH,0,1; search=CLIM; hint=linear; vint=linear; tint=linear; levels= -1
in=N2OC; freq=MONTH,0,1; search=CLIM; hint=linear; vint=linear; tint=linear; levels= -1
in=O3CE; freq=MONTH,0,1; search=CLIM; hint=linear; vint=linear; tint=linear; levels= -1