NWPconf  Version1.0
Functions
getarki.sh File Reference

Module with functions for retrieving observations and initial/boundary conditions from arkimet archive. More...

Functions

 getarki_obsbufr ($1, $2)
 Retrieve observations in BUFR format from arkimet archive. More...
 
 getarki_icbc ()
 Retrieve gridded initial and/or boundary conditions from arkimet archive. More...
 

Detailed Description

Module with functions for retrieving observations and initial/boundary conditions from arkimet archive.

This module provides functions for retrieving observations in BUFR format and initial/boundary conditions, tipically in GRIB format, from the desired dataset of an Arkimet archive.

It is an optional module and it has to be sourced after the nwptime.sh module.

Function Documentation

getarki_obsbufr (   $1,
  $2 
)

Retrieve observations in BUFR format from arkimet archive.

This function retrieves observations in BUFR format from the arkimet dataset(s) specified in the configuration variable $BUFR_ARKI_DS, for the data assimilation interval specified in the configuration. It should be called after having loaded the module nwptime.sh for setting up the time-related environment variables. The interval of data retrieved is extended by a configurable amount of hours (default 3), before and after the strict assimilation interval.

Parameters
$1name of the output bufr file
$2optional value of extra time interval in hours before and after assimilation, default 3
getarki_icbc ( )

Retrieve gridded initial and/or boundary conditions from arkimet 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 arkimet dataset(s) specified in the configuration variable $PARENTMODEL_ARKI_DS, for the model run interval specified in the configuration. 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
    getarki_icbc
done

Additional query keys for the arki-query can be specified by means of the variable $MODEL_ARKI_PARAM, terminated by ;, e.g. MODEL_ARKI_PARAM="proddef:GRIB:nn=$ENS_MEMB;" for selecting a specific ensemble member as input.