Trouble getting a variable from a netcdf file

12 views (last 30 days)
Robert
Robert on 22 May 2012
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

Answers (1)

John
John on 23 May 2012
Try using H5DISP and H5READ.

Tags

Community Treasure Hunt

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

Start Hunting!