Skip to content

Metacat Rucio Basics

Alexander Booth edited this page Nov 6, 2026 · 1 revision

Disclaimer (from Alex Booth): not official advice, this is mostly my own personal notes put in a public place.

The general recipe is to use a combination of the DUNE data catalogue and metacat/rucio.

  • Search for candidate metacat definitions in the DUNE data catalogue. After logging in select "Near Detector Prototypes" and ND-lar-tms-sand from the dropdown list next to the search bar.
  • Then in the search bar, try some candidate strings. So if you want edep spill level MiniProdN5p1 files which are the output of the spill building step, something like *NP5p1*spill will do the trick.
  • From the list of definitions you get, you can then narrow it down, so if you're looking for sanddrift and FHC the definition MiniProdN5p1_NDComplex_FHC_spill_full_sanddrift looks likely.
  • Then move to the GPVMs:
. /cvmfs/dune.opensciencegrid.org/spack/setup-env.sh
spack env activate dune-prototype
htgettoken -i dune -a htvaultprod.fnal.gov

With the definition, you can get the list of files and their locations on pnfs with the following command:

rucio replica list file --pfns 'neardet-lar-tms-sand:my_chosen_definition'

If you want one specific file, just grep that output for the number.

Clone this wiki locally