Skip to content

Repository files navigation

Introduction

Port of the loadprogs_base.ksh (the one that was using MATLAB before) to the Python implementation.

using the T_tide port to Python from here: https://github.com/moflaher/ttide_py.git

Usage

To load the scripts and modules into your environment:

. r.load.dot ~sssm001/ssm/loadprogs/2.1.8

If you do not have your own python environment, the following could be used:

. r.load.dot /fs/ssm/eccc/cmd/cmds/env/python/py39_2022.09.29_all

To read model outputs from standard RPN files, rpnpy is used:

. r.load.dot eccc/mrd/rpn/libs/19.6.0 eccc/mrd/rpn/MIG/ENV/x/rpnpy/2.1-u1.rc11

Testing

Submit a test experiment on Science:

ord_soumet ./scripts/submit_experiment.sh -mach ppp8 -args "=-config configs/test-resps.cfg"

Finding representative points

  • for Meteo-France points from GDSPS, without specifying --obs-dir:
python src/loadprogs/tools/find_repr_gridpts.py --obs-index-in ~olh001/Python/obs_to_grid_mapping/rdsps/rdsps_1_30_meteofrance.obs  \
                                                        --obs-index-out ~olh001/Python/obs_to_grid_mapping/gdsps/gdsps_MF_opt_v001.obs \
                                                        --nnearest 1 \
                                                        --mod-files /home/olh001/data/ppp4/gdsps_data/pengcheng/eORCA12_pre/bathy_v4_GoSBoF56.nc \
                                                        --mod-bathy-vname Bathymetry \
                                                        --bathy-min-m 0

Notes

  1. Version 2.0.0 is using different format of the configuration files. Each file has 3 sections: mod, obs and misc. If you want to use the old format of the configuration files, please, use version 1.0.0 of the code (does not have CanHys support).

  2. Now can ingest CanHys observations feed.

  3. The python version of the loadprogs works directly with the storm surge model outputs and not txt as is done in the MATLAB version at the moment.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages