High-level module to handle reading/writing of observations that
can be stored in one of several different formats. Currently, the
only supported formats are:
Returns the observations file name assigned to the calling processor.
If the input family has more than one file, the first file found will
be returned.
Arguments
Arguments
obsfam [character ,in] :: observation family name
:found_opt: logical indicating if a file could be found for the family (optional)
Options
filefound_opt [logical ,out,]
Return
filename [character ] :: file name of associated observations file
Retrieves information for observations from observation files and returns the data
in a struct_oss_obsdata object. Data will be retrieved for all nodes that have valid
filenames for the specied observational family and combined into one struct_oss_obsdata
if the observational files are split.
Arguments
Arguments
obsfam [character ,in] :: observation family name
stnid [character ,in] :: station ID of observation
varno [integer ,in] :: BUFR code (if <=0, to search through all codes to obtain first
between 10000 and 16000)
nlev [integer ,in] :: number of levels in the observation
ndim [integer ,in] ::
number of dimensions for the retrieved data in
each report (e.g. ndim=1 for std, ndim=2 for
averaging kernel matrices)
numColumns_opt
Number of columns (if different from nlev and for ndim=2)
Options
bkstp_opt [integer ,in,] :: bkstp number of requested block if BURP file type (optional)
block_opt [character ,in,] :: block type of requested block if BURP file type (optional)
Valid values are ‘DATA’, ‘INFO’, ‘3-D’, and ‘MRQR’, indicated
by the two rightmost bits of bknat.
match_nlev_opt [logical ,in,] :: determines if the report matching criteria includes checking
if the report number of levels is the same as the input
argument nlev (optional)
codtyp_opt (*) [integer ,in,] :: optional CODTYP list for search (optional)
numcolumns_opt [integer ,in,] :: Number of columns (if different from nlev and for ndim=2)
Add or modify data in observational files from data stored
in a struct_oss_obsdata object.
Arguments
Arguments
obsdata [struct_oss_obsdata ,inout] :: Input struct_oss_obsdata object for varno.
obsfam [character ,in] :: observation family name
varno (*) [integer ,in] :: BUFR descriptors. Number of elements must be
max(1,obsdata%dim2)
Options
bkstp_opt [integer ,in,] :: bkstp number of requested block if BURP file type (optional)
block_opt [character ,in,] :: block type of requested block if BURP file type (optional)
Valid values are ‘DATA’, ‘INFO’, ‘3-D’, and ‘MRQR’, indicated
by the two rightmost bits of bknat.
multi_opt [character ,in,] :: Indicates if intended report are for ‘UNI’ or ‘MULTI’ level data (optional)
Return
nrep_modified [integer ] :: Number of modified reports