Retrieving USGS Data
To retrieve data from the USGS web site:
1) Create a file named USGS.bat with the format below, where
u= specifies the USGS ID number
p= specifies the physical parameter to retrieve
s= specifies the
DataWise® sensor ID to store the data in.
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11164500 p=00060 s=15112
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11164500 p=00065 s=5112
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11166000 p=00065 s=5101
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11166000 p=00060 s=15101
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169500 p=00065 s=5096
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169500 p=00060 s=15096
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169025 p=00065 s=5109
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169025 p=00060 s=15109
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169800 p=00065 s=5077
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169800 p=00060 s=15077
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11172175 p=00065 s=5097
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11172175 p=00060 s=15097
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11153650 p=00065 s=5085
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11153650 p=00060 s=15085
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169860 p=00060 s=15012
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169860 p=00065 s=5012
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169800 p=00060 s=15010
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11169800 p=00065 s=150100
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11153000 p=00060 s=15081
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11153000 p=00065 s=5081
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11173200 p=00060 s=15113
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11173200 p=00065 s=5113
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11170000 p=00060 s=15082
\php\php.exe \Apache24\htdocs\scvwd\requsgsdata.php u=11170000 p=00065 s=5082
Then, add the following line to the
dwtask.cfg file.
C:/DataWise/Core/execute_batch_file.exe b=C:/DataWiseSCVWD/Utils/usgs.bat f=30m +v +log copy=8 +d -timer
Where f=30m specifies an execution frequency o 30 minutes
+v specifies to store diagnostics in verbose mode
+log specifies to log diagnostics
copy=8 specifies that this is the 8th copy of execute_batch_file. Modify the copy accordingly.
-timer specifies that the batch file execution should NOT time out