Opened 11 years ago

Closed 11 years ago

#414 closed defect (fixed)

Retrieve pixel domain using the WCPS domain() function

Reported by: Dirk Daems Owned by: Piero Campalani
Priority: major Milestone:
Component: petascope Version: 8.4
Keywords: Cc:
Complexity: Medium

Description

If I understand correct, it should be possible to retrieve the pixel domain using the WCPS domain() function:

for c in (mean_summer_airtemp)
  return domain(c, x, "CRS:1")

But when I execute this query, the spatial domain is returned instead: (111.975,156.275)

Change History (4)

comment:1 by Dimitar Misev, 11 years ago

I guess the CRS computation is not done and the coordinates are always returned in the native CRS.

For CRS:1 there is a dedicated function though, e.g.

for c in (mean_summer_airtemp)
  return imageCrsDomain(c, x)

comment:2 by Dimitar Misev, 11 years ago

Owner: changed from abeccati to Piero Campalani
Status: newassigned

comment:3 by Piero Campalani, 11 years ago

Status: assignedaccepted

comment:4 by Piero Campalani, 11 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in changeset:91dfab7.
Added the following tests to the WCPS systemtest:

  • 89-get-metadata-domain2.test
  • 90-get-metadata-domain.error.test
Note: See TracTickets for help on using tickets.