diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 327b36c1ae..b0e0f686c6 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -42,6 +42,9 @@ Documentation * Clarifies how Linke turbidity values can be provided to :py:func:`pvlib.clearsky.ineichen` via :py:func:`pvlib.clearsky.lookup_linke_turbidity` (:issue:`2598`, :pull:`2746`) +* Documented that timestamps returned by :py:func:`~pvlib.iotools.get_era5` + represent the end of the averaging interval, consistent with ERA5 + conventions. (:issue:`2772`, :pull:`2773`) Testing diff --git a/pvlib/iotools/era5.py b/pvlib/iotools/era5.py index 6736a4801b..525848bb27 100644 --- a/pvlib/iotools/era5.py +++ b/pvlib/iotools/era5.py @@ -102,7 +102,7 @@ def get_era5(latitude, longitude, start, end, variables, api_key, Returns ------- data : pd.DataFrame - Time series data. The index corresponds to the start of the interval. + Time series data. The index corresponds to the end of the interval. meta : dict Metadata.