Extracting data for only one season from a NetCDF file.
1 view (last 30 days)
Show older comments
Hi all. I am working with a NetCDF of ocean wave characteristics for calculating the wave power off Ireland's west coast. The data has a time series of 3 years and I want to do a season by season analysis and so need to call the individual seasons from the file (eg. the March, April and May data for Spring, the June, July and August data for summer etc.). Does anyone have experience with this?
0 Comments
Answers (4)
KSSV
on 4 Apr 2019
Read about ncread. FIrst read the time data.......pick the required time using datevec / datetime/ datestr. Once you have indices of these...pick only these indices data using ncread.
Olusola Ayantobo
on 16 Sep 2019
Hi Ross, Please i'm interested in extracting data for seasons. Please can you share your code with me? Thanks
0 Comments
See Also
Categories
Find more on NetCDF in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!