r-spatial / dtwSat

Time-Weighted Dynamic Time Warping for satellite image time series analysis
https://www.victor-maus.com/dtwSat/
GNU General Public License v3.0
130 stars 39 forks source link

extraction of bands from ".hdf" format and those series of bands to be stack in single image on R-program #58

Closed hemubinni closed 1 year ago

hemubinni commented 1 year ago

Dear Sir,

I am Hemanth, a Remote Sensing expert working on a project related to Land Use and Land Cover (LULC) for crop analysis in drought-prone areas. I am currently facing an issue in extracting bands from MOD13Q1 dataset, which are in ".hdf" format, and stacking them into a single image using the code. I am seeking your valuable suggestions on any alternative processes for performing these tasks in R program.

Thank you in advance for your time and assistance.

vwmaus commented 1 year ago

The new package version should handle MODIS hdf files using stars. Please reinstall it with install.packages("dtwSat"). Please see this for the new workflow https://r-spatial.github.io/dtwSat/articles/landuse-mapping.html and this to read hdf as stars https://rpubs.com/michaeldorman/723959.