https://github.com/simonpf/camels
Python interface to the CAMELS dataset.
https://github.com/simonpf/camels
Last synced: 2 months ago
JSON representation
Python interface to the CAMELS dataset.
- Host: GitHub
- URL: https://github.com/simonpf/camels
- Owner: simonpf
- License: other
- Created: 2020-05-02T15:21:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T22:43:40.000Z (over 4 years ago)
- Last Synced: 2025-12-18T03:16:27.486Z (6 months ago)
- Language: Python
- Size: 347 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
 [](https://ci.appveyor.com/project/simonpf/camels)
# The CAMELS dataset
This package provides an interface to the Catchment Attributes and Meteorology
for Large-sample Studies (CAMELS) dataset. This package only provides simplified
access to the data in Python, the actual work of generating the dataset has been
done by Andrew Newman and colleagues at NCAR and is described in the following
article:
[A. Newman; K. Sampson; M. P. Clark; A. Bock; R. J. Viger; D. Blodgett, 2014. A
large-sample watershed-scale hydrometeorological dataset for the contiguous USA.
Boulder, CO: UCAR/NCAR](https://dx.doi.org/10.5065/D6MW2F4D)
## Usage
### Pytorch
```
from camels.pytorch import Streamflow
gauge_id = 13331500
training_data = Streamflow(gauge_id, "training")
validation_data = Streamflow(gauge_id, "validation")
test_data = Streamflow(gauge_id, "testing")
```
