pvtend.TendencyConfig
- class pvtend.TendencyConfig(event_type: str = 'blocking', data_dir: Path = PosixPath('/net/flood/data2/users/x_yan/era'), clim_path: Path = PosixPath('/net/flood/data2/users/x_yan/era/era5_hourly_clim_1990-2019.nc'), clim_helmholtz_dir: Path = PosixPath('/net/flood/data2/users/x_yan/era/clim'), output_dir: Path = PosixPath('/net/flood/data2/users/x_yan/composite_blocking_tempest'), csv_path: Path = PosixPath('.'), track_file: Path = PosixPath('.'), levels: list[int] = <factory>, wavg_levels: list[int] = <factory>, rel_hours: list[int] = <factory>, year_start: int = 1990, year_end: int = 2020, lat_half: float = 21.0, lon_half: float = 36.0, partial_at_pole: bool = True, qg_omega_method: str = 'log20', center_mode: str = 'eulerian', skip_existing: bool = True, engine: str = 'netcdf4', n_workers: int = 1)[source]
Configuration for PV tendency computation.
- data_dir
Path to ERA5 monthly NetCDF files.
- Type:
- clim_path
Path to climatology file or directory.
- Type:
- clim_helmholtz_dir
Directory with pre-computed Helmholtz climatology files (from
pvtend-pipeline clim-helmholtz).- Type:
- output_dir
Root output directory for NPZ files.
- Type:
- csv_path
Path to TempestExtremes event CSV.
- Type:
- track_file
Path to tracking data file (for lagrangian mode).
- Type:
- __init__(event_type: str = 'blocking', data_dir: Path = PosixPath('/net/flood/data2/users/x_yan/era'), clim_path: Path = PosixPath('/net/flood/data2/users/x_yan/era/era5_hourly_clim_1990-2019.nc'), clim_helmholtz_dir: Path = PosixPath('/net/flood/data2/users/x_yan/era/clim'), output_dir: Path = PosixPath('/net/flood/data2/users/x_yan/composite_blocking_tempest'), csv_path: Path = PosixPath('.'), track_file: Path = PosixPath('.'), levels: list[int] = <factory>, wavg_levels: list[int] = <factory>, rel_hours: list[int] = <factory>, year_start: int = 1990, year_end: int = 2020, lat_half: float = 21.0, lon_half: float = 36.0, partial_at_pole: bool = True, qg_omega_method: str = 'log20', center_mode: str = 'eulerian', skip_existing: bool = True, engine: str = 'netcdf4', n_workers: int = 1) None
Methods
__init__(event_type, data_dir, clim_path, ...)Attributes