Project

General

Profile

Ifdh commands » History » Version 7

Version 6 (Marc Mengel, 04/03/2012 04:39 PM) → Version 7/33 (Marc Mengel, 04/03/2012 04:40 PM)

h1. ifdh commands

* *ifdh* *cp* _src _ src dest_
** general file copy using cpn or srmcp
* *ifdh* *fetchInput* _src_uri_ _ src_uri_
** get input file to local scratch, return scratch location
* *ifdh* *addOutputFile* _filename_ _ filename_
** add output file to set
* *ifdh* *copyBackOutput* _dest_dir_ _ dest_dir_
** copy output file set to destination with cpn or srmcp
* *ifdh* *log* _message_ _ message_
** logging
* *ifdh* *enterState* _state_ _ state_
** log entering/leaving states
* *ifdh* *leaveState* _state_ _ state_
** log entering/leaving states
* *ifdh* *createDefinition* _name _ name dims user group_
** make a named dataset definition from a dimension string
* *ifdh* *deleteDefinition* _name_ _ name_
** remove data set definition
* *ifdh* *describeDefinition* _name_ _ name_
** describe a named dataset definition
* *ifdh* *translateConstraints* _dims_ _ dims_
** give file list for dimension string
* *ifdh* *locateFile* _name_ _ name_
** locate a file
* *ifdh* *getMetadata* _name_ _ name_
** get a files metadata
* *ifdh* *dumpStation* _name _ name what_ what _
** give a dump of a SAM station status
* *ifdh* *startProject* _name _ name station defname_or_id user group_
** start a new file delivery project
* *ifdh* *findProject* _name _ name station_
** find a started project
* *ifdh* *establishProcess* _projecturi _ projecturi appname appversion location user appfamily description filelimit_ filelimit _
** set yourself up as a file consumer process for a project
* *ifdh* *getNextFile* _projecturi _ projecturi processid_
** get the next file location from a project
* *ifdh* *updateFileStatus* _projecturi _ projecturi processid filename status_
** update the file status (use: transferred, skipped, or consumed)
* *ifdh* *endProcess* _projecturi _ projecturi processid_
** end the process
* *ifdh* *dumpProcess* _projecturi _ projecturi processid_
** say what the sam station knows about your process
* *ifdh* *setStatus* _projecturi _ projecturi processid status_
** set process status
* *ifdh* *endProject* _projecturi_ _ projecturi_
** end the project
* *ifdh* *cleanup* __
** clean up any tmp file stuff