필터 지우기
필터 지우기

Trouble getting a variable from a netcdf file

조회 수: 12 (최근 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 CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by