How to read and plot nc4 files?
13 views (last 30 days)
Show older comments
I have downloaded huge nc4-files from NASA through matlab. Just wondering if someone know how to read spesific things in these files and then plot them?
0 Comments
Accepted Answer
KSSV
on 8 May 2017
Read about ncdisp, ncread
These two should be enough to read the data.
More Answers (1)
kk1991
on 8 May 2017
1 Comment
KSSV
on 8 May 2017
It is very much possible.....Read the documentation....
lon = ncread('myfile.nc','lon') ;
lat = ncread('myfile.nc','lat') ;
data = ncread('myfile.nc','data') ;
% plot here
And please don't type your comment sin answer box. You comment under the answer/ comment.
See Also
Categories
Find more on Standard File Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!