pyremo.preproc.ERA5Preprocessor.run
- ERA5Preprocessor.run(start, end=None, freq='6h', outpath=None, compute=False, write=True, initial=None, static=None, **kwargs)
Batch preprocess a sequence of timesteps.
- Parameters:
start (
strordatetime-like) – Start date/time.end (
strordatetime-like, optional) – Inclusive end date/time. IfNoneonlystartis processed.freq (
str, optional) – Timestep frequency passed todatelist()(default"6h").outpath (
str, optional) – Output path template. Falls back toself.outpathifNone.compute (
bool, optional) – IfTruetriggers immediate Dask computation; otherwise delayed objects are returned.write (
bool, optional) – IfTruedatasets are written to disk; otherwise returned in memory.initial (
boolorNone, optional) – Explicit initial-condition flag. IfNonethe first timestep is marked initial.**kwargs – Extra keyword arguments forwarded to
preprocess()/remap.
- Returns:
list– List ofxarray.Datasetobjects or file paths depending onwrite/computeflags.