cli.GeotiffPreprocessBatchConfig

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

Batch-dispatch a GeoTIFF/COG file to a remote target as .jshd.

The remote counterpart of :class:GeotiffPreprocessConfig. For single-band rasters without a time dimension; 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 GeoTIFF file (.tif, .tiff).
band int Band index to extract (0-based).
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 CRS to use when reading the file (if not embedded in TIF).
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).