[ncl-talk] addfiles: selecting files with datestamp in filename

Sujit Maji sujit.cat at tropmet.res.in
Thu Oct 12 00:05:34 MDT 2017


Hi all,

Have anyone tried to select wrfout*(WRF model output) files (as input to addfiles function in ncl) based on the date stamp on filename ?

e.g. suppose filename is  wrfout_d01_2016-12-01_00:00:00 

and 

I want to select files with dates later than 2016_12_01 (1st December 2016) in filename i.e. wrfout_d01_2016-12-02_00:00:00 or wrfout_d01_2016-12-03_00:00:00. 


I don't have expertise in sed,awk or find utilities of GNU. That's why I asked.

If anyone have tried please share any experience.

Thanks and regards,
Sujit Maji
IITM Pune


More information about the ncl-talk mailing list