[R-SIG-Mac] HDF4 Support for GDAL
David Winsemius
dw|n@em|u@ @end|ng |rom comc@@t@net
Wed Jun 24 18:11:13 CEST 2020
Have you attempted installing and using
https://cran.r-project.org/web/packages/gdalUtils/gdalUtils.pdf
I don't have any experience with it but it says it can extract
sub_datasets from HDF4
--
David.
On 6/24/20 7:00 AM, Matt Strimas-Mackey wrote:
> Hi all,
>
> The MODIS package uses gdalwarp to process MODIS data. Previously it called gdalwarp via system(), however, it recently switched to using the function sf::gdal_utils() to access gdalwarp, which is more portable and avoids users having to install GDAL on their system. The catch is that HDF4 support is required for processing MODIS data. The Windows sf binaries already come with HDF4 support for GDAL, however, the Mac OS binaries do not, which makes the MODIS package unusable on Mac unless sf is compiled from source, which is challenging. More context on this issue is available here: https://github.com/MatMatt/MODIS/issues/78
>
> In the above GH issue, Tim Salabim suggested this listserv would be a good place to connect with someone that could get HDF4 support into the Mac OS binaries. Any suggestions for how to proceed would be appreciated!
>
> Thanks!
>
> Matt
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list