Project

General

Profile

Ifdh commands » History » Version 1

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

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