pvdeg.geospatial.calc_block#

pvdeg.geospatial.calc_block(weather_ds_block, future_meta_df, func, func_kwargs)[source]#

Calculate a block of gids for a given function.

Parameters:
  • weather_ds_block (xarray.Dataset) – Dataset containing weather data for a block of gids.

  • future_meta_df (pandas.DataFrame) – DataFrame containing meta data for a block of gids.

  • func (function) – Function to apply to weather data.

  • func_kwargs (dict) – Keyword arguments to pass to func.

Returns:

ds_res (xarray.Dataset) – Dataset with results for a block of gids.