NWPconf
Version1.0
|
Module with functions for retrieving observations and initial/boundary conditions from MARS archive. More...
Functions | |
getmars_icbc () | |
Retrieve gridded initial and/or boundary conditions from MARS archive. More... | |
Module with functions for retrieving observations and initial/boundary conditions from MARS archive.
This module provides functions for retrieving observations in BUFR format and initial/boundary conditions, tipically in GRIB format, from the desired dataset of a MARS archive.
It is an optional module and it has to be sourced after the nwptime.sh module.
getmars_icbc | ( | ) |
Retrieve gridded initial and/or boundary conditions from MARS archive.
This function retrieves gridded fields, tipically in GRIB format, to be used as initial and/or boundary conditions, possibly through an interpolation process, from the ECMWF MARS archive for the model run interval specified in the configuration. The basic keywords of the MARS query are specified in the configuration variable $MODEL_MARS_BASE
, while the more specific keywords, such as list of variables, levels, timerange and reference time are automatically added to the basic query by the function. A specific model system module must have been loaded in order to provide the function inputmodel_name() for renaming the files. It should be called after having loaded the module nwptime.sh for setting up the time-related environment variables and within a time loop on input models, such as:
nwpbctimeloop_init while nwpbctimeloop_loop; do getmars_icbc done