Opened 12 years ago

Closed 5 years ago

#4698 closed defect (wontfix)

[gdal_merge.py] HDF input, ENVI output; unable to open in ENVI

Reported by: dcd Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: 1.11.0
Severity: normal Keywords: gdal_merge.py ENVI HDF4
Cc:

Description

I'm using gdal_merge.py (1.9.1) to stack several HDF4 files created using gdal_calc2.py and output to ENVI format. When opening up the resulting ENVI file in ENVI 4.8, I get the following error:

'Problem: An error was encountered reading this header file. Error: "READS: Input conversion error. Unit: 0, File: <stdin>"'

Removing the line beginning with "coordinate system string = ....." from the header file (attached) allows the file to load properly in ENVI. Georeferencing is also maintained properly.

Attachments (1)

test (2).hdr (785 bytes ) - added by dcd 12 years ago.
ENVI header file created by gdal_merge.py 1.9.1

Download all attachments as: .zip

Change History (3)

by dcd, 12 years ago

Attachment: test (2).hdr added

ENVI header file created by gdal_merge.py 1.9.1

comment:1 by azvoleff, 10 years ago

Version: 1.9.11.11.0

Is there any news on this issue? I am still seeing this on GDAL 1.11.0, and just had someone file a report on one of my packages regarding it: https://github.com/azvoleff/teamlucc/issues/17

comment:2 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.