Skip to content

Commit e608d64

Browse files
author
Joe Hamman
committed
Merge remote-tracking branch 'origin/develop'
2 parents 88414d8 + 8098eea commit e608d64

31 files changed

+1684
-1124
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ plots/
5151
ehthumbs.db
5252
Thumbs.db
5353
*.sublime-*
54+
55+
tonic.egg-info

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: python
2+
3+
python:
4+
- "2.6"
5+
- "2.7"
6+
- "3.3"
7+
8+
install:
9+
- python setup.py install
10+
11+
# command to run tests
12+
script:
13+
- vic_utils -h

README.md

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,33 @@
1-
VICpy
1+
TONIC
22
=====
33

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.
55

6-
Truely a work in progress...
6+
This is truely a work in progress...
77

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/)
1015

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.
1318

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.
1520

16-
-----
21+
## Install:
22+
Dependencies:
23+
- python 3
24+
- netCDF4
25+
- xray
26+
- matplotlib
27+
- basemap
28+
- pandas
1729

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.
4131

4232
Questions? Sure, Joe Hamman - jhamman at hydro.washington.edu
4333

File renamed without changes.
File renamed without changes.

param_tools/NIJSSEN2001_to_ARNO.py

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)