|
1 | | -VICpy |
| 1 | +TONIC |
2 | 2 | ===== |
3 | 3 |
|
4 | | -A pre/post processing toolbox for the [VIC model](https://github.com/UW-Hydro/VIC) |
| 4 | +`tonic` is a toolkit for working with distributed hydrologic models and their output. |
5 | 5 |
|
6 | | -Truely a work in progress... |
| 6 | +This is truely a work in progress... |
7 | 7 |
|
8 | | -This is a library of python scripts to go along with the pre/post |
9 | | -processing of VIC model forcings/parameters/outputs. |
| 8 | +## Models: |
| 9 | +1. [the Vairable Infiltration Capacity (VIC) model](https://github.com/UW-Hydro/VIC) |
| 10 | +1. [the Community Land Model (CLM)](http://www.cgd.ucar.edu/tss/clm/) |
| 11 | +1. [the Unified Land Model (ULM)](https://github.com/UW-Hydro/ULM) |
| 12 | +1. [the Precipitation Runoff Modeling System (PRMS)](http://wwwbrr.cr.usgs.gov/projects/SW_MoWS/PRMS.html) |
| 13 | +1. [the Noah Land Surface Model](http://www.ral.ucar.edu/research/land/technology/lsm.php) |
| 14 | +1. [the Structure for Unifying Multiple Modeling Alternatives (SUMMA)](http://www.ral.ucar.edu/projects/summa/) |
10 | 15 |
|
11 | | -Right now this is just a collection of a few scripts but as the toolbox grows, |
12 | | -a more formal structure may be put together. |
| 16 | +## Scripts: |
| 17 | +`tonic` currently has 1 script available for use on the command line. |
13 | 18 |
|
14 | | -Most of the tools contained here are run from the command line and use a combination of command line arguments and configuration files. For tool specific usage try raising the help flag, -h (e.g. vic2netcdf.py -h). |
| 19 | +**vic_utils**: is a utility script that runs a number of VIC related processing tools. Once `tonic` is installed, `vic_utils` will be available in your path. Run `vic_utils -h` for a description of the utilities available. |
15 | 20 |
|
16 | | ------ |
| 21 | +## Install: |
| 22 | +Dependencies: |
| 23 | +- python 3 |
| 24 | +- netCDF4 |
| 25 | +- xray |
| 26 | +- matplotlib |
| 27 | +- basemap |
| 28 | +- pandas |
17 | 29 |
|
18 | | -### vic2netcdf.py |
19 | | -This tool converts binary or ASCII VIC output to a netCDF format. Options and settings are input via configuration file (e.g. VIC2nc_example.cfg). |
20 | | - |
21 | | -Usage: `vic2netcdf.py some_config_file.cfg` |
22 | | - |
23 | | ------ |
24 | | - |
25 | | -### netcdf2vic.py |
26 | | -This tool converts netCDF meteorological forcings to VIC binary or ASCII format. Options and settings are input via configuration file (e.g. example_netcdf2vic.cfg). |
27 | | - |
28 | | -Usage: `netcdf2vic.py some_config_file.cfg` |
29 | | - |
30 | | ------ |
31 | | - |
32 | | -### grid_params.py |
33 | | -This tool grids VIC soil, snow, and vegetation parameter files and stores them in a single netCDF file. This allows for easy viewing of parameters using tools like [ncview](http://meteora.ucsd.edu/~pierce/ncview_home_page.html). This tool take a list of command line arguments: |
34 | | - |
35 | | -Usage: |
36 | | -For soil only: `grid_params.py --soil_file=global_soil_param_new -o outfile.nc` |
37 | | - |
38 | | -For soil and veg: `grid_params.py -s global_soil_param_new -o outfile.nc -v global_lai_0.25deg.txt` |
39 | | - |
40 | | ------ |
| 30 | +To install `tonic`, run `python setup.py install` from this directory. |
41 | 31 |
|
42 | 32 | Questions? Sure, Joe Hamman - jhamman at hydro.washington.edu |
43 | 33 |
|
0 commit comments