diff --git a/examples/divfreemotion/divfree2d.py b/examples/divfreemotion/divfree2d.py index 74572e73f..2537a1ac7 100644 --- a/examples/divfreemotion/divfree2d.py +++ b/examples/divfreemotion/divfree2d.py @@ -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" diff --git a/examples/yac/fromfile/yac1_fromfile.py b/examples/yac/fromfile/yac1_fromfile.py index 67769469a..a556bb59a 100644 --- a/examples/yac/fromfile/yac1_fromfile.py +++ b/examples/yac/fromfile/yac1_fromfile.py @@ -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)