How can I display the variables in .nc files?

5 views (last 30 days)
Hi,
I downlod .nc file of chlorophyll-a data from Aqua MODIS, NPP, L3SMI, Global, 4km, Science Quality, 2003-
present (Monthly Composite), Lon0360 database (NOAA). This is the command which I used.
F='Total_Chl'
ncdisp(F)
But it displayed some error and I showed in below.
F =
'Total_Chl'
Error using internal.matlab.imagesci.nc/openToRead (line 1272)
Could not open Total_Chl for reading.
Error in internal.matlab.imagesci.nc (line 121)
this.openToRead();
Error in ncdisp (line 62)
ncObj = internal.matlab.imagesci.nc(ncFile);
So, I want to know how can I display the variables?

Answers (1)

KSSV
KSSV on 21 Apr 2023
Try giving the extension.
F='Total_Chl.nc'
ncdisp(F)

Categories

Find more on Large Files and Big Data in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!