Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for...

8
Changing G-RSM options

Transcript of Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for...

Page 1: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

Changing G-RSM options

Page 2: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

Files in def/model_config• debug.h: extra message dumping mainly for debugging• depend.h: option dependency / consistency setting • diag.h: for 1-point output, zonal mean, etc.• dynamics.h: options for dynamic process• function.h: dependency on machine type• gdas.h: options for GDAS • legacy.h: old options• misc.h: miscellaneous options, e.g., spectral nudging, output type,

tracers, etc.• nhm.h: options for RSM-NHM coupling• physics.h: options for physical process, e.g., cloud physics,

convection, etc.• roms/: options for RSM-ROMS coupling• roms_depend.h: option dependency for RSM-ROMS coupling• rsm_depend.h:

Page 3: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

physics.h (deep convection)/* convective parameterization */#undef KUO /* Kuo scheme */#undef SAS /* Simplified Arakawa Schubert scheme */#define RAS /* Relaxed Arakawa Schubert scheme */#undef RASC1 /* RAS with detarained cloud water */#define RASC2 /* RAS with detarained cloud water like RASV2 */#undef RASV2 /* RAS with downdraft */#undef CCMCNV /* Zhang McFarlane scheme */#undef ZM2 /* modified Zhang McFarlane scheme */#undef KF2 /* Kain Fritsch convective parameterization from WRF */#undef CCMSCV /* Hack shallow conve. scheme to be used with CCMCNV */

Page 4: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

physics.h (land)/* land scheme */#undef OSULSM2 /* OSU version 2 land scheme with USGS data */#undef HYDRO /* Residual free hydrology with osu2 */#undef OSULSM1 /* OSU version 1 land scheme */#define NOALSM1 /* NOAH land scheme */#define NOAHYDRO /* Residual free hydrology with noah */#define NOAH_JUN05 /* updated version of NOAH by Massimo */#undef VICLSM1 /* VIC single tile scheme */#undef NOBSFLW /* remove base flow from osu2 */#define CRITSNOW 269.66 /* snow threshold temperature at 850 hPa */

Page 5: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

physics.h (cloud microphysics)/* cloud water prediction */#define CLD1 /* diagnostic */#undef CLD2 /* Zhao and Carr */#undef CLDT93 /* Somerville and Iacobellis */#undef CLDWSMMPS /* Updated version of CLD3 */#undef CLD3 /* Song-You Hong prognostic qc/qi, qr/qs */#undef CLD5 /* Song-You Hong prognostic qc, qi, qr, qs */#undef CLD6 /* Song-You Hong prognostic qc, qi, qr, qs, qg */#define NEW_MPHYS /* additional option for CLD3/CLD5/CLDWSMMPS */#undef VCI /* additional option for CLD3/CLD5/CLDWSMMPS */#undef T93PR2 /* new precipitation physics for CLDT93 */

Name define in *.h Cloud water prognostic variables (#) Stratiform clouds References Efficiency

SLINGO CLD1 None (0) Diagnosed from RH Slingo (1987) 100%

ZC CLD2 qc/qi (1) Diagnosed from RH and qc/qi

Zhao and Carr (1997), Sundqvist et al. (1987), Randall (1995) 110%

IS CLDT93 qc/qi (1) Predicted Tiedtke (1993), Iacobellis and Somerville (2000) 150%

HONG3 CLD3 qc/qi, qr/qs (2) Diagnosed from RH and qc/qi

Dudhia (1989), Hong et al. (1998, 2004), Randall (1995) 240%

HONG5 CLD5 qc, qi, qr, qs (4) Diagnosed from RH and qc/qi 340%

HONG6 CLD6 qc, qi, qr, qs, qg (5) Diagnosed from RH and qc/qi 510%

Page 6: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

misc.h#define STDAMP /* Spectral tendency damping scheme for rsm */#define STDAMP3 /* area average log ps correction */#undef GSMDAMP /* Spectral nudging scheme for gsm */#define MRG_POST /* merge postprocessor into forecast code */#undef PGB_PARALLEL /* pgb parallel io and parallel computation */#define PGB_SEMIPARALLEL /* pgb parallel computation but serial io */#undef PGB_NOPARALLEL /* serial pgb */#undef SETMTNZERO /* set orography to zero over ocean */#undef NOPRINT /* suppress print out */#undef RESET_FHOUR /* reset fhour to zero at the end of the year */#undef RMPGP2F_GLB /* use global memory */#undef BASEOUT /* rsm output post processed base field */#undef ADJSOILW /* adjustment of soil moisture using obsP */#undef NFDR /* national fire danger rating system */#undef RIV1 /* river routing scheme, 1deg */#undef RIV05 /* river routing scheme, 0.5deg */#undef SPNG_WID /* wide (original) sponge zone in rsml/rltbini.F */#define SPNG_NRW /* narrow sponge zone in rsml/rltbini.F */#undef CO2PROG /* prognostic co2 */#define ZERBZDIA /* zero out precip at the boundary buffer zone */#define SMTHBZ /* smoothing in the buffer zone for cosmetics */#define LEHMANN /* Lehmann's boundary nudging coeffs */#define COMR4 true /* communication with real*4 */#undef ISOTOPE /* enable isotope prediction (RAS is needed)*/#undef NOFRAC /* vapor tracer mode (ISOTOPE is needed) */

Page 7: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

physics.h (diffusion, GHG, etc.)/* thermodynamics */#define ICE /* compute saturation on ice *//*diffusion */#define DIFFQ /* horizontal diffusion of moisture */#undef DIFUC /* horizontal diffusion of cloud water variables *//* trace gasses */#define O3C /* o3 climatology */#undef CO2PPM /* default co2 concentration of 348 ppm */#undef CH4PPM /* default ch4 concentration of 1.75 ppm */#undef N2OPPM /* default n2o concentration of 0.28 ppm *//* miscellaneous */#undef R2 /* simulate Reanalysis-2 physics *//* below are untested options */#undef KIMGWD /* Arakawa Kim gravity wave drag *//* roms ocean model vertical number of levels */#define ROMS_LEVS 30/* ocean model bathimetry file */#define BATH_FILE topo_R2.nc /* low resolution bathimetry */

Page 8: Changing G-RSM options. Files in def/model_config debug.h: extra message dumping mainly for debugging depend.h: option dependency / consistency setting.

Changing model options

• Change .h file(s) in def/model_config directory.• Execute followings:

• Exercise: choose different cloud microphysics option in physics.h, and re-compile the model.

• Please understand there might be error during compilation / execution. In this case, please let the developers know.

$ cd rsm$ ./configure-model$ make clean$ make