Skip to content

Commit

Permalink
Doofus
Browse files Browse the repository at this point in the history
  • Loading branch information
danshapero committed Jan 30, 2024
1 parent 1293d96 commit e1d802e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/kangerd/mar.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
for year in range(start_year, end_year + 1):
filename = f"MARv3.12-yearly-ERA5-{year}.nc"
if not pathlib.Path(filename).is_file():
subprocess.run(f"curl -O {base_url}/{filename}")
subprocess.run(f"curl -O {base_url}/{filename}".split())

dataset = xarray.open_dataset(filename)
smb = dataset.sel(x=xrange y=yrange)["SMB"]
smb = dataset.sel(x=xrange, y=yrange)["SMB"]

0 comments on commit e1d802e

Please sign in to comment.