Skip to main content

hydroframe tools and utilities

Project description

hf_hydrodata

Tools and utility to access data in the hydrodata hydrology file share.

Installation

You can install the python package with the API to access files using pip with::


    pip install git+https://github.com/hydroframe/hf_hydrodata.git

Usage

from hf_hydrodata.data_access import get_numpy_data

filters = ["dataset":"NLDAS2", "variable":"precipitation", period="daily", "start_time": "2005-03-01", "file_type": "pfb"]
data = get_numpy_data(filters)
print(data.shape)

# Get the metadata about the returned data
emtry = get_data_catalog_entry(filters)
print(entry)

Build Instructions

To build the component you must have a python virtual environment containing the required components. Install the required components with:

pip install -r requirements.txt

Edit the python components in src/hf_hydrodata and the unit tests in tests/hf_hydrodata and the data catalog model CSV files in src/hf_hydrodata/model. Use Excel to edit the CSV files so that files are saved in standard CSV format.

Generate the documentation with:

cd build_docs
bash build.sh

This will validate the model CSV files and generate the read-the-docs html into deploy_docs folder. After committing to the main branch the CI/CD job will copy the deploy_docs folder to the public website for the documentation.

License

hydroframe was created by William M. Hasling, Laura Cosondon, Reed Maxwell, George Artavanis, Will Lytle, Amy M. Johnson, Amy C. Defnet. It is licensed under the terms of the MIT license.

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

hf_hydrodata-0.9.27.tar.gz (60.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hf_hydrodata-0.9.27-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

Details for the file hf_hydrodata-0.9.27.tar.gz.

File metadata

  • Download URL: hf_hydrodata-0.9.27.tar.gz
  • Upload date:
  • Size: 60.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for hf_hydrodata-0.9.27.tar.gz
Algorithm Hash digest
SHA256 7f249bb24229ee02f95ac7f8a61dca62173deb3282494d77a43bbd790c5dbe07
MD5 16eb0b68853759c9042afe7021295c13
BLAKE2b-256 3f61e23d5134c51bc08a8a4f6242c6b369c0fb3b59a9f8091258df145f635eed

See more details on using hashes here.

File details

Details for the file hf_hydrodata-0.9.27-py3-none-any.whl.

File metadata

  • Download URL: hf_hydrodata-0.9.27-py3-none-any.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for hf_hydrodata-0.9.27-py3-none-any.whl
Algorithm Hash digest
SHA256 09ed1594a490230c4d329352065d14a03fbcbdf6f8c383152512c3914e564027
MD5 108dcad9fa22680b5ec3dfce0447094e
BLAKE2b-256 a5b263863625c1987b657fa6e7d36a577b8ae4bc4f1b50b553d6d3484d4fa14c

See more details on using hashes here.

Supported by

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