This repo is for development of VIC 5 parameters. This python-based process is designed to be both domain and resolution agnostic, meaning the process can be applied to any resolution or domain globally.
Steps to derive parameters:
- Create NetCDF domain file that is CF-compliant for desired model domain. For reference, see domain file in this folder titled:
domain.lnd.wr50a_ar9v4.100920.nc
- Obtain required input data. See
inputdata_readme.md
for a full description of required input data. Note that you may also adapt certain parts of the derivation process to use other base datasets if you so choose. - Regrid required data inputs to desired resolution after setting up regridding config file (
~/regridding/regridding.cfg
), including corresponding scripts for regridding. Some base datasets will need to be converted from GeoTiffs to NetCDFs before usage, and scripts to regrid those files (the WorldClim and SoilsGrid data) are located in the home directory of this repo. Other regridding scripts are located in~/regridding
:- ISRIC Soil Data:
regrid_isric_soildata.py
- PFTs (vegetation types):
regrid_pfts.py
- Vegetation height:
regrid_veg_height.py
- LAI:
regrid_lai.py
- Precipitation and temperature:
regrid_worldclim.py
- GTOPO elevation:
regrid_gtopo.py
- Koppen-Geiger hydroclimate class:
regrid_koppengeiger.py
- Brown permafrost data:
regrid_brown_permafrost.py
- GMT file:
regrid_off_gmt.py
- ISRIC Soil Data:
- Make hydroclimate classes using Koppen-Geiger and Brown permafrost data
- run
~/regridding/make_hydroclimate_classes.py
- adjust paths as necessary in
~/regridding/regridding.cfg
- run
- Make parameter file by running
~/initial_parameters.ipynb
(Jupyter notebook)
Note: this derivation process assumes that you have all of the requisite python packages installed. If you have trouble doing that, I recommend you create a virtual environment. For reference, I have included a .yml file with the requisite python packages that you may use for your python virtual environment.
If you have issues with any step of the process, please feel free to contact me at: [email protected].