[Thread Prev][Thread Next][Index]

Re: [ferret_users] Selecting groups of data



Hi Alexander,

On Sat, Jan 4, 2020 at 12:27 AM Alexander Audet <alexander.c.audet@xxxxxxxxx> wrote:

                                         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.

I suspect there are smarter ways, but I would try 1) saving  yourvariable[L=1:3@AVE], yourvariable[L=13:15@AVE], etc.  into separate files, 2) combining them as an ensemble (aggregate), and 3) taking the ensemble average.

Or, I might consider exploring NCO, which seems to directly support your idea:  http://nco.sourceforge.net/nco.html#drn

Cheers,
Ryo


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

Privacy Policy | Disclaimer | Accessibility Statement