필터 지우기
필터 지우기

How to load in NC file with '/directory/' like this before variables??

조회 수: 3 (최근 30일)
Michael
Michael 2016년 11월 21일
댓글: Nirav Sharda 2016년 11월 28일
When loading in an nc file with this info:
ncinfo(ncfile)
Filename: '/directories/A2016105124000.L2_LAC_OC.x.nc'
Name: '/'
Dimensions: [1x5 struct]
Variables: []
Attributes: [1x51 struct]
Groups: [1x5 struct]
Format: 'netcdf4'
It shows no variables. But I know the variables are hidden in 'scan_line_attributes':
ncinfo(ncfile,'/scan_line_attributes/')
Filename: '/directories/A2016105124000.L2_LAC_OC.x.nc'
Name: 'scan_line_attributes'
Dimensions: []
Variables: [1x12 struct]
Attributes: []
Groups: []
Format: 'netcdf4'
How can I load the variables in 'scan_line_attributes' using ncread?
I'm using MATLAB 2016a.
  댓글 수: 7
Michael
Michael 2016년 11월 21일
Sorry, I'm not sure I can share the data that the nc file contains. I apologise if it makes it harder to answer this question!
Nirav Sharda
Nirav Sharda 2016년 11월 28일
Can you create a sample nc file that would be helpful in identifying solutions to this issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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