Proba-V reader should use original band names from metadata

Description

For PROBA-V Sx GeoTIFF products the band names are not displayed. This is probably caused by the fact that the GeoTIFF reader is not taking into account the GDAL metadata in the GeoTiff product. Same is true for the no-data values.

This will probably be useful for other (non-PROBA-V) GeoTIFF products as well.

{{
gdalinfo PROBAV_S1_TOC_X30Y02_20150301_1KM_V001_RADIOMETRY.tif
Driver: GTiff/GeoTIFF
Files: PROBAV_S1_TOC_X30Y02_20150301_1KM_V001_RADIOMETRY.tif
Size is 1120, 1120
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (119.995535714285708,55.004464285714285)
Pixel Size = (0.008928571428571,-0.008928571428571)
Metadata:
=Standard Raster Product (ASRP/USRP)
AREA_OR_POINT=Area
TIFFTAG_COPYRIGHT=VITO
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 119.9955357, 55.0044643) (119d59'43.93"E, 55d 0'16.07"N)
Lower Left ( 119.9955357, 45.0044643) (119d59'43.93"E, 45d 0'16.07"N)
Upper Right ( 129.9955357, 55.0044643) (129d59'43.93"E, 55d 0'16.07"N)
Lower Right ( 129.9955357, 45.0044643) (129d59'43.93"E, 45d 0'16.07"N)
Center ( 124.9955357, 50.0044643) (124d59'43.93"E, 50d 0'16.07"N)
Band 1 Block=256x256 Type=Int16, ColorInterp=Gray
NoData Value=-1
Metadata:
BAND=RED
DESCRIPTION=Top Of Canopy Reflectance RED - channel
NODATA=-1.00000
UNITS=-
Band 2 Block=256x256 Type=Int16, ColorInterp=Undefined
NoData Value=-1
Metadata:
BAND=NIR
DESCRIPTION=Top Of Canopy Reflectance NIR - channel
NODATA=-1.00000
UNITS=-
Band 3 Block=256x256 Type=Int16, ColorInterp=Undefined
NoData Value=-1
Metadata:
BAND=BLUE
DESCRIPTION=Top Of Canopy Reflectance BLUE - channel
NODATA=-1.00000
UNITS=-
Band 4 Block=256x256 Type=Int16, ColorInterp=Undefined
NoData Value=-1
Metadata:
BAND=SWIR
DESCRIPTION=Top Of Canopy Reflectance SWIR - channel
NODATA=-1.00000
UNITS=-
}}

Environment

None

GitHub Work

None

Activity

Show:

Olaf Danne13 September 2019 at 13:33

Fix was implemented and tested just for Proba-V S* GeoTiff products. The general case (non Proba-V) needs to be explored in more detail

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created 2 December 2015 at 09:42
Updated 10 February 2023 at 13:41
Resolved 10 February 2023 at 13:32

Flag notifications