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)
  1 件のコメント
Sakuni Samarakoon
Sakuni Samarakoon 2023 年 4 月 21 日
Thank you. I resolved that issue.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLarge 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