diff --git a/docs/examples/system-models/oedi_9068.py b/docs/examples/system-models/oedi_9068.py index 9a73bfa9ce..8294843353 100644 --- a/docs/examples/system-models/oedi_9068.py +++ b/docs/examples/system-models/oedi_9068.py @@ -145,7 +145,8 @@ 'albedo', 'precipitable_water'] psm3, psm3_metadata = pvlib.iotools.get_nsrdb_psm4_conus(latitude, longitude, api_key, email, - year=2019, interval=5, + year=2019, + time_step=5, parameters=keys, map_variables=True, leap_day=True) diff --git a/docs/sphinx/source/whatsnew/v0.15.3.rst b/docs/sphinx/source/whatsnew/v0.15.3.rst index 87ded069ee..754f1d367f 100644 --- a/docs/sphinx/source/whatsnew/v0.15.3.rst +++ b/docs/sphinx/source/whatsnew/v0.15.3.rst @@ -23,6 +23,9 @@ Enhancements Documentation ~~~~~~~~~~~~~ +* Fixed broken ``interval`` keyword argument in the ``oedi_9068`` gallery + example; the correct parameter name is ``time_step``. (:issue:`2791`) + Testing ~~~~~~~