Need transportable module to retrieve select daily streamflow data for selection of Montana rivers and display data in websites I create.
See [url removed, login to view] "streamflow" sidebar for example.
Using following URL format, I can choose streamflow data from select rivers on specific dates:
[url removed, login to view]
&site_no=06043500 *Specific site on individual river (Need to be able to input select various river codes)
&cb_00060=on *Specific code for streamflow
&begin_date=2009-01-16 *Begin date
&end_date=2009-01-16 *End date (always the same as begin date for daily data)
NOTE: above URL sent as single line without notes.
I'm assuming [url removed, login to view] uses the USGS waterdata system for data. Desired 'module' would allow me to enter
various river/site codes, always using streamflow code, then retrieve data for variety of rivers on a daily basis and
display results in webpage.
Local programmer has set up a method using a cron job on host server that collects above data via cURL exec within PHP script
which then fwrites data to CSS-styled UL/LI layout 'included' in php webpage. Works OK, but there may be a more compact way.