The scripts in this directory are used to download and process forcings for the EC-Earth OSM (Offline Surface Model).

These scripts were provided by Emanuel Dutra and modified by Etienne Tourigny and others

Scripts to download ECMWF Reanalysis raw forcings from mars :

 - extract_forcing.ksh      Job to retrieve archived near-surface meteorological forcing
 - main_extract.ksh         script to launch driver_extract.ksh
 - driver_extract.ksh       script calling extract_forcing.ksh
 - rescale_erai_gpcp_mm.ksh bias correction of erai using gpcp and latter cmap (requires gen_gg_grid_descr.py to generate the gaussian grid description for cdo)
 - gen_gg_grid_descr.py     used by rescale_erai_gpcp_mm.ksh

Scripts to format the raw forcings for the OSM :

 - generate_forcing.sh      script to generate the forcing for the OSM
 - generate_forcing_job.sh  script to generate submission script
 - create_forcing.py        used by generate_forcing.sh
 - fix_forcing_relative_humidity.py Script to limit specific humidity to 1-99% relative humidity (currently unused?)

Scripts used by the ece-lsm.sh runscript in EC-Earth v3.3 :
- convNc2Grb.py             Script to convert netcdf to grib
- init_clim.py              create surfclim.nc/surfinit.nc
- pyfunc.py                 generic functions to handle gaussian reduced gribs
- test_2D.ksh               Script to test the surface only model in a 2D global configuration (defunct, replaced by the ece-lsm.sh script)

Scripts to download the raw forcings from ECFS to a local HPC :

 - get-osm-forcings.sh      script to download raw forcings from ECFS
 - check-osm-forcings.sh    script to check that files downloaded from ECFS with get-osm-forcings.sh are present (since ecaccess is unreliable)




