Hydrodata downloads climate data for a USGS station as well as land use, land cover data for the corresponding watershed.
Project description
Hydrodata downloads climate data for USGS stations as well as land use, land cover data for the corresponding watershed.
Free software: MIT license
Documentation: https://hydrodata.readthedocs.io.
Features
Installation
To install Hydrodata, run this command in your terminal:
$ pip install hydrodata
Alternatively, it can be installed from source by first using create_env.sh script to generate two environments using Miniconda framework; one for installing hydrodata and its dependencies and one for running the nhdplus.R script (for downloading a watershed geometry based on station ID or coordinates). Before running the script modify it based on the installation folder of Miniconda or Anaconda. Miniconda can be installed on Linux systems as follows:
$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ chmod +x Miniconda3-latest-Linux-x86_64.sh
$ bash ./Miniconda3-latest-Linux-x86_64.sh -b -p ${APP_DIR}/miniconda
$ rm -f Miniconda3-latest-Linux-x86_64.sh
where ${APP_DIR} is the installation folder.
$ git clone https://github.com/cheginit/hydrodata.git
$ cd hydrodata
$ ./create_env.sh
$ conda activate hydrodata
$ python setup.py install
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2020-02-09)
Simplified import method
Changed usage from rst format to ipynb
Autoo-formatting with the black python package
0.1.6 (2020-02-04)
Change docstring format based on Sphinx
Fixed pytest warnings and changed its working directory
0.1.5 (2020-02-02)
Added an example notebook with datafiles
Added docstring for all the functions
Added Module section to the documentation
Fixed py7zr issue
Changed 7z extractor from pyunpack to py7zr
Fixed some linting issues.
0.1.0 (2020-01-31)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hydrodata-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f655467abc45a5dedeb8105d07a4163a603fe266985e8b68585aecc9591136 |
|
MD5 | 73fbdb78f0de67c2f320e2f8f0ed2148 |
|
BLAKE2b-256 | c4039cd9496fa7ec81e76a4521bb82d7a581d361214eb21c0aab4a1c593227b3 |