Trouble getting a variable from a netcdf file
조회 수: 10 (최근 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!