Project

General

Profile

Ifdh commands » History » Version 7

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

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