HydroDesktop from command line

Jul 23, 2013 at 5:54 PM
Is it possible to find, download and export data without using the HydroDesktop interface (using command line). For example if i give a sample study area it will return rainfall data for different stations by running series of command line.
Coordinator
Jul 23, 2013 at 6:03 PM
This is a very timely question! We are discussing how to make the HD functions available through Python scripting which could enable your command line use case... We're probably a few months away from a first version of this.

----------------------------------
Daniel P. Ames, Ph.D., P.E.
Associate Professor, Civil & Environmental Engineering
Brigham Young University, Provo, Utah

iEMSs 2014, San Diego, California, June 15-19, 2014.
**********************************************************************


Coordinator
Jul 24, 2013 at 10:12 AM
Hi,
If you like using python for command line scripting then please take a look at the free and open-source ulmo python package:
https://github.com/twdb/ulmo
http://ulmo.readthedocs.org

This library is quite well documented and it can be used for scripting the find, download and export data steps. I successfully tested it with some of the CUAHSI HIS / HydroDesktop data sources.

Installing:
pip install ulmo

Finding data networks in your area:
ulmo.his_central.get_services(Bbox)

Finding which sites are available at a data service network:
my_sites = ulmo.cuahsi.wof.get_sites('http://icewater.usu.edu/littlebearriver/cuahsi_1_1.asmx?WSDL')

Finding which variables are available at a site:
my_site_info = ulmo.cuahsi.wof.get_site_info('http://icewater.usu.edu/littlebearriver/cuahsi_1_1.asmx?WSDL','LittleBearRiver:USU-LBR-SFWeather')

Getting the data values:
my_values = ulmo.cuahsi.wof.get_values('http://icewater.usu.edu/littlebearriver/cuahsi_1_1.asmx?WSDL','LittleBearRiver:USU-LBR-SFWeather','LittleBearRiver:USU27')

Regards,
Jiri Kadlec
Jul 24, 2013 at 7:58 PM
Thanks for reply, i will try it. I am working with TOPNET, hydrologic model that needs spatial and time series data. As i spend a lot of time for input data downloading and pre processing but i want to automate those all steps. HD only provides time series data, is there any way to get spatial data ( e.g., soil properties from SSURGO, Land cover data, etc) from there. I download and export some time series data from HD but found lot of missing data which need to work further. It seems to me that it would be great if there is any functionality to fill missing data ( by providing some option to user how he wants to fill the data inear, IDW interpolation etc).