Skip to content

Add an example or documentation on using 'bhi' from ERA5 #2880

Open

Description

@williamhobbs

Is your feature request related to a problem? Please describe.
The bhi parameter from ERA5 (total_sky_direct_solar_radiation_at_surface, https://codes.ecmwf.int/grib/param-db/228021) is direct irradiance through a horizontal surface. This is not very common in PV, and users may not know how to convert it to DNI, or that it needs to be converted.

Describe the solution you'd like
Either some more details in the get_era5 docstring, or a gallery example.

Activity

  1. anshurajbisoyi98-ctrl commented on Oct 4, 2026

    @anshurajbisoyi98-ctrl

    Hi, I’d like to contribute to this issue. I propose starting with a focused update to the get_era5 docstring explaining BHI versus DNI and how to convert between them, including the relevant limitations. Would you prefer this approach or a gallery example?

  2. williamhobbs commented on Oct 7, 2026

    @williamhobbs
    ContributorAuthor

    @anshurajbisoyi98-ctrl, my personal opinion is that the priority should be:

    1. A short docstring description of BHI, e.g., something like the ECMWF description: "[The returned parameter bhi is the amount of radiation passing through a horizontal plane, not a plane perpendicular to the direction of the Sun [(dni)]"
    2. A more detailed update to the docstring (maybe a table, like read_bsrn and get_merra2?)
    3. An even more detailed update to the docstring with some suggestion about how to use solar position to convert from BHI to DNI
    4. A gallery example

    No need for a gallery example until at least one or two of the higher priority items are added. And maybe no need for a gallery example at all.

    But I'll defer to maintainers on what, if anything, should be pursued.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions