submit_model_parameter_from_external

submit_model_parameter_from_external#

Submit a model parameter value and corresponding metadata through the command line.

Input and metadata is validated, and if necessary enriched and converted following the model parameter schemas. Model parameter data is written in the simtools-style json format, metadata as a yaml file.

Command line arguments#

parameter (str)

model parameter name

value (str, value)

input value (number, string, string-type lists)

instrument (str)

instrument name.

site (str)

site location.

model_version (str)

Model version.

input_meta (str, optional)

input meta data file (yml format)

Example#

Submit the number of gains for the LSTN-design readout chain:

simtools-submit-model-parameter-from-external \
    --parameter num_gains \\
    --value 2 \\
    --instrument LSTN-design \\
    --site North \\
    --model_version 6.0.0 \\
    --input_meta num_gains.metadata.yml