Coupled snowpack and ice surface energy and mass balance model in Python.
Project description
The coupled snowpack and ice surface energy and mass balance model in Python COSIPY solves the energy balance at the surface and is coupled to an adaptive vertical multi-layer subsurface module.
Documentation
The documentation for COSIPY is available at the following link: https://cosipy.readthedocs.io/en/latest/
Confused about migrating to the new .toml configuration system? The documentation contains an in-depth tutorial and a guide on upgrading.
Convert your existing configuration files before merging the latest update:
pip install toml
git fetch --all
git checkout master -- convert_config.py
python convert_config.py # generate .toml files
This works on any branch regardless of local changes. Alternatively you can copy and run convert_config.py into any older COSIPY source tree.
This will preserve your configuration for config.py, constants.py, aws2cosipyConfig.py and wrf2cosipyConfig.py. Parameters for create_static must still be added manually to the generated utilities_config.toml.
Checkout a new branch with a clean version of COSIPY and merge your modifications. This minimises the number of merge conflicts. After updating to the latest version of COSIPY, run python COSIPY.py --help to see how to specify paths to configuration files. COSIPY will default to ./config.toml, ./constants.toml, ./slurm_config.toml, ./utilities_config.toml in the current working directory.
Installation
Install GDAL: .. code-block:: console
sudo apt-get install gdal-bin libgdal-dev pip install –upgrade gdal==`gdal-config –version` pybind11 # with pip
Install COSIPY with pip (for general use): .. code-block:: console
pip install cosipymodel cosipy-setup # generate template configuration files cosipy-help # view help
Install COSIPY from source (for development): .. code-block:: console
git clone https://github.com/cryotools/cosipy.git pip install -r requirements.txt # install default environment pip install -r dev_requirements.txt # install dev environment conda install –file conda_requirements.txt # install using conda/mamba python3 COSIPY.py -h
Communication and Support
We are using the groupware slack for communication (inform about new releases, bugs, features, …) and support: https://cosipy.slack.com
About
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 cosipymodel-2.0.0.tar.gz
.
File metadata
- Download URL: cosipymodel-2.0.0.tar.gz
- Upload date:
- Size: 111.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431f669cfc326e954aa977c997b8d9c30a67b04364a90f6b385d5040dc084837 |
|
MD5 | fb149c38140805887e415d98d5793836 |
|
BLAKE2b-256 | 2c76f44581ae695c81e20fe12115647b907da1d681cd6ad46be8ed3e21da520a |
File details
Details for the file cosipymodel-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: cosipymodel-2.0.0-py3-none-any.whl
- Upload date:
- Size: 138.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d504a8803ad2f320354c5f06f80f5ed19f68c2ac0736db06c96f1b8c553a824a |
|
MD5 | b056a747c619f2030216bdb17b67de80 |
|
BLAKE2b-256 | 3d61c98e1265e9091c3653eec74fd223061085d247c625a4b9fe26f409b17257 |