diff --git a/scripts/era5_return.py b/scripts/era5_return.py index f4e0c1d..abc20fa 100644 --- a/scripts/era5_return.py +++ b/scripts/era5_return.py @@ -24,13 +24,15 @@ def main() -> None: parser.add_argument("-o", "--outfile", type=str) args = parser.parse_args() - # this makes the workflow easier to debug and run in a notebook vs + # this makes the workflow easier to debug and run in a notebook vs # using args.infiles and args.outfile infiles = args.infiles outfile = args.outfile # read in the raw data - temp = xr.open_mfdataset(infiles)["t2m"].compute().isel(expver=1).drop_vars("expver") + temp = ( + xr.open_mfdataset(infiles)["t2m"].compute().isel(expver=1).drop_vars("expver") + ) temp_roll = xr.concat( [ temp.rolling(time=dur).mean().assign_coords({"duration": dur})