hydromodpy.pyhelp.pyhelp_netcdf#
- hydromodpy.pyhelp.pyhelp_netcdf.preprocessing_pyhelp(*, workdir: str, outpath: str, grid_csv: str | None = None, grid_base: str | None = None, dem: str | None = None, grid_kwargs: Dict | None = None, ready_csvs: List[str] | None = None, era5_folder: str | None = None, shapefile: str | None = None, main_py: str | None = None, help_cli: str | None = None, compress_level: int = 4)[source]#
Run the full PyHELP workflow.
Parameters:
- workdirstr
Destination folder where every intermediate and final file will be written.
- grid_csv, grid_basestr | None
Path to the base COMPLETED grid CSV.
- demstr | None
Optional DEM raster required when the grid is updated.
- grid_kwargsDict | None
Keyword arguments forwarded to pyhelp.pyhelp_grid.PyhelpGrid to chnage cell size, lat/lon rounding, etc. If None no update is done.
- ready_csvsList[str] | None
If provided, absolute paths to the three climate CSV inputs [precip, airtemp, solrad]. When None they will be generated via the main_cdf.py script.
- era5_folder, shapefilestr | None
Additional parameters used by main_cdf.py.
- main_py, help_clistr | None
Custom paths for the auxiliary command‑line interfaces. When None the script will look for main_cdf.py and help_example_cli.py in the current file folder.
- compress_levelint, default 4
zlib compression level (0–9) for the output NetCDF file.