pvdeg.weather#

Collection of classes and functions to obtain spectral parameters.

Function Overview#

pvdeg.weather.csv_read

Read a locally stored csv weather file.

pvdeg.weather.empty_weather_ds

Create an empty weather dataframe for generalized input.

pvdeg.weather.find_metadata

Fills in missing meta data for a geographic location.

pvdeg.weather.get

Load weather data directly from NSRDB or through any other PVLIB i/o tools function.

pvdeg.weather.get_NSRDB

Get NSRDB weather data from different satellites and years.

pvdeg.weather.get_NSRDB_fnames

Get a sorted list of NSRDB files for a given satellite and year.

pvdeg.weather.get_anywhere

Load weather data directly from NSRDB or through any other PVLIB i/o tools.

pvdeg.weather.get_satellite

Identify a satellite to use for a given lattitude and longitude.

pvdeg.weather.ini_h5_geospatial

Initialize h5 weather file that follows NSRDB conventions for geospatial analyses.

pvdeg.weather.is_leap_year

Return True if year is a leap year.

pvdeg.weather.map_meta

Update meteorological metadata keys/columns to standard forms as outlined in DuraMAT/pv-terms.

pvdeg.weather.map_weather

This will update the headings for meterological data to standard forms as outlined in DuraMAT/pv-terms.

pvdeg.weather.read

Read a locally stored weather file of any PVLIB compatible type

pvdeg.weather.read_h5

Read a locally stored h5 weather file that follows NSRDB conventions.

pvdeg.weather.repeat_annual_time_series

Repeat a pandas time series dataframe containing annual data.

pvdeg.weather.roll_tmy

Wrap ends of TMY UTC DataFrame to align with local time.

pvdeg.weather.weather_distributed

Grab weather using pvgis for all locations using dask for parallelization.

pvdeg.weather.write

Save dataframe with weather data and any associated meta data in an *.csv format.