/eoas-pyutils

A set of utilities for EOAS including IO, Visualization, Preprocessing, Metrics, etc.

Primary LanguageJupyter NotebookMIT LicenseMIT

eoas-pyutils

A set of utilities for EOAS including IO, Visualization, Preprocessing, Metrics, etc.

Install

If you need to install the dependencies you can use the provided eoas.yml file.

To create a new environment with the proper dependencies you can do:

   conda env create -f eoas.yml
   conda activate eoas

Usage

The idea of this repo is to use it as a submodule. To include it in your project you need to:

  1. Add it as a submodule together with hycom-utils
git submodule add git@github.com:olmozavala/eoas-pyutils.git eoas_pyutils
  1. Recursively download all the files
git submodule update --init --recursive
  1. Include the proper paths in your python files
import sys
sys.path.append("eoas_pyutils/")
sys.path.append("eoas_pyutils/hycom_utils/python")
  1. Depending on the IDE you are using you also need to include the eoas_pyutils and the eoas_pyutils/hycom_utils/python folder as source folders.