Reading hdf files into R and converting them to geoTIFF rasters

后端 未结 4 610
傲寒
傲寒 2020-12-05 06:05

I\'m trying to read MODIS 17 data files into R, manipulate them (cropping etc.) and then save them as geoTIFF\'s. The data files come in .hdf format and there

4条回答
  •  攒了一身酷
    2020-12-05 06:36

    Use the HEG toolkit provided by NASA to convert your hdf file to geotiff and then use any package ("raster" for example) to read the file. I do the same for both old and new hdf files.

    Heres the link: https://newsroom.gsfc.nasa.gov/sdptoolkit/HEG/HEGHome.html

    Take a look at the NASA products supported here: https://newsroom.gsfc.nasa.gov/sdptoolkit/HEG/HEGProductList.html

    Hope this helps.

提交回复
热议问题