An open-source Python package for VIC model deployment.
Project description
easy_vic_build
This is an open-source Python package for deploying the VIC model.
Installation
To install the package, run one of the following commands:
-
Basic installation:
pip install easy_vic_build
-
For additional dependencies, choose one of the following options:
pip install easy_vic_build[nco] pip install easy_vic_build[rvic] pip install easy_vic_build[nco_rvic]
Alternatively, you can install from a .whl file:
-
Basic installation:
pip install .whl
-
For additional dependencies:
pip install .whl[nco] pip install .whl[rvic] pip install .whl[nco_rvic] conda install -c conda-forge gdal
Choose the appropriate installation based on your environment requirements.
For development purposes, you can install the package directly from the repository:
git clone https://github.com/XudongZhengSteven/easy_vic_build
cd easy_vic_build
pip install -e .
Usage
After installation, you can use the package in the following sequence:
- Build DPC (
build_dpc) - Build Domain (
build_Domain) - Build Parameters (
build_Param) - Perform Hydroanalysis (
build_hydroanalysis) - Build Meteorological Forcing (
build_MeteForcing) or (build_MeteForcing_nco) - Build RVIC Parameters (
build_RVIC_Param) - Build Global Parameters (
build_GlobalParam) - Calibrate the Model (
calibrate)
Other
Plot Basin Map (plot_Basin_map)
(Note: You must first run hydroanalysis_for_basin)
Plot VIC Results (plot_VIC_result)
Features
- Easily deploy the VIC model with multiple configuration options.
- Integrated support for different meteorological forcing formats.
- Support for hydrological analysis and visualization of results.
Documentation
Contributing
If you wish to contribute to this project, feel free to fork the repository and submit pull requests. Please ensure that you follow the project's coding guidelines and add relevant tests for new features.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contact
- Author: Xudong Zheng
- Email: zhengxd@sehemodel.club
- GitHub: @XudongZhengSteven
Notes
-
RVIC Compilation Note
Please note that RVIC should not be compiled with VIC if you wish to use parallel processing (e.g.,mpiexec).There are two types of compilation:
- Compile VIC with RVIC:
You can run VIC with RVIC and set different timesteps. - Compile VIC without RVIC:
You can run VIC in parallel, but you will need to run RVIC separately (rvic.convolution.convolution).
Make sure to prepare thervic.convolution.cfgconfiguration file.
Additionally, ensure that the VIC output timestep (daily or hourly) matches the UHBOX timestep (86400 seconds for daily, 3600 seconds for hourly).
- Compile VIC with RVIC:
Citation
If you use this package in your research, please cite it as follows:
Zheng, X., Liu, D., Tang, Q., Li, Q., & Wang, H. (under review). An open-source Python framework for the scalable deployment and advanced applications of the Variable Infiltration Capacity (VIC) model. *Environmental Modelling & Software*.
Retrieved from https://github.com/XudongZhengSteven/easy_vic_build
TODO
distributed save: dpc (each component saved, a copuler can be used for combined these components into a dpc)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easy_vic_build-0.2.0.tar.gz.
File metadata
- Download URL: easy_vic_build-0.2.0.tar.gz
- Upload date:
- Size: 617.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8acd35f799e891019588414e159249623b69f988637988e9914f61bea00aeb1d
|
|
| MD5 |
5a36861d97935efa5580c392d2493108
|
|
| BLAKE2b-256 |
503298d22dba91002e82c07c72c45b9ecc88d2a264db345d5029285b4b862f13
|
File details
Details for the file easy_vic_build-0.2.0-py3-none-any.whl.
File metadata
- Download URL: easy_vic_build-0.2.0-py3-none-any.whl
- Upload date:
- Size: 678.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab4deff1e17da19b19cef9cfaa2239dd4046e6ba35a8051ada5b5b7cb561fc84
|
|
| MD5 |
ebbc12f076f0f60fb838b1d9262340ef
|
|
| BLAKE2b-256 |
7a880f1d58c6fe3bda986a69a82633dd184ba572adeffeab387f0a6cf2d5e4ca
|