Project

General

Profile

Ifdh commands » History » Version 6

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

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