Trouble getting a variable from a netcdf file

10 ビュー (過去 30 日間)
Robert
Robert 2012 年 5 月 22 日
Hello, I have a netcdf file that reads like this when i display it:
ncdisp(filename)
Source:
G:\cwilson\LakeTahoeTB1-JPL38001-N39153000W120000300.2001.noaa-15.gac.20km.extracted_data.nc
Format:
netcdf4
Dimensions:
number_data_sets = 299
number_scan_lines = 3797
number_pixels = 17950
Variables:
data_sets
Size: 299x1
Dimensions: number_data_sets
Datatype: UNSUPPORTED DATATYPE
Attributes:
description = UNSUPPORTED DATATYPE
md5sum =
scan_lines
Size: 3797x1
Dimensions: number_scan_lines
Datatype: UNSUPPORTED DATATYPE
Attributes:
description = UNSUPPORTED DATATYPE
md5sum =
pixels
Size: 17950x1
Dimensions: number_pixels
Datatype: UNSUPPORTED DATATYPE
Attributes:
description = UNSUPPORTED DATATYPE
md5sum =
%%%%%%%%%%%%%%%%%%%%
I left out the md5sum because it took up space. Anyway the the datasets,pixels, and scan_lines are actually structures that contain variables inside of them. Any idea on how to get matlab to read the variables from these structures.
thanks in advance, Chris

回答 (1 件)

John
John 2012 年 5 月 23 日
Try using H5DISP and H5READ.

カテゴリ

Help Center および File ExchangeNetCDF についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by