How can I display the variables in .nc files?

조회 수: 5 (최근 30일)
Sakuni Samarakoon
Sakuni Samarakoon 2023년 4월 21일
댓글: Sakuni Samarakoon 2023년 4월 21일
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