Opened 13 years ago

Closed 13 years ago

#4141 closed defect (fixed)

Not all bands (MDS) are read properly from the MERIS Level 2 imagery

Reported by: korosov Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: default Version: unspecified
Severity: normal Keywords: meris
Cc: antonio

Description

gdalinfo MER_RR2PNPDK20110502_144833_000024913102_00097_47956_7579.N1

gives (last lines only):

Band 1 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(1)

Band 2 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(2)

Band 3 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(3)

Band 4 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(4)

Band 5 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(5)

Band 6 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(6)

Band 7 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(7)

Band 8 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(8)

Band 9 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(9)

Band 10 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(10)

Band 11 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(11)

Band 12 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(12)

Band 13 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Norm. rho_surf - MDS(13)

Band 14 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = YS, SPM, Rect. Rho- MDS(16)

Band 15 Block=1121x1 Type=UInt16, ColorInterp=Undefined

Description = Alpha, OPT - MDS(19)

MDSs are numbered from 1 to 13, then 16 and 19. And in the file MDSs 14-15 and 17-18 also exist.

The MERIS Level 2 file could be downloaded from: http://www.brockmann-consult.de/cms/web/beam/meris-products or the direct link to the example (29 MB): http://www.brockmann-consult.de/beam/data/products/MER_RR__2PNPDK20030809_100609_000022512018_00466_07534_3898.zip

Attachments (1)

envisat_meris_L2_bands.patch (2.4 KB ) - added by antonio 13 years ago.
Patch to read all MERIS L2 bands

Download all attachments as: .zip

Change History (7)

comment:1 by antonio, 13 years ago

Cc: antonio added

by antonio, 13 years ago

Patch to read all MERIS L2 bands

comment:2 by antonio, 13 years ago

The attached patch should fix the issue and also #4142. I've still not committed it because it needs some more testing.

comment:3 by antonio, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r22702 (source:trunk only).

comment:4 by korosov, 13 years ago

Wow, the progress is obvious! Now all MDS are read. But there are still seem to be problems: gdalinfo MER_RR2PNPDK20030809_100609_000022512018_00466_07534_3898.N1

Band 15 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Chl_1, TOAVI - MDS(15)

Band 16 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = YS, SPM, Rect. Rho- MDS(16) (0)

Band 17 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = YS, SPM, Rect. Rho- MDS(16) (1)

Band 18 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Chl_2, BOAVI - MDS(17)

Band 19 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Press PAR Alb - MDS(18)

Band 20 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Epsilon, OPT - MDS(19) (0)

Band 21 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Epsilon, OPT - MDS(19) (1)

Band 22 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Flags - MDS(20) (0)

Band 23 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Flags - MDS(20) (1)

Band 24 Block=1121x1 Type=Byte, ColorInterp=Undefined

Description = Flags - MDS(20) (2)

MDS(15) should contain TWO bands: CHL_1 and TOAVI; MDS(16) should contain THREE bands: YS, SPM, Rect. Rho; MDS(17) should contain TWO bands: Chl_2, BOAVI; MDS(20) should contain ONE band: Flags. So this patch closes this ticket but leaves #4142 open.

comment:5 by antonio, 13 years ago

Milestone: 1.8.11.9.0
Resolution: fixed
Status: closedreopened

comment:6 by antonio, 13 years ago

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