[R-sig-Geo] Problem reading a HDF5 file with readGDAL in Windows
Oscar Perpiñan
oscar.perpinan at gmail.com
Tue May 5 13:34:40 CEST 2015
Hello,
I am trying to read a HDF5 file whose variable name contains '//'. I have no
problem in a Linux machine, but 'readGDAL' throws an error in Windows. If I
am not wrong, it is because the initialize method of the 'GDALReadOnlyDataset'
class includes a call to 'normalizePath'.
For example, the next code works in Linux but fails in Windows (it uses this
file
ftp://atrain.sci.gsfc.nasa.gov/data/s4pa//OMI/OMCLDO2_CPR.003/2015/125/OMI.L2.CloudOMCLDO2Strip200kmAlongCloudSat.2015.05.05.020752Z.v003.he5
)
x <- readGDAL("HDF5:OMI.L2.CloudOMCLDO2Strip200kmAlongClo
udSat.2015.05.05.020752Z.v003.he5://HDFEOS/SWATHS/
CloudFractionAndPressure/Data_Fields/ChiSquaredOfFit")
Is there any way to circumvent this problem?
Thanks in advance.
Oscar.
-----------------------------------------------------------------
Oscar Perpiñán Lamigueiro
Dpto. Ing. Eléctrica, Electrónica, Automática y Física Aplicada (ETSIDI-UPM)
Grupo de Sistemas Fotovoltaicos (IES-UPM)
URL: http://oscarperpinan.github.io
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list