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)
Metadata
Release files for easy-vic-build 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easy_vic_build-0.2.0.tar.gz | 617.6 kB | Without provenance | Details for easy_vic_build-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easy_vic_build-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for easy_vic_build-0.2.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / easy_vic_build-0.2.0.tar.gz
| Download URL | easy_vic_build-0.2.0.tar.gz |
|---|---|
| Size | 617.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8acd35f799e891019588414e159249623b69f988637988e9914f61bea00aeb1d
|
|
BLAKE2b-256 checksum How to use checksums |
503298d22dba91002e82c07c72c45b9ecc88d2a264db345d5029285b4b862f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / easy_vic_build-0.2.0-py3-none-any.whl
| Download URL | easy_vic_build-0.2.0-py3-none-any.whl |
|---|---|
| Size | 678.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab4deff1e17da19b19cef9cfaa2239dd4046e6ba35a8051ada5b5b7cb561fc84
|
|
BLAKE2b-256 checksum How to use checksums |
7a880f1d58c6fe3bda986a69a82633dd184ba572adeffeab387f0a6cf2d5e4ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for easy-vic-build 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.