Functional coverages

25
Functional Coverages Gennadii Donchyts , Fedor Baart, H.R.A. (Bert) Jagers, Arthur van Dam

Transcript of Functional coverages

Page 1: Functional coverages

Functional Coverages

Gennadii Donchyts, Fedor Baart, H.R.A. (Bert) Jagers, Arthur van Dam

Page 2: Functional coverages

Questions

• Know and use Java, C#, C++, Python?• NetCDF?• GeoAPI?• OGC Feature / Coverage Specifications?

Page 3: Functional coverages

Contents

• Domains• Questions to Answer• Variables and Functions some math• Applying Object-Oriented Methods API• Applying and extending OGC API standards• Code Examples C# / Python• Discussion

Page 4: Functional coverages

Domains Involved

Page 5: Functional coverages

Problems with existing APIs

• From regular to irregular– no universal API which allows to work with both in the same way

• Introduce time– no API for time-dependent coverages

• Interpolation – discrete / continuous

• Use features or other objects in coverage – hard to save in NetCDF, no OGC API

Page 6: Functional coverages

Variable

h [m]water depth

Units of Measure

SymbolName

Value(s)

1-jan 3-jan 5-jan 7-jan0

0.51

1.52

2.5

1.5 m1.0 2.0 1.2

2.03.11.1

2.5 5.3 4.8

1.0 2.0 1.2

2.03.11.1

2.5 5.3 4.8

1.0 2.0 1.2

2.03.11.1

2.5 5.3 4.8

1.0 2.0 1.2

2.03.11.1

2.5 5.3 4.8

Page 7: Functional coverages

Variable

Bathymetry of Lake Erie & Lake Saint Clair (NOAA)

Page 8: Functional coverages

Function

h=h (𝑥 , 𝑦 ,𝑡 )

h

𝑥

𝑦

𝑡

h= t + x2/y

Page 9: Functional coverages

Vector-valued Function Example

𝑉= (𝑣𝑥 ,𝑣 𝑦 ) (𝑥 , 𝑦 , 𝑡 )

Page 10: Functional coverages

Vector-valued Function Example

𝑉= (𝑣𝑥 ,𝑣 𝑦 ) (𝑥 , 𝑦 , 𝑡 )

Page 11: Functional coverages

Vector-valued Function

Dependent Variables(Components)

Independent Variables(Arguments)

Page 12: Functional coverages

A vector-valued function associates independent variables (arguments) with its dependent variables (components):

components arguments

Every variable is a function of 0 or more arguments and 1 component:

Variable values are defined as an array, for independent variable rank of an array is 1 and for dependent variable it is equal to number of its arguments m

Any variable representing a physical quantity may have a unit of measure defined:

[m/s2]

Dimension of a unit is: L/T2

API

Page 13: Functional coverages

Simplest Example

Page 14: Functional coverages

1D

Page 15: Functional coverages

2D

Page 16: Functional coverages

Coverages

• What is Coverage?

• What is Feature?

The question “What is a feature?” leads directly to a philosophical rabbit hole which deposits the unwary questioner in a wonderland from which it is difficult to return.

Coverage is a specific type of a Feature that can generate a value for any point within its domain

Coverage Domain

Point

2,71Value

Generate(Point)

Page 17: Functional coverages

Feature

Amsterdam

1 209 419

Page 18: Functional coverages

Coverages

c3

c1

c2𝑙

1.0

1.0

1.0 1.0

1.0

0.1

45mm

68 mm

93 mm

Page 19: Functional coverages

Regular Grid Coverage

Page 20: Functional coverages

Time-dependent Regular Grid Coverage

Page 21: Functional coverages

Feature Coverage

Page 22: Functional coverages

Feature Coverage

Page 23: Functional coverages

Network Coverage

Page 24: Functional coverages

Storage

Memory

Page 25: Functional coverages

Questions