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.1.0.tar.gz (607.2 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.1.0-py3-none-any.whl (666.4 kB view details)

Uploaded Python 3

File details

Details for the file easy_vic_build-0.1.0.tar.gz.

File metadata

  • Download URL: easy_vic_build-0.1.0.tar.gz
  • Upload date:
  • Size: 607.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 986cbd240a2c1c1cb6f9bca56afe32114811429f2f30b14afb34e4e37d0e9c3c
MD5 9997a212a7d85868dabd48f0a5202fc5
BLAKE2b-256 db44a54f7ebf0ff5603e17795bceb3851ac2316de750e6de3e5013f2b5c662a0

See more details on using hashes here.

File details

Details for the file easy_vic_build-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: easy_vic_build-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 666.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59eb7712932ffdca2fcd3726aa8f9685064af63e3aa5b03febf9e840303248df
MD5 ce27591374d0744ebccd3b8537831f61
BLAKE2b-256 62da84f632c2f0587c3ec2f80bd1fd3458a569269fdb21d791cd3de9e1e967ae

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