Enabling GOES data collection using the DCP Data Service Protocol
Note that for data from a GOES DCP to be decoded, it must be properly configured. See the section on configuring
GOES stations. Also note that acquiring GOES data using the DCP Data Service protocol requires that a user account be obtained consisting of a username and password.
To retrieve GOES DCP data, the following line should be added to the file
dwtask.cfg file.
\DataWise\Core\process_goes_batch.exe b=\DataWise\Utils\lrgsclient.bat tdir=\DataWise\LRGSData f=5 +v +d
Where:
tdir specifies the name of a directory to store downloaded DCP messages
f= specifies the frequency (in minutes) to retrieve transmissions
b= specifies a batch command that contains the following:
and the lrgsclient.bat file contains the following:
___________________________________________________________________________________________________________
\DataWise\Utils\create_dcp_list.exe config=\DataWise\Config\dw_config.cfg back=2 f=\DataWise\Temp\dcp_list
chdir C:\LrgsClient\bin
getDcpMessages.bat -h cdabackup.wcda.noaa.gov -u username -v -P password -f \DataWise\Temp\dcp_list -b ***Start***\n -a \n***End***\n -n > \Datawise\LRGSData\lrgs.dat
__________________________________________________________________________________________________________
The application
create_dcp_list.exe creates a file containing the DCP ids for which to retrieve data plus the time range.
The time range is specified (in hours) by the
back= argument.
The output file is specified by the
f= argument.
The getDcpMessages.bat command retrieves DCP transmissions from the location specified after the -h argument, in this case cdabackup.wcda.noaa.gov
-u argument specifies the username
-P argument specifies the password
-f argument specifies the file name containing the list of DCP's to retrieve data for
-b argument specifies the string to be placed BEFORE each DCP message. Must be ***Start***\n
-a argument specifies the string to be placed AFTER each DCP message. Must be \n***End***\n
the output is placed in file \DataWise\LRGSData\lrgs.dat
Note that the directory name
DataWise should be replaced by the name of the directory that the software was installed in.
Other download locations are:
lrgseddn1.cr.usgs.gov
lrgseddn2.cr.usgs.gov
lrgseddn3.cr.usgs.gov
cdadata.wcda.noaa.gov
cdabackup.wcda.noaa.gov
eddn.usgs.gov
To decode and process the retrieved DCP messages, the following line needs to be entered in the dwtask.cfg file
\DataWise\Core\process_goes.exe [toff=nn]
Where nn specifies the number of minutes (negative for western hemisphere) to adjust the time stamps of the data.
Note that DCP messages have GMT time stamps.