How to load in NC file with '/directory/' like this before variables??
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Nirav Sharda
2016-11-28
Can you create a sample nc file that would be helpful in identifying solutions to this issue.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NetCDF 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!