Skip to content

Commit a7ff7a3

Browse files
committed
Add dni to VARIABLE_MAP in get_era5 iotools function
1 parent 9a0ad55 commit a7ff7a3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pvlib/iotools/era5.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
't2m': 'temp_air',
1212
'sp': 'pressure',
1313
'ssrd': 'ghi',
14+
'fdir': 'dni',
1415
'tp': 'precipitation',
1516
'strd': 'longwave_down',
1617

@@ -19,6 +20,7 @@
1920
'2m_temperature': 'temp_air',
2021
'surface_pressure': 'pressure',
2122
'surface_solar_radiation_downwards': 'ghi',
23+
'total_sky_direct_solar_radiation_at_surface': 'dni',
2224
'total_precipitation': 'precipitation',
2325
'surface_thermal_radiation_downwards': 'longwave_down',
2426
}

0 commit comments

Comments
 (0)