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.
- v0.5: support loading more series and catchment attributes.
- v0.4: load minimal series for typical rainfall-runoff modelling
BSD-3 (see License)
The code repository is on GitHub.
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 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 .
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