Opened 2 years ago

Closed 2 years ago

#2613 closed enhancement (fixed)

WCPS - NEW - support flip operator

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.1
Component: petascope Version: 10.0
Keywords: Cc: Dimitar Misev, Vlad Merticariu, Peter Baumann
Complexity: Medium

Description

Rasdaman has this flip supported in rasql https://rasdaman.org/ticket/2610, petascope needs to support it as well.

  • The array is sliced at the chosen axis.
  • The slices are then flipped, resulting in an array with:
    • No change in the spatial domain, base type, or dimensionality
    • Reversed values of an axis.

WCPS Syntax:

flipExp: FLIP generalExp ALONG axisLabel

  • generalExp: a coverage expression, e.g. $c + 30
  • axisLabel: an axis belongs to the coverage expression, e.g. Lat ($c is 3D coverage with axes: Lat, Long, ansi).

Change History (2)

comment:1 by Bang Pham Huu, 2 years ago

Owner: set to Bang Pham Huu
Status: newassigned

comment:2 by Bang Pham Huu, 2 years ago

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