Skip to content

Commit

Permalink
Automatically fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Jan 17, 2024
1 parent cc5a85d commit 228062a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/era5_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 228062a

Please sign in to comment.