twdb/ulmo — pull request #35 by timcera (2013-01-16 03:07:22+00:00)
Title: Added a ulmo command line

Added a ulmo command line script. Right now only support USGS NWIS daily and instantaneous databases.

Can do things like...

ulmo NWISDV,02245500,00060 NWISDV,02245500,00065 --date_range=2010-01-01

which then prints to the screen where you can redirect or pipe to difference programs...

Datetime, NWISDV_02245500_00060, NWISDV_02245500_00065
2010-01-01T00:00:00 , 71.0, 1.69
2010-01-02T00:00:00 , 115.0, 2.5
2010-01-03T00:00:00 , 83.0, 1.95
2010-01-04T00:00:00 , 70.0, 1.71
2010-01-05T00:00:00 , 64.0, 1.59
2010-01-06T00:00:00 , 60.0, 1.5
2010-01-07T00:00:00 , 57.0, 1.45
...

Just a start. I made the format compatible with my toolboxes (tstoolbox, wdmtoolbox, swmmtoolbox, and soon tidetoolbox). I was working on a tsgettoolbox which I took some pieces from to add this capability to ulmo.

I understand if you want ulmo to be only a library, in which case I will continue work on tsgettoolbox and just use ulmo in the background.

Kindest regards,
Tim