An error was encountered during execution of the HDFEOS library function "GDreadfield".

Hi, I am trying to get data and plot a MODIS hdf file, but I keep getiing the error
Error in matlab.io.hdfeos.gd.readField (line 65)
hdfeos_gd_error(status,'GDreadfield');
[data,lat, lon] = gd.readField(grid_id, '250m_16_days_NDVI', [], [], []);
I tried searching what is the issue online, but no answer. Please help. Thank you

 Accepted Answer

You might be giving improper inputs to matlab.io.hdfeos.gd.readField. You may execute the following. This opens the source file. You can then use breakpoints to debug the issue.
edit matlab.io.hdfeos.gd.readField

More Answers (0)

Products

Release

R2021a

Asked:

L
L
on 4 Jun 2021

Answered:

on 7 Jun 2021

Community Treasure Hunt

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

Start Hunting!