Opened 5 years ago

Closed 5 years ago

#1996 closed defect (fixed)

wrong datatype for multiband netcdf with bands of different type

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

Description (last modified by Vlad Merticariu)

Trying to import a netcdf file with 3 bands (float, float, short) fails because petascope creates a type with identical band types (float, float, float):

Request: 'CREATE TYPE CHL_Concentration_L4_8days_Cell AS ( band0 float ,band1 float ,band2 float )'… parsing… checking semantics… evaluating… ok

Data and ingredient to reproduce: http://download.rasdaman.org/geodata/awi/13

Change History (7)

comment:1 by Bang Pham Huu, 5 years ago

Cc: Dimitar Misev added

comment:2 by Dimitar Misev, 5 years ago

Could it be imported in 3 separate single-band coverage?

comment:3 by Vlad Merticariu, 5 years ago

Description: modified (diff)

comment:4 by Vlad Merticariu, 5 years ago

It could, but the bug still remains.

comment:5 by Dimitar Misev, 5 years ago

pixelDataType should be extended to support a list of types for each band (e.g. pixelDataType=short,float,float)

comment:7 by Bang Pham Huu, 5 years ago

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