Opened 4 years ago

Closed 20 months ago

#722 closed defect (duplicate)

Error on WC*S query with binary encoding and ISO temporal subsets

Reported by: pcampalani Owned by: bphamhuu
Priority: major Milestone: 9.2
Component: petascope Version: development
Keywords: gdal parameters time iso subsets Cc: mdumitru
Complexity: Medium

Description (last modified by pcampalani)

When setting the parameters for GDAL (RasQL encode), temporal subsets are not translated to numeric coordinates.
Temporal subsets can be either numerical or ISO timestamps
(see PetascopeTimeHandling).

Usually time is sliced out in a time-series coverage, so parameters for GDAL are generally spatial coordinates.

Encoding of spatio-temporal 2D sections should be properly allowed anyway.

A related ticket is #708: GDAL will put an empty CRS in case we set a spatio-temporal compounding.

Test queries:

for c in (eobstest)
return encode(
  [Long(30:35), Lat(0)]
, "png")

For some reference code, refer e.g. to convertToInternalGridIndices() method in petascope.util.CrsUtil:

$ grep "public static.*{" ~/rasdaman/applications/petascope/src/main/java/petascope/util/ 
    public static boolean isValidTimestamp (String timestamp) {
    public static boolean isOrderedTimeSubset (String timestampLo, String timestampHi) throws PetascopeException {
    public static String minusEpsilon(String timestamp) {
    public static String plus(String timestamp, Double coefficient, String timeResolution) throws PetascopeException {
    public static String coordinate2timestamp(Double numCoordinate, String datumOrigin, String timeResolution) throws PetascopeException {

Change History (4)

comment:1 Changed 4 years ago by pcampalani

  • Description modified (diff)

comment:2 Changed 2 years ago by dmisev

  • Cc mdumitru added
  • Milestone changed from 9.1 to 9.2
  • Owner changed from pcampalani to vmerticariu
  • Status changed from new to assigned

comment:3 Changed 20 months ago by bphamhuu

  • Owner changed from vmerticariu to bphamhuu

This ticket actually the same as in (which I'm doing) then I will close it here.

comment:4 Changed 20 months ago by bphamhuu

  • Resolution set to duplicate
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.