Menu

#12 Question on selecting multi-year date windows

open
nobody
None
5
2013-07-17
2013-07-08
Ed M.
No

I have a multi-year nc file with daily data. I want to select all of the data (at one lat-lon point) with dates falling within +-15 days of a specified date. For instance, for Jan 1, I'd want the data for all dates from Dec 17 through Jan 16 for all years. Is there a relatively simple way to do that?

Related

Support Requests: #12

Discussion

  • Ed M.

    Ed M. - 2013-07-12

    Here's an addendum - perhaps a simpler problem. I saw an older post (~2009) where someone was trying to extract sets of days (all 122 days in JJAS) for files with multiple years of data. A solution was expected a year from then -- was this solved? If so, that would be another approach I could use.

     
  • Ed M.

    Ed M. - 2013-07-17

    Thanks, Charles. That is very helpful, and will work in my case if I scroll through each year and choose those segments and concatenate the data. But with a single file containing 150 years of daily data this seems inefficient. Is there a way to select all of the days in a window (for example, select all of the January days in the file, so 150 x 31 days)? This would be like the cdo function 'selmon'.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.