Testing A Community Data Model for Hydrologic Observations - PowerPoint PPT Presentation

Loading...

PPT – Testing A Community Data Model for Hydrologic Observations PowerPoint presentation | free to download - id: 69245b-MTI0M



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

Testing A Community Data Model for Hydrologic Observations

Description:

Testing A Community Data Model for Hydrologic Observations David G Tarboton Jeff Horsburgh David R. Maidment Ilya Zaslavsky David Valentine Blair Jennings – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Date added: 16 July 2019
Slides: 39
Provided by: CRWR2
Learn more at: http://jeffh.usu.edu
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Testing A Community Data Model for Hydrologic Observations


1
Testing A Community Data Model for Hydrologic
Observations
  • David G Tarboton
  • Jeff Horsburgh
  • David R. Maidment
  • Ilya Zaslavsky
  • David Valentine
  • Blair Jennings

http//www.cuahsi.org/his/tk-observedb.html
2
Hydrologic Science
It is as important to represent hydrologic
environments precisely with data as it is to
represent hydrologic processes with equations
Physical laws and principles (Mass, momentum,
energy, chemistry)
Hydrologic Process Science (Equations, simulation
models, prediction)
Hydrologic conditions (Fluxes, flows,
concentrations)
Hydrologic Information Science (Observations,
data models, visualization
Hydrologic environment (Dynamic earth)
3
What is a Data Model
Lets see what Wikipedia says
  • A data model is a model that describes in an
    abstract way how data is represented
  • Data models describe structured data for storage
    in data management systems such as relational
    databases.
  • Early phases of many software development
    projects emphasize the design of a conceptual
    data model.

4
Continuous Space-Time Model NetCDF (Unidata)
Time, T
Coordinate dimensions X
D
Space, L
Variable dimensions Y
Variables, V
5
Discrete Space-Time Data ModelArcHydro
Time, TSDateTime
TSValue
Space, FeatureID
Variables, TSTypeID
6
Terrain Data Models
Grid


TIN
Contour and flowline
7
CUAHSI Point Hydrologic Observations Data Model
Streamflow
  • A relational database stored in Access,
    PostgreSQL, SQL/Server, .
  • Stores observation data made at points
  • Consistent format for storage of observations
    from many different sources and of many different
    types.

Groundwater levels
Precipitation Climate
Soil moisture data
Flux tower data
Water Quality
8
Purposes
  • Hydrologic Observations Data System to Enhance
  • Retrieval
  • Integrated Analysis
  • Multiple Investigators
  • Standard Format for Sharing
  • Scalable Single study area to globe
  • Ancillary information (metadata) to allow
    unambiguous interpretation and use
  • Traceable heritage from raw measurements to
    usable information

9
Community Design Requirements(from comments of
22 reviewers)
  • Incorporate sufficient metadata to identify
    provenance and give exact definition of data for
    unambiguous interpretation
  • Spatial location of measurements
  • Scale of measurements
  • Depth/Offset Information
  • Censored data
  • Classification of data type to guide appropriate
    interpretation
  • Continuous
  • Indication of gaps
  • Indicate data quality

10
Scale issues in the interpretation of data
The scale triplet
a) Extent
b) Spacing
c) Support
From Blöschl, G., (1996), Scale and Scaling in
Hydrology, Habilitationsschrift, Weiner
Mitteilungen Wasser Abwasser Gewasser, Wien, 346
p.
11
From Blöschl, G., (1996), Scale and Scaling in
Hydrology, Habilitationsschrift, Weiner
Mitteilungen Wasser Abwasser Gewasser, Wien, 346
p.
12
Design Premise
  • A relational database at the single observation
    level (atomic model)
  • Querying capability
  • Cross dimension retrieval and analysis

What are the basic attributes to be associated
with each single observation and how can these
best be organized?
13
Schema
14
Independent of, but coupled to Geographic
Representation
Arc Hydro
HODM
1
1
OR
1
1
15
Observation Type
m3/s
L3/T
Variable, e.g. discharge Units SampleMedium, e.g.
water Valuetype, e.g. field observation,
laboratory sample IsRegular, e.g. Yes for regular
time series or No for intermittent
measurements ObsTimeSupport (averaging interval
for observation) TimeUnit (for support) DataType,
e.g. Continuous, Instantaneous,
Categorical ObservationCategory, e.g. Climate,
Water Quality
16
Data Types
  • Continuous (Frequent sampling - fine spacing)
  • Instantaneous (Spot sampling - coarse spacing)
  • Cumulative
  • Incremental
  • Average
  • Maximum
  • Minimum
  • Constant over Interval
  • Categorical

17
Discharge, Stage, Concentration and Daily Average
Example
18
Groupings and Derived From Associations
19
Stage and Discharge ExampleDischarge Derived
from Gage Height
20
Daily Average Discharge ExampleDaily Average
Discharge Derived from 15 Minute Discharge Data
21
Offset
Offset Distance from a datum or control point at
which an observation was made OffsetType defines
the type of offset, e.g. distance below water
level, distance above ground surface, or distance
from bank of river
22
Water Chemistry From a Lake Profile
23
Methods and Samples
Method specifies the method whereby an
observation is measured, e.g. Streamflow using a
V notch weir, TDS using a Hydrolab, sample
collected in auto-sampler SampleID is used for
observations based on the laboratory analysis of
a physical sample and identifies the sample from
which the observation was derived. This keys to
a unique LabSampleID (e.g. bottle number) and
name and description of the analytical method
used by a processing lab.
24
Water Chemistry from Laboratory Sample
25
Hydrologic Information System Service Oriented
Architecture
Downloads
Uploads
HTML -XML
Data access through web services
WaterOneFlow Web Services
WSDL - SOAP
Data storage through web services
26
Matlab use of CUAHSI Web Services to Query HODM
create HODM Class class createClassFromWsdl('htt
p//water.usu.edu/HODM/hodm.asmx?WSDL') This
creates an instance of the class. instHODM
HODM xmlSitesGetSites(instHODM) xmlSiteInfo
GetSiteInfo(instHODM,SiteCodes(5)) xmlValues
GetValues(instHODM,SiteCodes(5),VariableCode,D1,
D2) plot(dnt,Qt) datetick Get annual
maximum series yearsmin(yeart)max(yeart) for
i1length(years) qa(i)max(Qt(find(yeartyea
rs(i)))) end qasort(qa) mlength(qa) p(1m)/(
m1) plot(qa,p
createClass
GetSites
GetSiteInfo
GetValues
Analyze Data
27
Conclusions
  • A conceptual template for the representation of
    hydrologic point observations in a relational
    database
  • Simple - 16 tables
  • Queries facilitate flexible data retrieval and
    analysis involving types, time or space
  • Standard - a basis for effective sharing
  • Ancillary information to support unambiguous
    interpretation of each observation

28
Accuracy and Precision
ObsAccuracyStdDev Numeric value that expresses
measurement accuracy as the standard deviation of
each specific observation
29
Observation Series
An Observation Series is a set of all the
observations of a particular type at one place,
i.e. with unique monitoring point (WaterID),
observation type, offset and offsettype. The
ObservationSeriesCatalog is programatically
generated to provide a means by which a user can
get simple descriptive information about the
variables observed at a location.
30
Data Quality
Data Qualifier Code indicates provides qualifying
information about the observations, e.g.
Estimated, Provisional, Derived, Holding time for
analysis exceeded QualityControlLevel records the
level of quality control that the data has been
subjected to.- Level 0. Raw Data and Raw
Metadata - Level 1. Quality Controlled Data and
Associated Metadata - Level 2. Derived Products
and Associated Metadata - Level 3. Interpreted
Products and Associated Metadata - Level 4.
Knowledge Products and Associated Metadata
31
15 min Precipitation from NCDC
Incomplete or Inexact daily total occurring.
Value is not a true 24-hour amount. One or more
periods are missing and/or an accumulated amount
has begun but not ended during the daily period.
32
Irregularly sampled groundwater level
33
Soil Moisture Example
34
Example Matlab use of CUAHSI Web Services
create NWIS class createClassFromWsdl('http//ri
ver.sdsc.edu/NWISTS/nwis.asmx?WSDL') This
creates an instance of the class. svsNWIS
NWIS Specify a SiteID to use SiteID'10109000
' Call the getDischargeValues function to get
discharge data. DisValsgetDischargeValues(svsNWIS
,SiteID,startDate(1),endDate(1)) Parse the
string that is returned into matrices and
plot tempsscanf(DisVals,'4d-2d-2d,f') n1,n2
size(temp) nyn1/4 ind(1ny)4 yeartemp((in
d-3)) monthtemp((ind-2)) daytemp((ind-1)) Qt
emp(ind) dndatenum(year,month,day) plot(dn,Q)d
atetick
35
GetSites
create HODM Class class createClassFromWsdl('htt
p//water.usu.edu/HODM/hodm.asmx?WSDL') This
creates an instance of the class. instHODM
HODM xmlSitesGetSites(instHODM)
36
GetSiteInfo
xmlSiteInfoGetSiteInfo(instHODM,SiteCodes(5))
37
GetValues
xmlValues GetValues(instHODM,SiteCodes(5),Variab
leCode,D1,D2)
38
Matlab Analysis
strValuesparse_xml(xmlValues) Nvalsstr2num(strV
alues.child.child(2).value) for i1Nvals
dn(i)datenum(cellstr(strValues.child.child(3).ch
ild(i).child(1).value))
year(i),month(i),day(i)datevec(dn(i))
Q(i)str2num(strValues.child.child(3).child(i).chi
ld(2).value) End qasort(qa) mlength(qa) p(
1m)/(m1) plot(qa,p)
About PowerShow.com