08.06.2013 Views

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

19. <strong>Bernese</strong> Processing Engine (BPE)<br />

19.5.4 Script Parameters and BPE Variables<br />

The remaining two panels define the parameters of the user scripts and the so-called BPE<br />

variables. The parameters can be specified in the panel shown in Figure 19.7. Up to nine<br />

parameters can be defined which are available in the Perl user scripts as $$bpe{PARAM1},<br />

$$bpe{PARAM2}, etc. (resp. as environment variables ${PARAM1}, ${PARAM2}, etc., in shell<br />

user scripts). However, in case of a master script the parameter $$bpe{PARAM1} is reserved<br />

and contains the name of the control file. This is to maintain compatibility with the old<br />

BPE. New master scripts should use the variable $$bpe{CONTROL FILE} that has the same<br />

value.<br />

No PCF parameters can be defined for the slave scripts. The slave scripts should be given<br />

all necessary information through the variable $$bpe{CONTROL FILE LINE}. We have stated<br />

already that this variable contains exactly one line (different for each parallel running slave)<br />

of the control file. In addition to the information specific for the individual slave scripts<br />

(e.g., name of baseline to be processed) the master script may add the values of the BPE<br />

variables PARAM2, PARAM3, etc., to $$bpe{CONTROL FILE LINE} as blank-delimited list.<br />

These parameters are then available in the slave script as $$bpe{PARAM2}, $$bpe{PARAM3},<br />

etc. See Section 19.6.4 for an example.<br />

In the last panel (Figure 19.8) the BPE variables may be defined. These are additional<br />

variables that may be used in user scripts as well as in the program input files. The user<br />

may define the values of the BPE variables when executing the BPE. He may, e.g., specify<br />

a solution ID which is part of the result filenames.<br />

Figure 19.7: Process Control File, parameters for scripts.<br />

Page 394 AIUB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!