reading on matlab

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
nada31
Posts: 37
Joined: Tue Sep 26, 2017 9:30 am America/New_York

reading on matlab

by nada31 » Sat Dec 28, 2019 7:40 am America/New_York

I want to read this image (A20130652013072.L3m_8D_CHL_chlor_a_4km.nc) on MATLAB I exported it to HDF5

i did : data=hdfread(['D:\K\A20130572013064.L3m_8D_CHL_chlor_a_4km.h5',num2str(t_annee(1i,:)),'/A',num2str(t_annee(1i,:)),jour,'.L3m_DAY_chlor_4'],'l3m_data');

where is the error ??

Tags:

bruce
Posts: 85
Joined: Thu Mar 17, 2005 4:36 pm America/New_York

reading on matlab

by bruce » Wed Jan 01, 2020 11:06 am America/New_York

why are you converting to hdf5?  When I do something similar with PIC, I simply

pic = ncread('A20110012011031.L3m_8D_PIC_pic_4km.nc','pic');

Post Reply