Skip to content

Compute Tide Time Series at the selected locations using pyTMD.

License

Notifications You must be signed in to change notification settings

eciraci/tides-ts-pyTMD

Repository files navigation

Compute Tide Time Series with pyTMD

Language License

This repository contains small collection of scripts that can be used to Compute Tide Time Series by employing the python pyTMD module.

Other Resources:

Installation:

  1. Setup minimal conda installation using Miniconda

  2. Create Python Virtual Environment

    • Creating an environment with commands (Link);
    • Creating an environment from an environment.yml file (Link);
  3. Install Python Dependencies

    conda install -y pip numpy matplotlib cartopy pandas geopandas jupyter netcdf4 xarray
    conda install -c conda-forge pytmd

    or run ./install_dependencies.sh

  4. Test Python Dependencies Installation

    python test_requirements_installation.py

Execution:

  1. compute_pt_tide_time_series.py

    Compute Tide Time Series at a selected geographic location

    python compute_pt_tide_time_series.py ./parameters.yml -68.72 -5.32
  2. compute_shp_tide_time_series.py

    Compute Hourly Tide Time Series at the selected locations listed inside a ESRI shapefile

    python compute_shp_tide_time_series.py ./parameters.yml
  3. parameters.yaml - Parameters File Content.

model: Model - [CATS2008, FES2014, AOTIM5]
path: Absolute Path to Model's data directory
shp: ./data/Antarctic_GZ_tide/Antarctic_GZ_tide.shp
out_path: Absolute Path to Output directory
out_format: ascii/txt/netcdf
date1: Initial Date MM/DD/YYYY
date2: Final Date MM/DD/YYYY
nproc: Number of Maximum simultaneous processes - integer

PYTHON DEPENDENCIES:

License

The content of this project is licensed under the Creative Commons Attribution 4.0 Attribution license and the source code is licensed under the MIT license.

About

Compute Tide Time Series at the selected locations using pyTMD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published