HDF5 error

184 views
Skip to first unread message

James Banting

unread,
May 31, 2016, 3:17:47 PM5/31/16
to RSGISLib Support

Hello all. 
Im following along with Dan's tutorial, and have ran into some issues when running the conversion to radiance.

My environment/specs are as follows:
OSX Yosemite
miniconda2
python=3.4
GDAL_DATA=~/miniconda2/envs/remote/share/gdal

GDAL_DRIVER_PATH=~/miniconda2/envs/remote/gdalplugins:~/miniconda2/envs/remote/lib/gdalplugins


The error im getting is:
Reading header file
Extracting Header Values
ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.
ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
Input imagery as listed in header file is present.
Get aero profile from image...
Error: Specified image band is not within the input image.
Processing took 0h 0m 0.11s. Thank you for using ARCSI.

HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
  #000: H5G.c line 812 in H5Gclose(): not a group
    major: Invalid arguments to routine
    minor: Inappropriate type

I have verified that the gcs.csv file is located within the GDAL_DATA path.
The HDF5 error is repeated for quite a while.
The Landsat file is from USGS.

Any help is appreciated.
Thanks,

James Banting

Daniel Clewley

unread,
May 31, 2016, 3:46:31 PM5/31/16
to James Banting, RSGISLib Support
Hi James,

If you run:

ls $GDAL_DATA

What files does it list.

Thanks,

Dan

--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.

James Banting

unread,
May 31, 2016, 3:53:44 PM5/31/16
to Daniel Clewley, RSGISLib Support

Oh man.... 

I had quotes around my GDAL_DATA variable in .bash_profile.

Old and wrong -- GDAL_DATA="~/miniconda2/envs/remote/share/gdal"

New and correct -- GDAL_DATA=~/miniconda2/envs/remote/share/gdal


It's working now, thanks for pointing me in the write direction.

Reply all
Reply to author
Forward
0 new messages