CUAHSI / HydroCatalog

3 stars 0 forks source link

USGS NWISIID Web Service - Need Speciation #30

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
The information returned by the USGS NWISIID web service is incomplete. WaterML 1.1 specification includes a quotSpeciationquot element. In the NWISIID system there are two variables with name=quotAmmoniaquot. The variable codes from USGS are:

00608 - Ammonia, water, filtered, milligrams per liter as nitrogen 71846 - Ammonia, water, filtered, milligrams per liter as NH4

00608 should have speciation quotnitrogenquot. 71846 should have speciation quotNH4quot. However, the quotspeciationquot element in the WaterML returned by GetValues() is missing. I suspect, this loss of information is a problem either in the USGS web service or in the SDSC proxy NWISIID web service. Suggested solutions: Upgrade the NWISIID web service to WaterML 1.1 and ensure that the quotspeciationquot element is included in the WaterML.

xhqiao89 commented 7 years ago

valentinedwv[CodePlex]
Would like to use the Water quality services (aka WQX), but that mixes units and speciation: http://qwwebservices.usgs.gov/Result/search?pCode=71846=USGS-01106000

Result ResultDescription CharacteristicNameAmmonia and ammonium/CharacteristicName ResultSampleFractionTextDissolved/ResultSampleFractionText ResultMeasure ResultMeasureValue0.21/ResultMeasureValue MeasureUnitCodemg/l NH4/MeasureUnitCode /ResultMeasure ResultStatusIdentifierHistorical/ResultStatusIdentifier ResultValueTypeNameActual/ResultValueTypeName USGSPCode71846/USGSPCode /ResultDescription /Result