How can I display the variables in .nc files?

7 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Large Files and Big Data 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by