Skip to content

Commit e886e28

Browse files
committed
Change dni to bhi
1 parent 7bdb4a6 commit e886e28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pvlib/iotools/era5.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
't2m': 'temp_air',
1212
'sp': 'pressure',
1313
'ssrd': 'ghi',
14-
'fdir': 'dni',
14+
'fdir': 'bhi',
1515
'tp': 'precipitation',
1616
'strd': 'longwave_down',
1717

@@ -20,7 +20,7 @@
2020
'2m_temperature': 'temp_air',
2121
'surface_pressure': 'pressure',
2222
'surface_solar_radiation_downwards': 'ghi',
23-
'total_sky_direct_solar_radiation_at_surface': 'dni',
23+
'total_sky_direct_solar_radiation_at_surface': 'bhi',
2424
'total_precipitation': 'precipitation',
2525
'surface_thermal_radiation_downwards': 'longwave_down',
2626
}
@@ -83,7 +83,7 @@ def get_era5(latitude, longitude, start, end, variables, api_key,
8383
Last day of the requested period. Assumed to be UTC if not localized.
8484
variables : list of str
8585
List of variable names to retrieve, for example
86-
``['ghi', 'dni', 'temp_air']``. Both pvlib and ERA5 names can be used.
86+
``['ghi', 'bhi', 'temp_air']``. Both pvlib and ERA5 names can be used.
8787
See [1]_ for additional options.
8888
api_key : str
8989
ECMWF CDS API key.

0 commit comments

Comments
 (0)