pvlib.forecast.RAP.get_data#
- RAP.get_data(latitude, longitude, start, end, vert_level=None, query_variables=None, close_netcdf_data=True, **kwargs)#
Submits a query to the UNIDATA servers using Siphon NCSS and converts the netcdf data to a pandas DataFrame.
- Parameters
latitude (
float) – The latitude value.longitude (
float) – The longitude value.start (
datetimeortimestamp) – The start time.end (
datetimeortimestamp) – The end time.vert_level (
None,floatorinteger, defaultNone) – Vertical altitude of interest.query_variables (
Noneorlist, defaultNone) – If None, uses self.variables.close_netcdf_data (
bool, defaultTrue) – Controls if the temporary netcdf data file should be closed. Set to False to access the raw data.**kwargs – Additional keyword arguments are silently ignored.
- Returns
forecast_data (
DataFrame) – column names are the weather model’s variable names.