CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy
Are DataType and TimeSupport linked? Should they be a single concept?

DataType Examples:
  • “Continuous”
  • “Sporadic”
  • “Cumulative”
  • “Incremental”
  • “Average”
  • “Minimum”
  • “Maximum”
  • “Constant Over Interval”
  • “Categorical”

What is the DataType for "instantaneous"?

DataTypeTimeSupport Regular Note
Continuous optionalYesdefault=instantaneous
Sporadicoptional Nodefault=instantaneous
Average required, not 0Yes
Minimum required, not 0Yes
Maximum required, not 0Yes
Constant Over Interval required, not 0Yes or No ||
Categoricaloptional ? Yes or NoTimeSupport usually not apply... but who is to say non-parametric stats cannot be stored.

What would happen if rather than being just controlled vocabulary, DataType was an object associated with time scale, This would make the any validation rules apply to the TimeScale object, rather than having to be programmed into the variable (and/or series object)?

TimeScale
  • DataTypeBase DataType
  • bool ObservationSpacingIsRegular
  • UnitValue ObservationalSpacing
    • null if ObservationSpacingIsRegular=false
    • (Value,Unit(of type time)) if regular

DataType
  • string Name
  • bool Instantaneous
  • UnitValue TimeSupport

DataType Instantaneous
  • Instantaneous=true
  • TimeSupport=null

DataType OverInterval
  • Instantaneous=false
  • UnitValue TimeSupport
    • UnitValue.Value is time support interval
      • >0
    • UnitValue.Unit
      • UnitValue.Unit.UnitType == Time



Other pages
Are

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