GEM/4.6/physics input table

From Wiki
< GEM | 4.6
Jump to: navigation, search

1 File format

   !   one input var desc per line
 ! empty lines and lines starting with # are ignored
 ! a line is multiple key=var separated with ;
 ! spaces are ignored
 ! case is ignored
 ! recognized keys
 ! * in  : variable name as found in file (mandatory)
 ! * in2  : variable name as found in file, second component of vector fields
 ! * search : list of files to search var in, comma separated (mandatory)
 ! accepted values: GEOP, CLIM, ANAL, INREP
 ! var are search in until found in files starting from 1st one
 ! * freq  : reading frequency (defaut=0)
 ! accepted format: TYPE,first,interval,last
 ! TYPE: STEP,MONTH,HOUR,MINUTE (optional, default=STEP)
 ! first: start reading from "first", TYPE units (mandatory)
 ! interval: read every interval (optional, default=0, inital)
 ! last : read up to "last", TYPE units (optional, default=-1 infinite)
 ! * interp : spatial horiz. interp. technique (defaut=cubic)
 ! accepted values: nearest, linear, cubic
 ! * vinterp: spatial vertical interp. technique (defaut=none)
 ! accepted values: none, linear, cubic
 ! * timeint: temporal interp. technique (defaut=none)
 ! accepted values: nearest, linear, step, any, none
 ! * levels : list of levels (defaul=0)
 ! accepted format: FIRST_LEVEL, LAST_LEVEL
 ! LAST_LEVEL is optional
 ! accepted values: 0 (surface), 1 (arbitrary level 1), 1-26 (arbitrary level 1 to 26), -1 (caller provided list of levels)

2 Example of a physics_input_table file

You can get this file with :

more ${rpnphy}/include/physics_input_table_GENERIC
more ${rpnphy}/include/physics_input_table_GENERIC

in=MG; freq=0; search=GEOP; interp=near;
in=TM; freq=0; search=ANAL; interp=linear;
in=LH; freq=0; search=GEOP; interp=linear;
in=Y7; freq=0; search=GEOP; interp=linear;
in=Y8; freq=0; search=GEOP; interp=linear;
in=Y9; freq=0; search=GEOP; interp=linear;
in=GA; freq=0; search=GEOP; interp=near;
in=I8; freq=0; search=ANAL,CLIM; interp=near; timeint=linear
in=I9; freq=0; search=ANAL; interp=linear; levels= 1,2;
in=I7; freq=0; search=ANAL; interp=linear; levels= 1,3;
in=ZP; freq=0; search=GEOP; interp=linear;
in=SD; freq=0; search=ANAL,CLIM; interp=near; levels= 1,5; timeint=linear
in=I0; freq=0; search=ANAL,CLIM; interp=linear; levels= 1,2; timeint=linear
in=VF; freq=0; search=GEOP; interp=near; levels= 1,26;
in=LG; freq=0; search=ANAL,CLIM; interp=near; timeint=linear

in=HS; freq=0; search=ANAL,CLIM; interp=near; timeint=linear
in=VG; freq=0; search=GEOP; interp=near;

in=ME; freq=0; search=GEOP; interp=cubic;

in=AL; freq=0; search=GEOP,CLIM; interp=near; timeint=any; #etk=NO SNOW

in=I1; freq=0; search=ANAL; interp=near; levels= 1,2;
in=I2; freq=0; search=ANAL; interp=near;
in=I3; freq=0; search=ANAL; interp=near;
in=I4; freq=0; search=ANAL; interp=near;

in=I6; freq=0; search=ANAL; interp=near;
in=XA; freq=0; search=ANAL; interp=near;

in=J1; freq=0; search=GEOP; interp=near; levels= 1,3;
in=J2; freq=0; search=GEOP; interp=near; levels= 1,3;

in=DN; freq=0; search=ANAL; interp=near;

in=ICEL; freq=0; search=ANAL,CLIM; interp=near; timeint=linear

in=FSA; freq=0; search=GEOP; interp=linear; levels= 1,4;
in=SLA; freq=0; search=GEOP; interp=linear; levels= 1,4;

3 Code which read the physics_input_table

After the model environment is established with the following:

. s.ssmuse.dot GEM/4.5.0

one can look at the subroutine reading the physics_input_table in the following file: $modelutils/src/utils/incfg.cdk90