Trouble getting a variable from a netcdf file
8 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NetCDF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!