![]() |
ldasJob { -name {} -password {} -email {} } { userCmd -opt1 {} ... }
Which is in the format of a Tcl command, ldasJob, with two required arguments:
Updates the database with ilwd meta data (insertion of new data).
Calling convention (all on a single line):
ldasJob { -name "username" -password "********" -email "user@site.domain"} {putMetaData -returnprotocol URL -ingestdata URL -database dsname -metadataapi api -ligolwquery query -subject string }
Option Descriptions:
-returnprotocol:
http ftp file port
Optional: only needed when requesting ilwd to be written to file instead
of sending off to an api for processing.
NOTE: Embedded spaces in the argument to the -returnprotocol
option will cause the request to fail.
-ingestdata: file ftp port string
Embedded spaces in the argument to the -ingestdata
option will cause the request to fail.
Ingestdata format guidelines:
-database: dsnamestring
-metadataapi: apistring
The returnprotocol specifies the destination that
the result of the command should be delivered to.
The argument to the -returnprotocol option conforms
to the usual browser conventions for URL's for determining
the location of the results of the user request.
The http, ftp, and file options
cause a URL pointer to the location of the results to be
returned by e-mail.
The possible formats of the argument are:
The argument of the -ingestdata option URL format
is of the same format
as that of -returnprotocol. The URL specifies the source of
of the data to be ingested, usually in xml format. A file
extension of ".xml" is required to identify the file type.
Type ilwd is also acceptable, with extension ".ilwd".
The argument of -database option is a valid database dataset name for
the site that the command applies e.g. dev_1 and dev_test are
dataset names for site ldas-dev, lho_1 and lho_test are
dataset names for site ldas-wa etc. For dsnames of sites,
please visit the LDAS database link on each ldas site web page.
If this option is not specified, insertion is done from the default database.
The argument of -metadataapi option is a valid LDAS api
to send the ilwd object from the LIGO_LW URL. Defaults to
metadataAPI. If -returnprotocol is used, this should be set
to empty list, i.e. -metadataapi {}.
Default: metadata