tsgettoolbox.tsgettoolbox.hydstra_catalog

tsgettoolbox.tsgettoolbox.hydstra_catalog(server, station, isleep=5)

global:station:::Kisters Hydstra Webservice - variable catalog for a station

Creates a table of datasources and variables available for a station, including periods of record for each.

Parameters:

server

Server name or base URL of Hydstra webserver. This can be either a direct URL (normally up to but not including a ‘?’) or it can be one of the following predetermined server names.

Name

Description

sjrwmd

St. Johns Water Management District, Florida, USA https://secure.sjrwmd.com/hydweb/cgi/webservice.exe

orangeco_ca

Orange County Public Works, California USA http://Hydstra.OCPublicWorks.com/cgi/webservice.exe

station

This should be the short ‘station identifier’, not the longer ‘station name’.

isleep

Integer seconds to sleep between webservice calls to create the catalog table. Default is zero.

If HTTP errors occur, it may be due to web calls that come too fast, if the server is configured to interpret rapid calls as a denial-of-service attack. If this happens, increase isleep.