cli.CsvPreprocessBatchConfig

cli.CsvPreprocessBatchConfig(
    script,
    simulation,
    data_file,
    variable,
    units,
    output,
    target,
    timestep,
    crs=None,
    default_value=None,
    parallel=False,
    amend=False,
    no_wait=False,
    poll_interval=None,
    timeout=None,
)

Batch-dispatch a CSV point-data file to a remote target as .jshd.

The remote counterpart of :class:CsvPreprocessConfig. CSV must have columns named exactly “longitude” and “latitude”; timestep is required to specify which simulation timestep the data maps to.

Attributes

Name Type Description
script Path Path to .josh file.
simulation str Name of simulation.
data_file Path Path to CSV file (.csv).
variable str Column name to extract.
units str Units of the data.
output Path Output .jshd file path.
target str Target profile name (required).
timestep int Simulation timestep this data maps to (required).
crs str | None Coordinate Reference System.
default_value float | None Default value to fill grid spaces before copying data.
parallel bool Enable parallel processing of patches within each timestep.
amend bool Amend existing output file rather than overwriting.
no_wait bool If True, dispatch and exit without polling for completion.
poll_interval int | None Polling interval in seconds (optional).
timeout int | None Maximum seconds to wait for completion (optional).