I've been trying to accurately import and process some .hdf files from the MODIS Atmospheric Profile product (MOD07_L2) in R for several days now. Still, there'sThere's something going wrong during data import. The below code can be reproduced using one exemplaryexample .hdf file (MOD07_L2.A2013001.0835.006.2013001192145.hdf) that can be downloaded from Dropbox.
Is there an apparent mistake in my code, or is there any point I miss when importing the .hdf and .tif files using rgdal
? I would be extremely grateful for any kind of help.