Open epag opened 3 weeks ago
Original Redmine Comment Author Name: Hank (Hank) Original Date: 2022-08-04T17:35:54Z
Declaration:
<?xml version='1.0' encoding='UTF-8'?>
<project name="6hr AHPS vs USGS Stage (All Examples)">
<inputs>
<left label="USGS NWIS Stage Observations">
<type>observations</type>
<source interface="usgs_nwis">https://nwis.waterservices.usgs.gov/nwis/iv</source>
<variable>00065</variable>
</left>
<right label="WRDS AHPS API Stage Forecasts">
<type>single valued forecasts</type>
<source interface="wrds_ahps">https://nwcal-wrds.[domain]/api/rfc_forecast/v2.0/forecast/stage</source>
<variable>HG</variable>
</right>
</inputs>
<pair label="TEST">
<unit>FT</unit>
<feature left="05453510" right="CRVI4"/>
<leadHours minimum="0" maximum="120"/>
<dates earliest="2000-10-01T12:00:00Z" latest="2022-08-03T21:30:14Z"/>
<issuedDates earliest="2000-10-01T12:00:00Z" latest="2022-08-03T21:30:14Z"/>
<leadTimesPoolingWindow>
<period>6</period>
<frequency>6</frequency>
<unit>hours</unit>
</leadTimesPoolingWindow>
</pair>
<metrics>
<metric>
<name>all valid</name>
</metric>
</metrics>
<outputs durationFormat="hours">
<destination type="graphic">
<outputType>lead threshold</outputType>
<graphical width="800" height="600"/>
</destination>
</outputs>
</project>
</code>
Let me see if I can grab the WRDS AHPS data,
Hank
Original Redmine Comment Author Name: Hank (Hank) Original Date: 2022-08-04T17:43:27Z
The WRDS JSON response for the URL (domain omitted),
is attached,
Hank
Author Name: Hank (Hank) Original Redmine Issue: 107156, https://vlab.noaa.gov/redmine/issues/107156 Original Date: 2022-08-04
Example job: 2632595358329622061. I'll share the declaration in the first comment. Example stdout message:
The problem is that USGS NWIS doesn't return any data:
https://nwis.waterservices.usgs.gov/nwis/iv?endDT=2022-08-03T00%3A00%3A00Z&format=json¶meterCd=00065&sites=05453510&startDT=2000-01-01T00%3A00%3A01Z
Hank