[GRASS-dev] HDF5 datasets and georeferencing

Dear List,

I have a HDF5-image with several subdataset. Accroding to gdalinfo it
is projected in epsg:4326 (lon/lat) but the corner-coords seem not to
represent the correct corrdinates. Therefor GRASS complains during import.

gdalinfo
HDF5:"noaa16_[long-name]_.hdf"://cloudmask
Driver: HDF5Image/HDF5 Dataset
Size is 1024, 1024
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 1024.0)
Upper Right ( 1024.0, 0.0)
Lower Right ( 1024.0, 1024.0)
Center ( 512.0, 512.0)
Band 1 Block=1024x1 Type=Byte, ColorInterp=Undefined
  Metadata:
    cloudmask:CLASS=IMAGE
    cloudmask:description=Categorical cloud mask
    cloudmask:output_value_namelist=
    cloudmask:IMAGE_VERSION=1.2
    cloudmask:PALETTE=

Is this a specific-problem of the HDF5-driver (and thererfor better
posted on gdal-dev)?

I am using gdal-1.3.2.

Thanks for your comments.

Best regards

  Stephan

--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Stephan Holl wrote:

Dear List,

I have a HDF5-image with several subdataset. Accroding to gdalinfo it
is projected in epsg:4326 (lon/lat) but the corner-coords seem not to
represent the correct corrdinates. Therefor GRASS complains during import.

Stephan,

Can you make your hdf5 dataset available for review? I suspect there is
some sort of WGS84 geolocation in the file that isn't being returned.
There *might* be something that can be done about it.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org

Hello Frank,

On Tue, 30 May 2006 13:07:28 -0400 Frank Warmerdam
<warmerdam@pobox.com> wrote:

Stephan Holl wrote:
> Dear List,
>
> I have a HDF5-image with several subdataset. Accroding to gdalinfo
> it is projected in epsg:4326 (lon/lat) but the corner-coords seem
> not to represent the correct corrdinates. Therefor GRASS complains
> during import.

Stephan,

Can you make your hdf5 dataset available for review? I suspect there
is some sort of WGS84 geolocation in the file that isn't being
returned. There *might* be something that can be done about it.

I need to check with if the data can be made available to you. This can
be sorted out soon and I will keep you posted.

best
  Stephan

--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508