Skip to content
Prev 20702 / 29559 Next

reading .hdf files

I want to follow up with this -- I confirmed Barry's suspicion that
that file you sent above ("GVIX_NL_G16_C07_NVI_Y2005_P26.hdf") has no
projection information (or bounding box or pixel resolution), so there
is no way to do the extract unless that is fixed.  Run a:

gdalinfo("GVIX_NL_G16_C07_NVI_Y2005_P26.hdf")

and you'll see there is not a properly set projection -- the .tif,
thus, also doesn't have any projection info.  This is an issue with
the input file, not with any of our functions.  You will need to set
your own projection, bounding box, and pixel sizes on the raster via
e.g. ?projection, ?res, ?extent

What are these files?  Are they satellite data?  Do you know if there
is another source for them that may have the information set
"properly"?

--j

On Fri, Mar 28, 2014 at 11:38 AM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote: