Project

General

Profile

Feature #4187

Reading in metadata from input files

Added by Adam Aurisano about 6 years ago. Updated almost 2 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
Infrastructure
Target version:
-
Start date:
Due date:
09/30/2013
% Done:

0%

Estimated time:
32.00 h
Scope:
Internal
Experiment:
NOvA
SSI Package:
art
Duration:

Description

Currently, the metadata facilities only exist to add or get metadata produced within a job. When running a job which takes in input files, there needs to be a way to access any metadata associated with that file. Then, experiments could write a module/service which makes the appropriate decision of whether or not to carry that metadata over into the output file.

History

#1 Updated by Marc Paterno about 6 years ago

  • Status changed from New to Feedback

I'm not sure to what extent, if at all, this may meet your needs, but have you looked at the "provenance" information available through the art::Handle (or art::ValidHandle)? Each can provide access to an object of type art::Provenance, which provides access to the metadata for the object associated with the Handle. You can find the header for Provenance at https://cdcvs.fnal.gov/redmine/projects/art/repository/revisions/develop/entry/art/Framework/Principal/Provenance.h. If you have not already done so, please take a look and let us know to what extent that meets your needs.

#3 Updated by Adam Aurisano about 6 years ago

I see that it is possible to get the parameter set used to configure the module which created a given data product; however, I'm trying to get metadata associated with the job as a whole. This metadata was injected into the art file using the FileCatalogMetadata service. There was a metadata module (analyzer) whose job was to extract metadata from a parameter set in the FHiCL file and insert it use the FileCatalogMetadata service, but there was not data product added to the event by the metadata module. Would it be possible to recover the parameter set of the metadata module even though it did not add any data products to the event?

#4 Updated by Christopher Green about 6 years ago

  • Scope set to Internal
  • Due date set to 09/30/2013
  • Category set to Infrastructure
  • Status changed from Feedback to Accepted
  • Target version set to 1.09.00
  • Start date deleted (06/20/2013)
  • Estimated time set to 32.00 h
  • Experiment NOvA added
  • SSI Package art added

We believe we can provide read-only access to the SQLite database from the currently open input file for as long as that file is open. Some finer design questions remain, but I think they can be resolved fairly quickly.

#5 Updated by Christopher Green over 5 years ago

  • Target version changed from 1.09.00 to 521

#6 Updated by Kyle Knoepfel almost 2 years ago

  • Target version deleted (521)


Also available in: Atom PDF