Project

General

Profile

Ifdh commands » History » Version 5

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

1 2 Marc Mengel
h1. ifdh commands
2 1 Marc Mengel
3 5 Marc Mengel
* *ifdh* _cp  src  dest_
4 2 Marc Mengel
** general file copy using cpn or srmcp
5 5 Marc Mengel
* *ifdh* _fetchInput  src_uri_
6 2 Marc Mengel
** get input file to local scratch, return scratch location
7 5 Marc Mengel
* *ifdh* _addOutputFile  filename_
8 2 Marc Mengel
** add output file to set
9 5 Marc Mengel
* *ifdh* _copyBackOutput  dest_dir_
10 2 Marc Mengel
** copy output file set to destination with cpn or srmcp
11 5 Marc Mengel
* *ifdh* _log  message_
12 2 Marc Mengel
** logging 
13 5 Marc Mengel
* *ifdh* _enterState  state_
14 2 Marc Mengel
** log entering/leaving states
15 5 Marc Mengel
* *ifdh* _leaveState  state_
16 2 Marc Mengel
** log entering/leaving states
17 5 Marc Mengel
* *ifdh* _createDefinition  name  dims  user  group_
18 2 Marc Mengel
** make a named dataset definition from a dimension string
19 5 Marc Mengel
* *ifdh* _deleteDefinition  name_
20 2 Marc Mengel
** remove data set definition
21 5 Marc Mengel
* *ifdh* _describeDefinition  name_
22 2 Marc Mengel
** describe a named dataset definition
23 5 Marc Mengel
* *ifdh* _translateConstraints  dims_
24 2 Marc Mengel
** give file list for dimension string
25 5 Marc Mengel
* *ifdh* _locateFile  name_
26 2 Marc Mengel
** locate a file
27 5 Marc Mengel
* *ifdh* _getMetadata  name_
28 2 Marc Mengel
** get a files metadata
29 5 Marc Mengel
* *ifdh* _dumpStation  name  what _
30 2 Marc Mengel
** give a dump of a SAM station status
31 5 Marc Mengel
* *ifdh* _startProject  name  station  defname_or_id  user  group_
32 2 Marc Mengel
** start a new file delivery project
33 5 Marc Mengel
* *ifdh* _findProject  name  station_
34 2 Marc Mengel
** find a started project
35 5 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 5 Marc Mengel
* *ifdh* _getNextFile  projecturi  processid_
38 2 Marc Mengel
** get the next file location from a project
39 5 Marc Mengel
* *ifdh* _updateFileStatus  projecturi  processid  filename  status_
40 2 Marc Mengel
** update the file status (use: transferred, skipped, or consumed)
41 5 Marc Mengel
* *ifdh* _endProcess  projecturi  processid_
42 2 Marc Mengel
** end the process
43 5 Marc Mengel
* *ifdh* _dumpProcess  projecturi  processid_
44 2 Marc Mengel
** say what the sam station knows about your process
45 5 Marc Mengel
* *ifdh* _setStatus  projecturi  processid  status_
46 2 Marc Mengel
** set process status
47 5 Marc Mengel
* *ifdh* _endProject  projecturi_
48 2 Marc Mengel
** end the project
49 5 Marc Mengel
* *ifdh* _cleanup _
50 2 Marc Mengel
** clean up any tmp file stuff