Opened 4 months ago

Closed 12 days ago

#2818 closed enhancement (fixed)

wcst_import - FIX - Implement areasOfValidity with next_slice support

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone:
Component: wcst_import Version: 10.3
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

For coverage with many slices this results in a large DescribeCoverage, e.g. see ​this example:

<ras:areasOfValidity>
<ras:area start="1950-01-01T00:00:00.000Z" end="1950-01-31T23:59:59.999Z"/>
<ras:area start="1950-02-01T00:00:00.000Z" end="1950-02-28T23:59:59.999Z"/>
<ras:area start="1950-03-01T00:00:00.000Z" end="1950-03-31T23:59:59.999Z"/>
<ras:area start="1950-04-01T00:00:00.000Z" end="1950-04-30T23:59:59.999Z"/>
<ras:area start="1950-05-01T00:00:00.000Z" end="1950-05-31T23:59:59.999Z"/>
<ras:area start="1950-06-01T00:00:00.000Z" end="1950-06-30T23:59:59.999Z"/>
<ras:area start="1950-07-01T00:00:00.000Z" end="1950-07-31T23:59:59.999Z"/>
<ras:area start="1950-08-01T00:00:00.000Z" end="1950-08-31T23:59:59.999Z"/>
<ras:area start="1950-09-01T00:00:00.000Z" end="1950-09-30T23:59:59.999Z"/>
...

To make it more convenient we should implement support for next_slice semantics with low/high bounds

Optional low and high can be added (by default they are first direct position and infinity respectively):

"directPositions": ["2024-01-01", "2024-03-01"]
"validity": {"type": "next_slice", "low": "2023-12-01", "high": "2024-12-31"}

equivalent to

"directPositions": ["2024-01-01", "2024-03-01"]
"areasOfValidity": [{"start": "2023-12-01", "end": "2024-03-01"}, {"start": "2024-03-01", "end": "2024-12-31"}]

Change History (2)

comment:1 by Peter Baumann, 4 months ago

Milestone: 10.3

Ticket retargeted after milestone closed

comment:2 by Bang Pham Huu, 12 days ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.