You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

I want to do some analysis!

Well, you're going to need some data.  Here's how you get it:

The easiest way to get a list of files is by using the linemode client 'find' command.  Here's it's help screen:


dflath@noric09> /afs/slac/g/glast/ground/bin/datacat -h find

Command-specific help for command find

Usage: datacat find [-options] <logical folder>

parameters:
  <logical folder>   Logical Folder Path at which to begin performing the search.

options:
  --recurse                              Recurse sub-folders
  --search-folders                    Search for datasets inside folder(s)
  -search-groups                    Search in groups.  This option is superceeded 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: 'DatasetDataType=="MERIT" && nMetStart>=257731220 && nMetStop <=257731580'
  --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 presidence.

Thanks for nothing, that's the part that confuses me!

Alright, here's what it all means:

Argument

Explanation

<logical folder>

This parameter is required and comes after all options are specified.  Replace it with the Data Catalog folder path where you want to begin your search.  The more specific you are, the faster your search will be.

--recurse

If you specify this option, the find command will traverse the folder tree under <logical folder> in it's quest to provide you with the data you desire.

--search-folders

Tells me to look inside the folder (or folders if --recurse specified) and consider datasets that live there.  In general, datasets live in groups, and this option is not used.

--search-groups

Tells me to look inside dataset groups for your files.  May be combined with --search-folders and --recurse.  Has no meaning if --group is also specified.

--group <group name>

 

 

 

 

 

 

 


<logical folder>  is a parameter.  It is required and comes after all the options.

--search-folders 

  • No labels