#594 closed feature (fixed)
Add .lo and .hi selections in domain( ) and imagecrsdomain( ) WCPS functions
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | petascope | Version: | development |
Keywords: | lo hi domain | Cc: | Peter Baumann, mantovani@…, Vlad Merticariu, Alex Dumitru |
Complexity: | Medium |
Description
Self-explanatory title.
In practice, it would be a useful feature to extend to WCPS the RasQL capability to extract high and low bounds of an sdom
.
Use case:
# Eg: weekly-aggregated pixel history on daily time-series for c in (eobstest) return encode ( coverage averaged_pixel_history over $t t ( imagecrsdomain(c,t).lo : imagecrsdomain(c,t).hi / 7 ) values avg(c[Lat(0), Long(51:52), t:"CRS:1"($t:$t+6)]) , "csv")
The WCPS standard does not foresee this feature, but might be added to the upcoming WCPS 2.0.
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing then, I assume it has been addressed in WCPS 2.0.
comment:4 by , 10 years ago
these functions do not occur any longer in WCPS 2. Rather, the DescribeCoverage request is emulated in a function returning the same XML structure, so that XPath etc allows extracting any element.
Note:
See TracTickets
for help on using tickets.
Indeed, this will be possible in WCPS 2, and much more: