Borrar filtros
Borrar filtros

How can I save a Modis HDF-eos grid after analysis?

3 visualizaciones (últimos 30 días)
Offer Rozenstein
Offer Rozenstein el 10 de Mayo de 2016
Editada: per isakson el 11 de Mayo de 2016
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?

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by