pvlib.iotools.read_midc_raw_data_from_nrel

pvlib.iotools.read_midc_raw_data_from_nrel(site, start, end)[source]

Request and read MIDC data directly from the raw data api.

Parameters:
site: string

The MIDC station id.

start: datetime

Start date for requested data.

end: datetime

End date for requested data.

Returns:
data:

Dataframe with DatetimeIndex localized to the station location.

Notes

Requests spanning an instrumentation change will yield an error. See the MIDC raw data api page here for more details and considerations.