Opened 4 years ago

Closed 4 years ago

#2294 closed defect (invalid)

WCPS - Supporting .re/.im for complex number

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

Description (last modified by Bang Pham Huu)

For Sentinel 1 SLC which is complex data, WCPS needs to support .re and .im as same as in rasql to select the real and imagine parts.

Currently, it will throw exception as it thinks they are the non-existing bands of the coverage.

for c in (S1_SLC_IW_VV) return encode(c.re, "csv")

with error

Offending token is 're'. Reason: mismatched input 're' expecting {REAL_NUMBER_CONSTANT, COVERAGE_VARIABLE_NAME}.

Change History (2)

comment:1 by Bang Pham Huu, 4 years ago

Description: modified (diff)
Summary: WCPS - Supporting .re/.img for complex numberWCPS - Supporting .re/.im for complex number

comment:2 by Bang Pham Huu, 4 years ago

Resolution: invalid
Status: assignedclosed

It works already with re() and im() functions

for c in (test_S1_GRD_IW_VH) return encode(re(c[X:"CRS:1"(0), Y:"CRS:1"(0)]), "csv")
Note: See TracTickets for help on using tickets.