Project

General

Profile

Notes for documentation

Query to get data created in the past 24 hours (UTC):

samweb list-files --summary "start_time > '2015-12-11T00:00:00' and end_time < '2015-12-12T00:00:00' and data_tier=raw"

In python, sameweb.listFileSummary returns a dict object, so it's trivial to find things like nFiles and such:

samweb = samweb_client.SAMWebClient(experiment="uboone")
thing = samweb.listFilesSummary('start_time > "2015-12-08T00:00:00" and end_time < "2015-12-09T00:00:00" and data_tier=raw and file_format=artroot')>>> thing['file_count']
thing['file_count']
15

The identifier ub_project.stage gives the "tier" of the data/MC