pvtend.load_helmholtz_climatology

pvtend.load_helmholtz_climatology(clim_dir: str | Path, month: int, *, clim_stem: str = 'era5_hourly_clim_1990-2020', engine: str = 'netcdf4') dict[str, ndarray][source]

Load pre-computed Helmholtz-decomposed climatological wind fields.

Parameters:
  • clim_dir – Directory containing Helmholtz climatology files.

  • month – Month number (1–12).

  • clim_stem – Filename stem.

  • engine – NetCDF engine.

Returns:

Dictionary with keys u_rot_bar, u_div_bar, v_rot_bar, v_div_bar — each shape (nday, 24, nlev, nlat, nlon) (day × hour × level × lat × lon).

Raises:

FileNotFoundError – If the Helmholtz climatology files are missing.