Skip to content

Test scripts for generation of records for RAW datasets

Notifications You must be signed in to change notification settings

cms-dpoa/cms-raw-datasets

Repository files navigation

cms-raw-datasets

Usage:

Generate the .txt and .json files with the eos links:

python3 make_eos_file_information.py --f <input file with dataset names>

which outputs the files into the output dir.

Generate the information from DAS regarding the datasets:

python3 make_das_json_information.py --f <input file with dataset names>

You may need to generate a GRID proxy before running the above command:

voms-prozy-init --voms cms

Generate the RAW dataset records:

python make_raw_dataset_record.py --if EphemeralHLTPhysics-datasets.txt  --s record-v1.0.0.json --tf EphemeralHLTPhysics_template.json
python make_raw_dataset_record.py --if ZeroBias-datasets.txt  --s record-v1.0.0.json --tf ZeroBias_template.json
python make_raw_dataset_record.py --if MC-datasets.txt --s record-v1.0.0.json --tf MC_template.json

which are generated, validated with the schema, and written to records.

Usage: make_raw_dataset_record.py [OPTIONS]

Options:
  --if PATH  input file with dataset names  [required]
  --s PATH   json schema file  [required]
  --tf PATH  template record file  [required]
  --help     Show this message and exit.

Links:

About

Test scripts for generation of records for RAW datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages