1
Vote

Web Services: Allow GetValues query by method, source and QualityControlLevel

description

Right now the parameters in GetValues web method are:

location
variable
startDate
endDate

However, sometimes we have one a site and variable that have data with multiple methods, sources and quality control levels for the same site and variable. The standard CUAHSI HydroServer supports using methodCode, sourceCode and qualityControlLevelCode in the GetValues and GetValuesObject query like this:

If you truly want to isolate an individual time series, you have to specify the source, method, and quality control level in the URL as follows. WaterOneFlow doesn’t support these as separate query strings in the URL, so you have to add them to the “variable” parameter:

http://icewater.usu.edu/LittleBearRiver/cuahsi_1_1.asmx/GetValuesObject?variable=LBR:USU6:methodCode=28:sourceCode=1:qualityControlLevelCode=1&location=LBR:USU-LBR-Mendon&startDate=2010-11-01&endDate=2010-11-13&authToken=

comments