pvlib.iotools.read_ecmwf_macc

pvlib.iotools.read_ecmwf_macc(filename, latitude, longitude, utc_time_range=None)[source]

Read data from ECMWF MACC reanalysis netCDF4 file.

Parameters:
  • filename (string) – full path to netCDF4 data file.
  • latitude (float) – latitude in degrees
  • longitude (float) – longitude in degrees
  • utc_time_range (sequence of datetime.datetime) – pair of start and stop naive or UTC date-times
Returns:

data (pandas.DataFrame) – dataframe for specified range of UTC date-times