SCICAT_INGEST(1)

NAME
scicat_ingest - General ingest script to upload SciCat Samples or Instruments

DESCRIPTION

Re-ingestion script for SciCat Datasets.

SYNOPSIS

scicat_ingest [-h] [-c CONFIG] [-r RUNTIME] [-l LOG] [-f LOGFILE] [-t] [-p TOKENFILE]   metadata_json_file [metadata_json_file ...]

Arguments:
    metadata_json_file metadata json file(s)

Options:

-h, --help
    show this help message and exit

-c CONFIG, --configuration CONFIG
    configuration file name

-l LOG, --log LOG
    logging level, i.e. debug, info, warning, error, critical

-f LOGFILE, --log-file LOGFILE
    log file name

-t, --timestamps
    timestamps in logs

-p TOKENFILE, --token-file TOKENFILE
    file with a user token

EXAMPLE

scicat_ingest -m Samples -c ~/.scingestor.yaml ./metadata.json
scicat_ingest -m Attachments -c ~/.scingestor.yaml -p ~/.mytoken.cfg ./metadata.json

AUTHOR
Jan Kotanski

COPYRIGHT
2022, DESY, Jan Kotanski