generate_default_metadata

generate_default_metadata#

Generate a default simtools metadata file from a json schema.

Command line arguments#

schema (str, optional)

Schema file describing the input data (default: simtools/schemas/metadata.metaschema.yml)

output_file (str, optional)

Output file name.

Example#

simtools-generate-default-metadata \\
    --schema simtools/schemas/metadata.metaschema.yml \\
    --output_file default_metadata.yml