-- David Valentine Spatial Information Systems Laboratory San Diego Supercomputer Center University of California San Diego 9500 Gilman Dr., La Jolla, CA 92093-0505 858-822-0923 vale...@sdsc.edu
Extent is the full range over which the measurements occur, spacing is the spacing between measurements, and support is the averaging interval or footprint implicit in any measurement. In ODM, extent and spacing are properties of multiple measurements and are defined by the LocalDateTime or DateTimeUTC associated with data values. We have included a field called TimeSupport in the Variables table to explicitly quantify support. Figure 7 shows some of the implications associated with support, spacing, and extent in the interpretation of time series data values.In the case of the measurement in question (I believe it is a lake secchi measurement program) the support interval in question is insignificant as it is a sporadic instantaneous values (odm design spec p55 #8). So as we've been discussing, having a TimeUnitsID for Support could be misleading to a consumer of our data.
SELECT distinct V.VariableID, V.VariableCode, V.VariableName, V.VariableUnitsID, VU.UnitsName as VariableUnitsName, V.SampleMedium, V.ValueType, V.IsRegular, V.TimeSupport, V.TimeUnitsID, TU.UnitsName as TimeUnitsName, V.DataType, V.GeneralCategory, V.NoDataValue FROM variables as V, units as VU, units as TU WHERE VU.UnitsID=V.VariableUnitsID and TU.UnitsID=V.TimeUnitsID;To maintain integrity and the queries on our data, for now I will continue to use the best practices recommended TimeUnitsID of 103, hours and a TimeSupport value of 0.
Randy,
Let me just chime in here briefly with a bit of the thinking behind the design spec. We see TimeSupport as an attribute of a measurement regardless of whether it is regular or irregular. It quantifies the averaging interval that is inherently implicit in any measurement related to the response time of the instrument involved or collection interval of a sampled quantity. This is different from the spacing between measurements which is what isRegular refers to. Figure 6 on page 15 of the design spec illustrates this. Since we made TimeSupport mandatory the Units involved are mandatory too so a TimeUnitsID should be given. Now strictly you can say that when the value is 0, the units do not matter. The same could be said for many other quantities, but units are still generally required and mandatory in ODM.
Dave
Randy,
You stated “In the case of the measurement in question (I believe it is a lake secchi measurement program) the support interval in question is insignificant as it is a sporadic instantaneous values (odm design spec p55 #8). So as we've been discussing, having a TimeUnitsID for Support could be misleading to a consumer of our data.”
I would ask: What do you mean by “instantaneous?” Measurements are not truly instantaneous; they take some time to register, and it is that time we are asking
for the duration of. It may be only 1/1000 of a second, or many measurement devices actually take several measurements over a very short duration, and average them or otherwise calculate a resulting value. You may not even realize how your measurement equipment
is actually registering the value. You may need to examine the documentation of your measurement device to be able to answer this question. This is the information that the TimeSupport and TimeUnitsID fields are trying to capture. If this is a manual visual
id of the disk, how long is an attempt made to id the disk, 1/10 of a second, 1 second, 10 seconds? Your protocol should indicate this and that information should be captured in ODM.
Kim Schreuders
Randy,
You indicated “However, if we set the TimeUnitsID to 0“
We never suggested that you set the TimeUnitsID to 0. That would break referential integrity. We only suggested that if you feel the best representation of the time support is truly a value of 0, then use 0 for the value of TimeSupport, and use one of the time units, such as 103 (hour), for the TimeUnitsID.
But I would also question whether a measurement is truly instantaneous and deserving of a TimeSupport of 0. Very few measurements are truly instantaneous.
Kim
From: cuahsi-wds-us...@googlegroups.com [mailto:cuahsi-wds-us...@googlegroups.com]
On Behalf Of David Tarboton
Sent: Tuesday, December 13, 2011 8:02 AM
To: Randy Carver
Cc: cuahsi-wds-us...@googlegroups.com
Subject: Re: variables
Randy,
Hi,
I am trying to set-up the water oneflow web services and able to complete all the steps in tutorial except configuring the web service. when I navigate to "http://localhost/MyDataservice", it takes me to the webpage " CUAHSI web services for observations databases help pages". However, when I click on " Configuration (restricted by password)", it asks for the user name and password. when I provide the user name and password (i.e., webclient, webclient),i receive an error message " you are not Authorized to view this page.". Can anybody help me to fix this error?
Thanks for the help.
Regards
Shahidul
Hello Shahidul,
Can you let us know when you downloaded the web service deployment, and where you got it from (e.g., the CUAHSI HIS website or the HydroServer CodePlex website)? That would help us track down this issue.
Thanks!
--------------------------------------------------------------
Jeffery S. Horsburgh
Utah Water Research Laboratory
Utah State University
8200 Old Main Hill
Logan, UT 84322-8200
Phone: (435) 797-2946 Fax: (435) 797-3663
jeff.ho...@usu.edu http://jeffh.usu.edu
---------------------------------------------------------------