[Thread Prev][Thread Next][Index]

[ferret_users] Selecting groups of data



Ferret User Community
                                       I am trying to work with a very large grided dataset and trying to get as high a resolution as possible. I am trying to correlate 1 season of data across a number of years to a time series. Thus, it appears that I need to average 498355200 points of data into four seasons then perform a stride so that only the winter season is selected (right now defined as JFM, later I will need to compare to DJF). 

                                         The problem is that there are too many data points for my ferret to average the data into 4 seasons as it gives me a memory error when I try to work with the resulting variable. If I first trim down the data (stride over several degrees Lat and Long) into a variable, the correlation does work. I think that if I could first isolate JFM monthly data from the rest of the year, then average those, I will be able to perform @AVE over a larger part of the dataset of interest to me and create a higher resolution correlation.

                                         Is there a way to select chunks of data? Say if I had 24 months over 2 years, so that L=1:24, somehow select 1:3, then 13:15? I could imagine using a command like 1:24:3:12, (select 3 points at every 12th value). My browsing through the documentation makes it seem impossible, but it seems like such a simple request, I have a hard time believing that.

Alexander Audet

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement