CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy

GenericODws WaterML2 prototypes

RSS
Modified on 2011/05/18 10:18 by valentinedwv Categorized as Uncategorized
Prototype WaterML2 Documents using the present generic ODM services.
links to xml output are in table 3 urls

Information in the WaterML 2 will often be followed by reference (click below to get a larger image)
Image

In the present service, the site is a feature of interest (ideally retrieved from WFS), and the observed property is a link to the waterml variable description (any form is ok, an HTML page would be another possible place to point it.) Images of XML


In this prototype, REST endpoint that use parameters names matching the WaterOneFlow names is presented. This is for simplicity of comprehension. The same codebase is used, so only the limited set of WaterOneFlow filters is supported ( outline below in table 2). This provided insight into how we map from the present WaterOneFlow services to the future, and where the issues in the services are found (Table 1).

table 1: SOS Features
SOS VerbWOF 1.1 methodGeneric EndpointNote
GetCapabilties (offerings)~GetSiteInfo for every site Not Implemented. Offering ~ series |
DescribeSensorVariable+Method(+site) Not Implemented. No direct way to get list methods via wateroneflow. Methods liked to values, although series could be used
GetObservationGetValueswaterml2.svc/values?location=USU:USU-LBR-Mendon&variable=USU:USU3&startDate=2005-08-01&endDate=2005-09-01
GetFeature GetSitewaterml2.svc/featureOfInterest?location=USU:USU-LBR-Mendon Optional, but featureOfInterest referenced from WaterML2 returned by getObservation. Ideally in a WFS|
(observed property)Variablewaterml2.svc/observedProperty?variable=USU:USU3 referenced from WaterML2 returned by getObservation ODM variable. At present ANY format |
GetDataAvailabilityHIS Central GetSeries(filters) SOS Extension. Not Yet Implemented
GetResourceByID (other resources) HIS Controlled Vocabularies not an SOS service. Request defined in Web Services Common

A issue with the present Sensor Observation Service specification is that the GetCapabilities contains offering. An offering is ~ a series. So when you call GetCapabilities, you would get all series. This works for small sources, but for large sources, it would mean parsing 1000's to millions of series just to use the service. Unlike using a WFS, there is no filtering on GetCapabilities. Workaround are to implement the GetDataAvailability.

table 2: Query Parameters
ParametervaluesfeatureofinterestobservedPropertyGetResourceByID (TBD)
locationX x
variableX XX
startDateX
endDateX
resource X

These examples use the generic web services and little bear river database, so any data found at this wateroneflow endpoint can be represented in WaterML2.
Present Examples:
Table 3: Rest URL's
PropertiesValuesFeatureObservedProperty GetDataAvailabilityoffering
USU:USU-LBR-Mendon
USU:USU3 (battery voltage)
2005-08-01 to 2005-08-05
ValuesFeatureOfInterestObservedProperty
wateroneflow GetValuesObject GetSitesObject GetVariableInfoObject GetSiteInfoObject
USU:USU-LBR-Mendon
USU:USU10 (temperature)
2005-08-01 to 2005-08-05
Values FeatureOfInterest ObservedProperty
wateroneflow GetValuesObject GetSitesObject GetVariableInfoObjectGetSiteInfoObject
USU:USU-LBR-Paradise
USU:USU09 (turbidity)
2005-08-01 to 2005-08-05
Values FeatureOfInterest ObservedProperty
wateroneflow GetValuesObject GetSitesObject GetVariableInfoObjectGetSiteInfoObject

Actions:
  • Improve procedure
    • inline procedure to full specification
  • Make feature of interest, and observedProperty resolvable (aka xlink:href="http://hydro10.sdsc.edu/LBRSDSC/waterml2/waterml2.svc/featureOfInterest?location=USU-LBR-Paradise")
  • offering
  • GetDataAvailability
  • implement resource endpoints (controlled vocabulary terms)
  • implement translation from CUAHSI CV to WaterML best practices
    • 8.6.5 Data type.
      • statistical details need to go to the procedure
    • 8.6.4 Data quality.
  • dictionaries
    • 8.12.1.7.1 phenomenaDictionary
    • 8.12.1.7.2 qualifierDictionary
    • 8.12.1.7.3 qualityDictionary
    • processing
  • (procedure endpoint?)
  • others
    • fix aggregationPeriod
    • add metadata elements

Long term:
  • rework county/state to reference ISO

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.