Project

General

Profile

Ifdh commands » History » Version 2

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

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