Skip to main content

An open-source Python package for VIC model deployment.

Project description

easy_vic_buildeasy_vic_build Logo

This is an open-source Python package for deploying the VIC model.
EVB_Architecture

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:

  1. Build DPC (build_dpc)
  2. Build Domain (build_Domain)
  3. Build Parameters (build_Param)
  4. Perform Hydroanalysis (build_hydroanalysis)
  5. Build Meteorological Forcing (build_MeteForcing) or (build_MeteForcing_nco)
  6. Build RVIC Parameters (build_RVIC_Param)
  7. Build Global Parameters (build_GlobalParam)
  8. 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

📖 Read the documentation hereDocumentation Status

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

Notes

  1. 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 the rvic.convolution.cfg configuration file.
      Additionally, ensure that the VIC output timestep (daily or hourly) matches the UHBOX timestep (86400 seconds for daily, 3600 seconds for hourly).

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_vic_build-0.2.0.tar.gz (617.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easy_vic_build-0.2.0-py3-none-any.whl (678.8 kB view details)

Uploaded Python 3

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

Hashes for easy_vic_build-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8acd35f799e891019588414e159249623b69f988637988e9914f61bea00aeb1d
MD5 5a36861d97935efa5580c392d2493108
BLAKE2b-256 503298d22dba91002e82c07c72c45b9ecc88d2a264db345d5029285b4b862f13

See more details on using hashes here.

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

Hashes for easy_vic_build-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4deff1e17da19b19cef9cfaa2239dd4046e6ba35a8051ada5b5b7cb561fc84
MD5 ebbc12f076f0f60fb838b1d9262340ef
BLAKE2b-256 7a880f1d58c6fe3bda986a69a82633dd184ba572adeffeab387f0a6cf2d5e4ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page