[ncl-talk] Weekly files_selection

Soma Roy somaroy892 at gmail.com
Tue May 4 07:40:18 MDT 2021


Hello NCL users,

I am working for weekly rainfall.
>From model simulation, I am getting daily rainfall files in the directory.

Now, I want to select last 7 days rainfall files from directory for present
date/days.

Files are storing in the dir like:
Day_1.csv
Day_2.csv
Day_3.csv
.
.
Day_7.csv
Day_8.csv
And
So on..

On day 7th, I want to select 1st weekly rainfall (i.e. 1st 7 files avg.)
And day 8th, it will take from Day_2 to Day_8 files and so on.

Please kindly inform me how to do the above in NCL.

Thanks in advance.

Regards,
Soma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210504/9a4cc5d4/attachment.html>


More information about the ncl-talk mailing list