environmentaltools.common.write_cshore_input

environmentaltools.common.write_cshore_input(properties: dict, output_folder: str)[source]

Write CSHORE model input file.

Creates the infile for the CSHORE coastal hydrodynamics model with the specified configuration parameters.

Parameters:
  • properties (dict) –

    Dictionary containing CSHORE model parameters including:

    • header: Model header text

    • iline, iprofl, isedav, iperm, iover, iwtran, ipond, infilt, iwcint, iroll, iwind, itide, iveg: Integer flags for model options

    • dx: Spatial grid spacing

    • gamma: Wave breaking parameter

    • d50, wf, sg: Sediment parameters (grain size, fall velocity, specific gravity)

    • effb, efff, slp: Efficiency and slope parameters

    • and other model-specific parameters

  • output_folder (str) – Path to folder where infile will be created.