energy_methods.weather_risk_mapping#
Complete-year processing and labelled maps for soiling and snow shading.
- energy_methods.weather_risk_mapping.annual_risk_inputs(daily_aod550, hourly_snow_depth, *, year)[source]#
Make annual indicators from daily AOD550 [1] and hourly ground snow [cm].
Both fields require exact matching lat/lon centres and a complete UTC time axis, including leap days. Snow must declare snow_depth_kind=’physical_ground’. NaN values mask only the affected indicator/cell/year; counts remain visible. No partial-year annualization, inferred density, gap filling or coastal mask. Regrid continuous inputs explicitly before calling, if necessary.
- Parameters:
daily_aod550 (DataArray)
hourly_snow_depth (DataArray)
year (int)
- Return type:
Dataset
- energy_methods.weather_risk_mapping.map_weather_risks(annual_inputs)[source]#
Map annual-mean soiling rates and annual snow losses over consecutive years.
Require aod550_mean [1] and snow_depth_sum [cm h] on (year, lat, lon). Apply each nonlinear equation to EACH year’s indicator, then average the resulting rates/losses with skipna=False before assigning labels. This explicit repository convention is not specified in full in the thesis’s global maps. Annual estimates are retained so aggregation is inspectable. The caller masks oceans and supplies a validated baseline; this function never fills gaps.
- Parameters:
annual_inputs (Dataset)
- Return type:
Dataset