Project

General

Profile

Ifdh commands » History » Version 4

Marc Mengel, 04/03/2012 04:37 PM

1 2 Marc Mengel
h1. ifdh commands
2 1 Marc Mengel
3 3 Marc Mengel
* *ifdh* _ cp  src  dest _
4 2 Marc Mengel
** general file copy using cpn or srmcp
5 3 Marc Mengel
* *ifdh* _ fetchInput  src_uri _
6 2 Marc Mengel
** get input file to local scratch, return scratch location
7 3 Marc Mengel
* *ifdh* _ addOutputFile  filename _
8 2 Marc Mengel
** add output file to set
9 3 Marc Mengel
* *ifdh* _ copyBackOutput  dest_dir _
10 2 Marc Mengel
** copy output file set to destination with cpn or srmcp
11 3 Marc Mengel
* *ifdh* _ log  message _
12 2 Marc Mengel
** logging 
13 3 Marc Mengel
* *ifdh* _ enterState  state _
14 2 Marc Mengel
** log entering/leaving states
15 3 Marc Mengel
* *ifdh* _ leaveState  state _
16 2 Marc Mengel
** log entering/leaving states
17 3 Marc Mengel
* *ifdh* _ createDefinition  name  dims  user  group _
18 2 Marc Mengel
** make a named dataset definition from a dimension string
19 3 Marc Mengel
* *ifdh* _ deleteDefinition  name _
20 2 Marc Mengel
** remove data set definition
21 3 Marc Mengel
* *ifdh* _ describeDefinition  name _
22 2 Marc Mengel
** describe a named dataset definition
23 3 Marc Mengel
* *ifdh* _ translateConstraints  dims _
24 2 Marc Mengel
** give file list for dimension string
25 3 Marc Mengel
* *ifdh* _ locateFile  name _
26 2 Marc Mengel
** locate a file
27 3 Marc Mengel
* *ifdh* _ getMetadata  name _
28 2 Marc Mengel
** get a files metadata
29 3 Marc Mengel
* *ifdh* _ dumpStation  name  what  _
30 2 Marc Mengel
** give a dump of a SAM station status
31 3 Marc Mengel
* *ifdh* _ startProject  name  station  defname_or_id  user  group _
32 2 Marc Mengel
** start a new file delivery project
33 3 Marc Mengel
* *ifdh* _ findProject  name  station _
34 2 Marc Mengel
** find a started project
35 3 Marc Mengel
* *ifdh* _ establishProcess  projecturi  appname  appversion  location  user  appfamily   description   filelimit  _
36 2 Marc Mengel
** set yourself up as a file consumer process for a project
37 3 Marc Mengel
* *ifdh* _ getNextFile  projecturi  processid _
38 2 Marc Mengel
** get the next file location from a project
39 3 Marc Mengel
* *ifdh* _ updateFileStatus  projecturi  processid  filename  status _
40 2 Marc Mengel
** update the file status (use: transferred, skipped, or consumed)
41 3 Marc Mengel
* *ifdh* _ endProcess  projecturi  processid _
42 2 Marc Mengel
** end the process
43 3 Marc Mengel
* *ifdh* _ dumpProcess  projecturi  processid _
44 2 Marc Mengel
** say what the sam station knows about your process
45 3 Marc Mengel
* *ifdh* _ setStatus  projecturi  processid  status _
46 2 Marc Mengel
** set process status
47 3 Marc Mengel
* *ifdh* _ endProject  projecturi _
48 2 Marc Mengel
** end the project
49 3 Marc Mengel
* *ifdh* _ cleanup  _
50 2 Marc Mengel
** clean up any tmp file stuff