G-RSM scripts


Please post questions about scripts in G-RSM system to the discussion tab of this page.



rsm script parameters (default values)


  • RUNNAME=r_000 : The name of directory where the output files are created.
  • ENDHOUR=48 : rsm script runs 48 hours of forecast from March 9th, 1990.
  • DELTAT_REG=@DELTAT_REG_WINTER@ : Winter time step is used. Unit in seconds.
  • NESTING_HOUR=6 : The nesting interval from the global file in hours.
  • SWHR_REG=1 : The shortwave radiation computation interval for regional model.
  • LWHR_REG=1 : The longwave radiation computation interval for regional model.
  • INTSFCX=24 : Grib surface files merging interval.
  • INCHOUR=6 : Forecast hour per one execution of the main forecast program rfcst.x .
  • INTPOST=3 : Interval hours for producing regional full fields in r_pgb.ftxx files.
  • INTPGB=$INTPOST : Interval hours for producing pressure level fields in r_pgb.ftxx files.
  • INTRESTART=6 : Interval hours for producing restart files.


rsim script parameters


  • RUNNAME: The name of directory where the output files are created.
  • FCST_NPES: Number of processors.
  • DELTAT_REG_$SEASON: The model time step in seconds. It should be roughly proportional to the model resolution (RDELX and RDELY). The current script automatically chooses the right DELTAT_REG based on RDELX and RDELY and season. If the model blows up [ typically spdmx values in r_fcstout.ftxx get very large ], try decreasing the time step.
  • NESTING_HOUR: The nesting interval from the global file in hours.
  • SWHR_REG: The shortwave radiation computation interval for regional model. Usually 1 hour.
  • LWHR_REG: The longwave radiation computation interval for regional model. Usually 1hour.
  • INCHOUR: Forecast hour per one execution of the main forecast program rfcst.x
  • INTSFCX: Grib surface files merging interval. It should be equal to or greater than 24 hours.
  • INTPOST: Interval hours for producing regional full fields in r_pgb.ftxx files.
  • INTPGB: Interval hours for producing pressure level fields in r_pgb.ftxx files.
  • INTRESTART: Interval hours for producing restart files.



Horizontal diffusion


This is not done in scripts but I'll write it here for now.

Horizontal diffusion coefficient of heat and moisture is difuh in rsm/src/rsml/rdeldif.f
Horizontal diffusion coefficient of momentum is difum in rsm/src/rsml/rdeldif.f




List of commonly used G-RSM scripts


rsm script
rsim script
gsm script
csim script - part I
csim script - part II



How the specification of climatology, analysis SST, Sea ice and snow work both in GSM and RSM.


1. If climatology file is specified, the model runs with climatology.
2. If analysis file is specified, the model runs with analysis. If the date on analysis file is not within 5 days, the program stop execution.
3. If no file is given, SST and Sea Ice are persisted (use the same as initial condition). Snow will be predicted from initial value. The rule is that if the model has prediction equation for that field, it will be predicted, otherwise, the initial value is persisted.
4. We now have a new option of persisting SST initial anomaly. This is accomplished by assigning initial analysis SST to SST_GRB_T0_FOR_PERSISTENCY in the run script or FNOBSST0= in the fcst.parm (rfcst.parm).