diff --git a/docs/sphinx/source/whatsnew/v0.16.2.rst b/docs/sphinx/source/whatsnew/v0.16.2.rst index f8a4764050..0be08b3e2a 100644 --- a/docs/sphinx/source/whatsnew/v0.16.2.rst +++ b/docs/sphinx/source/whatsnew/v0.16.2.rst @@ -37,6 +37,9 @@ Enhancements Documentation ~~~~~~~~~~~~~ +* Clarify the meaning and converted units of ERA5 beam horizontal + irradiance in :py:func:`~pvlib.iotools.get_era5`. + (:issue:`2880`) (:ghuser:`adrianocortezz`) * Fix :py:func:`pvlib.bifacial.power_mismatch_deline` incorrect derivation of total RMAD from rear RMAD. (:issue:`2929`, :pull:`2930`) * Add :py:func:`pvlib.spa.transit_sunrise_sunset` to the API reference. diff --git a/pvlib/iotools/era5.py b/pvlib/iotools/era5.py index 7206740e57..eade59b7bf 100644 --- a/pvlib/iotools/era5.py +++ b/pvlib/iotools/era5.py @@ -129,12 +129,22 @@ def get_era5(latitude, longitude, start, end, variables, api_key, the returned ``meta['latitude']`` and ``meta['longitude']``, and consider adjusting the requested coordinates slightly inland. + When ``map_variables=True``, the ERA5 parameter + ``total_sky_direct_solar_radiation_at_surface`` (``fdir``) is returned + as ``bhi``. Its hourly accumulation in J/m² is converted to hourly + mean irradiance in W/m². This is beam (direct) irradiance on a + horizontal surface [5]_. Direct normal irradiance (DNI) is defined on + a surface perpendicular to the Sun's rays. Deriving DNI from ``bhi`` + requires solar geometry and consideration of the hourly averaging + interval and timestamp convention. + References ---------- .. [1] https://cds.climate.copernicus.eu/ .. [2] https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels-timeseries?tab=overview .. [3] https://confluence.ecmwf.int/pages/viewpage.action?pageId=505390919 .. [4] https://confluence.ecmwf.int/display/CKB/The+family+of+ERA5+datasets + .. [5] https://codes.ecmwf.int/grib/param-db/228021 """ # noqa: E501 def _to_utc_dt_notz(dt):