New prepobs scripts folder: preobs_bgc
is added for integrating CMEMS data loader and prepobs. Main scripts are:
cmems_loader.py # CMEMS data loader
prep_obs.sh # for executing prep_obs
plot_prepobs.py # for visual check of obs_[SST|ICEC|SCHL]_[YYYYMMDD].nc
For the usage, see the following sample scripts under preobs_bgc
:
prep_OSISAF_ICEC_[TP5|TP2].sh # OSISAF sea ice concentration preprocessor for [TP5|TP2] grid
prep_OSTIA_SST_[TP5|TP2].sh # OSTIA sea surface temperature preprocessor for [TP5|TP2] grid
prep_CMEMS_SCHL_[TP5|TP2].sh # CMEMS (GlobColour) sea surface preprocessor for [TP5|TP2] grid
prep_ESACCI_SCHL_[TP5|TP2].sh # ESACCI sea surface chlorophyll preprocessor for [TP5|TP2] grid
For the usage of cmems_loader.py
, type:
python cmems_loader.py
- Before running
prep_obs.sh
, make sure that- executable
Prep_Routines/prep_obs
of the updated EnKF package link is compiled and its location is set inPATH
settings inprep_obs.sh
- proper hycom configuration files:
regional.grid.(a,b)
,regional.depth.(a,b)
,grid.info
andblkdat.input
are copied toCONFIG/[TP5|TP2]
folder.
- executable
- To use
cmems_loader.py
, you need to copyconfig_user_template.yaml
toconfig_user.yaml
and edit CMEMS user information. - To add new dataset to CMEMS data loader, register dataset information to
config_loader.yaml
following existing cases. ESACCI_SCHL
is accessing pre-downloaded ESA OC-CCI v6.0 files due to lack of uncertainty information in CMEMS product.SCHL
data is aggregated to a target date over 7 days window with ±3 days range centered at the target date as default settings. To change the settings, editcmems_loader.py
.subset
domain is set to [-180E,180E] and [40N,90N] as default settings. To change the settings, editcmems_loader.py
.- prepobs-preprocessed observation file is saved in
obs_[SST|ICEC|SCHL]_[YYYYMMDD].nc
file name format underDATA/[TP5|TP2]/[SST|ICEC|SCHL]
folder instead of inobs_[SST|ICEC|SCHL]_[JDate].nc
format underDATA/[SST|ICEC|SCHL]
folder, whereYYYYMMDD
is Gregorian date andJDate
is hycom Julian date counted from1950 0 0
. plot_prepobs.py
usesbasemap
for map projection with Python3. You can addbasemap
withpip
on Betsy.cmems_loader.py
usescdo
for netcdf files aggregation and averaging. You can addcdo
withmodule load
on Betsy.
- integrate BGC data aggregator prepobs_bgc for BGC in-situ and BGC Argo data.
- register CMEMS CORE Argo temperature and salinity profiles files to CMEMS data loader.
- replace
subset
settings hard coded incmems_loader.py
by external yaml fileconfig_subset.yaml
. - replace
aggregation
settings hard coded incmems_loader.py
by external yaml fileconfig_aggregation.yaml
.