How can I save a Modis HDF-eos grid after analysis?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm reading a Modis level-3 product - for example:
Then, I'm reading it to matlab and perform some analysis - for example:
S = hdfinfo([pathname filename]);
NBAR_RED=hdfread(S.Vgroup.Vgroup(1).SDS(1));
NBAR_NIR=hdfread(S.Vgroup.Vgroup(1).SDS(2));
NBAR_RED=double(NBAR_RED);
NBAR_NIR=double(NBAR_NIR);
NDVI=(NBAR_NIR-NBAR_RED)./(NBAR_NIR+NBAR_RED);
How can I save NDVI as HDF-eos that is geographically matching the original image?
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre HDF5 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!