Skip to content

Routines including the model and assimilation cycle under TOPAZ for internal developing

Notifications You must be signed in to change notification settings

nansencenter/TOPAZ_RAN_BIORAN_v2

 
 

Repository files navigation

main update

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

notes:

  • 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 in PATH settings in prep_obs.sh
    • proper hycom configuration files: regional.grid.(a,b), regional.depth.(a,b), grid.info and blkdat.input are copied to CONFIG/[TP5|TP2] folder.
  • To use cmems_loader.py, you need to copy config_user_template.yaml to config_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, edit cmems_loader.py.
  • subset domain is set to [-180E,180E] and [40N,90N] as default settings. To change the settings, edit cmems_loader.py.
  • prepobs-preprocessed observation file is saved in obs_[SST|ICEC|SCHL]_[YYYYMMDD].nc file name format under DATA/[TP5|TP2]/[SST|ICEC|SCHL] folder instead of in obs_[SST|ICEC|SCHL]_[JDate].nc format under DATA/[SST|ICEC|SCHL] folder, where YYYYMMDD is Gregorian date and JDate is hycom Julian date counted from 1950 0 0.
  • plot_prepobs.py uses basemap for map projection with Python3. You can add basemap with pip on Betsy.
  • cmems_loader.py uses cdo for netcdf files aggregation and averaging. You can add cdo with module load on Betsy.

TODO:

  • 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 in cmems_loader.py by external yaml file config_subset.yaml.
  • replace aggregation settings hard coded in cmems_loader.py by external yaml file config_aggregation.yaml.

About

Routines including the model and assimilation cycle under TOPAZ for internal developing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 43.2%
  • Fortran 43.2%
  • Python 9.1%
  • C 2.2%
  • MATLAB 0.7%
  • Makefile 0.6%
  • Other 1.0%