Am 17.09.2014 04:59, schrieb Love:
Hi,

Thanks! But it is workig only for some while for some hdf's, error still
appears. I assigned one uniform target extent for all the files since this
was what I specified before I downloaded the files from the oceancolor nasa.


The extent of the hdf file(s) is different than the rectangular extent you ordered. You have to run gdalinfo on each hdf file to get the information.

Look out for something like:

  geospatial_lat_max=24.78230858
  geospatial_lat_min=5.343300343
  geospatial_lat_units=degrees_north
  geospatial_lon_max=139.3295746
  geospatial_lon_min=126.3987579
  geospatial_lon_units=degrees_east

HTH,
André Joost

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to