Opened 9 years ago

Last modified 5 years ago

#1095 closed defect

WCS-T doesn't support CInt16 — at Version 5

Reported by: Dimitar Misev Owned by: Vlad Zamfir
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: Vlad Merticariu, Peter Baumann
Complexity: Medium

Description (last modified by Dimitar Misev)

While importing Sentinel 1 SLC data with wcst_import.sh:

Service Call: http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=InsertCoverage&coverageRef=file:///tmp/ce86a214_1004_4b81_875a_6c7813ae6727.gml&tiling=ALIGNED [0:1023, 0:1023]&pixelDataType=CInt16&useId=existing
Error Code: InvalidParameterValue
Error Text: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ows:ExceptionReport version="2.0.0"
    xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"
    xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <ows:Exception exceptionCode="InvalidParameterValue">
        <ows:ExceptionText>Pixel data type CInt16 unknown.</ows:ExceptionText>
    </ows:Exception>

</ows:ExceptionReport>

Attached is a sample tiff file.

Rasdaman supports only 64 and 128 bit complex numbers (floating point only). We should extend this, best to match the GDAL complex number types: http://www.gdal.org/gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4

Change History (6)

by Dimitar Misev, 9 years ago

Attachment: sample.tif added

comment:1 by Vlad Merticariu, 9 years ago

We could map that to r_Complex, but the problem is that r_Complex is 64 bit (which is the smallest complex type rasdaman supports).

Gdal supports from 16 to 64 bit complex types: http://www.gdal.org/gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4

comment:2 by Dimitar Misev, 9 years ago

Cc: Peter Baumann added

I guess it's time to add more complex types in rasdaman?

comment:3 by Peter Baumann, 9 years ago

a valid request indeed - Sentinel is important. Hope we can find resources - maybe someone from the community would like embark on this…

comment:4 by Dimitar Misev, 9 years ago

Owner: changed from Alex Dumitru to Vlad Zamfir
Status: newassigned

comment:5 by Dimitar Misev, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.