How can I save a Modis HDF-eos grid after analysis?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!