Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

options:
  --recurse                              Recurse sub-folders
  --search-folders                    Search for datasets inside folder(s)
  --search-groups                    Search in groups.  This option is superseded by the -G (--group) option if they are both supplied.
  --group <group name>          Dataset Group under which to search for datasets.
  --site <site name>                Name of Site to search.  May be used multiple times to specify a list of sites in which case order is taken as preference.  Defaults to the Master-location if not provided.
  --filter <filter expression>     Criteria by which to filter datasets.  ie: 'DataType=="MERIT" && nMetStart>=257731220 && nMetStop <=257731580'
  --display <meta name>         Name of meta-data field to display in output.  Default is to display only the file location.  May be used multiple times to specify an ordered list of fields to display.
  --sort <meta name>             Name of meta-data field to sort on.  May be used multiple times to specify a list of fields to sort on.  Order determines precedence.
  --show-unscanned-locations   If no "OK" (ie: verified by file crawler) location exists, display first location (if any) which has not yet been scanned.  If this option and '--show-non-ok-locations' are both specified, an unscanned location will be returned before a non-ok location regardless of their sequence in the ordered site list.
  --show-non-ok-locations        If no "OK" (ie: verified by file crawler) location exists, display first location (if any) which exists in the list of sites.

...

No Format
noric15:dflath> datacat find \--site SLAC \--group FT2 /Data/Flight/Level1/LPA/

/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.58/ft2/gll_pt_r0236511638_v003.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.57/ft2/gll_pt_r0236339577_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.57/ft2/gll_pt_r0236345681_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.57/ft2/gll_pt_r0236409925_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.58/ft2/gll_pt_r0236443723_v002.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.57/ft2/gll_pt_r0236271733_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.56/ft2/gll_pt_r0236090205_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/1.57/ft2/gll_pt_r0236351742_v002.fit
... etc ...

All the FT1 files generated after a specific date, sorted by nMetStart:

No Format

noric13:dflath> /afs/slac/g/glast/ground/bin/datacat find \--filter 'CreateDate >= to_date("20110411","yyyymmdd")' \--sort nMetStart \--group FT1 \--site SLAC /Data/Flight/Level1/LPA/

/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324173700_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324179659_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324185343_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324190937_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324196664_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324202392_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324208120_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324213847_v001.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324219575_v000.fit
/nfs/farm/g/glast/u20/FT1-2copies/glast/Data/Flight/Level1/LPA/prod/2.6/ft1/gll_ph_p116_r0324223503_v000.fit