Returns HDF4, HDF5, and NetCDF subdataset names for standardized files.
Character. Input HDF4/5 or NetCDF file.
Logical. Return subdataset names only? Default=TRUE.
Logical. Enable verbose execution? Default is FALSE.
Currently, this only returns the subdataset names of HDF4, HDF5, and NetCDF files, assuming they follow the SUBDATASET_n_NAME convention. This can be used with gdal_translate to extract a single subdataset (or with gdal_translate(...,sd_index=n)
This function assumes the user has a working GDAL on their system. If the "gdalUtils_gdalPath" option has been set (usually by gdal_setInstallation), the GDAL found in that path will be used. If nothing is found, gdal_setInstallation will be executed to attempt to find a working GDAL.
character vector of subdataset names that can be used in gdal_translate.
Jonathan A. Greenberg (gdalUtils@estarcion.net) and Matteo Mattiuzzi (wrapper) and Frank Warmerdam (GDAL lead developer).
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.