I have a folder with files whose name goes from f000 to f168, and I would like to select only files above f000, that is, from f003, f006, to f168. How can I do this ?
The file name starts like this:
gfs.0p25.2020010100.f000.WE.grib2
I have a folder with files whose name goes from f000 to f168, and I would like to select only files above f000, that is, from f003, f006, to f168. How can I do this ?
The file name starts like this:
gfs.0p25.2020010100.f000.WE.grib2
Copyright © 2021 Jogjafile Inc.
As suggested above, you can always filter the list of files before passing them to
open_mfdataset
:Alternatively, you may be able to tune your
glob
string to do this automatically: