Skip to content

Commit

Permalink
fix: update examples with renamed config var
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed May 3, 2024
1 parent 12702eb commit e93ce18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/divfreemotion/divfree2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

time = pyzarr.get_time(dataset)
sddata = pyzarr.get_supers(dataset, consts)
maxnsupers =pyzarr.get_maxnsupers(dataset)
maxnsupers =pyzarr.get_totnsupers(dataset)

# 4. plot results
savename = savefigpath + "df2d_maxnsupers_validation.png"
Expand Down
2 changes: 1 addition & 1 deletion examples/yac/fromfile/yac1_fromfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

time = pyzarr.get_time(dataset)
sddata = pyzarr.get_supers(dataset, consts)
maxnsupers = pyzarr.get_maxnsupers(dataset)
maxnsupers = pyzarr.get_totnsupers(dataset)
thermo, winds = pyzarr.get_thermodata(dataset, config["ntime"], gbxs["ndims"],
consts, getwinds=True)

Expand Down

0 comments on commit e93ce18

Please sign in to comment.