NWPconf
Version1.0
|
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... | |
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):
$MODEL_ARKI_FROM_PARENT
$MODEL_N_PARENT
$MODEL_SOIL_PARENT
$MODEL_ARKI_FROM_ASSIM_SLOW
$MODEL_N_ASSIM_SLOW
$MODEL_ARKI_FROM_ASSIM_FAST
$MODEL_N_ASSIM_FAST
$MODEL_ARKI_TIMERANGE_ASSIM
$MODEL_ARKI_TIMERANGE_FCAST
$ARKI_DS_ASSIM
$ARKI_DS_FCAST
$ARKI_DS_INTER
$MODEL_ASSIM_GP
$MODEL_FCAST_GP
(no?)$MODEL_INTER_GP
(no?)$MODEL_ARKI_SURFT
$MODEL_ARKI_LSM
$MODEL_ARKI_BBC
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:
$MODEL_ARKI_FROM_PARENT
and archives them for being used in the successive model run$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$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. $1 | the 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.
$1 | the name of the file containing parent model interpolated analysis, if empty it is not used |
$2 | the name of the output analysis file to be created |