NWPconf  Version1.0
Functions
arkiana.sh File Reference

Module with functions for processing analysis fields in a continuous assimilation cycle. More...

Functions

 arkiana_archive ($1)
 Archive interpolated analysis and merge surface fields with the ones available from assimilation. More...
 
 arkiana_retrieve ($1, $2)
 Retrieve analysis from the configured sources for starting a model run. More...
 

Detailed Description

Module with functions for processing analysis fields in a continuous assimilation cycle.

This module provides functions for merging and archiving analysis fields coming from a continuous model assimilation cycle and interpolated from a parent model. It requires definition of the following environmental variables (explanation to be added):

Function Documentation

arkiana_archive (   $1)

Archive interpolated analysis and merge surface fields with the ones available from assimilation.

This function has to be called when the analysis for the current time ($DATE$TIME) from a previous assimilation cycle, if available, has been archived, and after the analysis for the current time has been interpolated from a parent model and is available as a plain file. It performs the following operations:

  • it selects, from the interpolated analysis file, only those fields that should come from parent model as selected by the variable $MODEL_ARKI_FROM_PARENT and archives them for being used in the successive model run
  • it checks the availability of so-called "slow" fields in the analysis, as selected by the variable $MODEL_ARKI_FROM_ASSIM_SLOW, and, if not available for the current time but found within an interval of $MODEL_SLOW_PAST_H hours in the past, it retrieves the most recent fields available, refreshes the date in grib fields and rearchives them for successive use
  • if $MODEL_SOIL_PARENT != N, it merges parent model sea surface temperature with soil surface temperature from previous analysis, if available, and archives it, overwriting the original surface temperature from the analysis.
    Parameters
    $1the name of the file containing parent model interpolated analysis
arkiana_retrieve (   $1,
  $2 
)

Retrieve analysis from the configured sources for starting a model run.

This function retrieves the gridded analysis data for starting a model run from the configured arkimet datasets trying different sources for climatological, slow and fast data.

Parameters
$1the name of the file containing parent model interpolated analysis, if empty it is not used
$2the name of the output analysis file to be created