Read through NETCDF files...

Dear All,
I am dealing with extracting the parameters through NETCDF files. I know how to get variation from profile data;however, when I try to get it from Global data I face difficulty. Which means using this code (please see below)
"lc-time=double(netcdf.getAtt(ncFileId,netcdf.getConstant('NC_GLOBAL'),'lc-time'));"
But, this only give me a constant value (as mentioned in the code) while I need all the data.
Would you please guide me?
Thank you, Ara

Answers (0)

Asked:

on 9 Jan 2017

Edited:

on 10 Jan 2017

Community Treasure Hunt

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

Start Hunting!