Python package to easily access the CAMELS-AUS dataset
Project description
CAMELS-AUS from python
This is currently a preview. You can contribute to features and design
Python package to easily load and use the CAMELS-AUS dataset (Fowler, K. J. A. et al. 2020 (in review))
CAMELS-AUS is the Australian edition of the Catchment Attributes and Meteorology for Large-sample Studies.
Release notes
- v0.5: support loading more series and catchment attributes.
- v0.4: load minimal series for typical rainfall-runoff modelling
License
BSD-3 (see License)
Source code
The code repository is on GitHub.
Installation
Linux
Using a conda environment is recommended. To create a new environment:
cd ${HOME}/tmp
wget https://raw.githubusercontent.com/csiro-hydroinformatics/camels-aus-py/main/configs/camels_aus_environment.yml
my_env_name=camels
conda env create -n $my_env_name -f ./camels_aus_environment.yml
conda activate $my_env_name
Then:
pip install camels_aus
If installing from source, after checking out this git repo:
pip install -r requirements.txt # if not using conda
python setup.py install
Developers:
python setup.py develop
optional: setting jupyter-lab
optional but recommended: use mamba as a replacement for conda: conda install -c conda-forge --name ${my_env_name} mamba
mamba install -c conda-forge jupyterlab ipywidgets jupyter ipyleaflet
python -m ipykernel install --user --name ${my_env_name} --display-name "CAMELS"
jupyter-lab .
Troubleshooting
Notebooks
Normally jupyter-lab version 3.0 and more does not require explicit extensions installation, but if you have issues:
if: "Loading widgets..."
jupyter-labextension install @jupyter-widgets/jupyterlab-manager
if: "Error displaying widget: model not found"
jupyter-labextension install @jupyter-widgets/jupyterlab-manager
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
File details
Details for the file camels_aus-0.5.zip
.
File metadata
- Download URL: camels_aus-0.5.zip
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d3c0c27163fd836c93c5a9a5db919fa9b79f6fa98a0d9619f18be9d8f9791e |
|
MD5 | 34b2531f6a9e3b1c37db2db0d8575841 |
|
BLAKE2b-256 | b798aaec2390c1c4280d20194ad9277cc76b2f48e36073b37deec3e8cd11aa6a |
File details
Details for the file camels_aus-0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: camels_aus-0.5-py2.py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2659695e97cc69ccf065cb9205291f6fecd37cfc50eba7880b5e83e136c44916 |
|
MD5 | 5e3a896e4e5f9dd8c7a43eaa52de3cd6 |
|
BLAKE2b-256 | 3462b85aa4bb379114d934c7df204cf4e6ea83e7a4a0999edf02a6b68fcd7582 |