pvtend.io.load_era5_month

pvtend.io.load_era5_month(data_dir: str | Path, year: int, month: int, variables: Sequence[str], *, engine: str = 'netcdf4', chunks: dict | None = None) Dataset[source]

Load ERA5 monthly data for specified variables.

Parameters:
  • data_dir – Directory with era5_{var}_{YYYY}_{MM}.nc files.

  • year – Year.

  • month – Month (1-12).

  • variables – Variable names to load.

  • engine – NetCDF engine.

  • chunks – Dask chunks (None for eager loading).

Returns:

Merged xarray Dataset.