Hi,

I am wondering if someone can help to point what I am doing wrong here.

This is data that I am trying to access:

$ gdalinfo 
/vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz
ERROR 11: HTTP response code: 403
gdalinfo failed - unable to open 
'/vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz'.

If the error 403 means permission issue, why is that I can download from a 
browser or using wget

$ wget 
https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz
$ gdalinfo /vsigzip//GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz

That makes me thinking that I should concatenating the two drivers vsigzip and 
vsicurl, but that doesn't help probably because I still have the permission 
issue.

$ gdalinfo 
/vsigzip//vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz
ERROR 4: 
`/vsigzip//vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz'
 does not exist in the file system, and is not recognized as a supported 
dataset name.
gdalinfo failed - unable to open 
'/vsigzip//vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz'.

I am using GDAL 2.3.3 on Windows, GDAL 2.3.3 Linux and GDAL 2.4.4 on Mac.

Any suggestion?

Thanks,

Ivan






_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to