Skip to main content

datasets, samplers, transforms, and pre-trained models for hydrology and water resources

Project description

torchhydro

image image

datasets, samplers, transforms, and pre-trained models for hydrology and water resources

NOTE: THIS REPOSITORY IS STILL UNDER DEVELOPMENT!!!

Features

  • TODO

For developers

To install the environment, run the following code in the terminal:

conda env create -f env-dev.yml
conda activate torchhydro

To use this repository of dev or other branches in your existing environment:

  1. you can fork it to your GitHub account. Don't choose "only fork the main branch" when forking in the Github page.
  2. run the following code in the terminal:
# xxxxxx is your github account; here we choose to use dev branch
pip install git+ssh://git@github.com/xxxxxx/torchhydro.git@dev

For the dataset we set a unified data path in settings.txt in the .hydrodataset directory which is located in the user directory (for example, C:\Users\username\.hydrodataset in Windows). You can change the data path in this file.

Then we have some conventions for the dataset:

  1. Public datasets such as CAMELS is put in the waterism/datasets-origin directory.
  2. The processed datasets are put in the waterism/datasets-interim directory.

You can specify by yourself, but some changes are needed. We will optimize this part in the future.

Credits

This package is inspired by TorchGeo.

It was created with Cookiecutter and the giswqs/pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchhydro-0.0.4.tar.gz (79.7 kB view hashes)

Uploaded Source

Built Distribution

torchhydro-0.0.4-py2.py3-none-any.whl (83.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page