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.

18.9 Technical Details<br />

new program input files in <strong>Version</strong> <strong>5.0</strong> of <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> is the sum from the menu<br />

panel files U:/PAN/*.PAN and the I-, N-, F-files of the old menu system.<br />

As stated above, there is exactly one input file that corresponds to one main program. The<br />

file has the same name as the corresponding program. The default location is ${U}/PAN and<br />

default extension is INP. The file consists of an arbitrary number of keywords and panels.<br />

18.9.2.1 Keywords in Input Files<br />

As an example a part of the ADDNEQ2 program input file is displayed in Figure 18.4. The<br />

keyword structure requires several comments and explanations.<br />

• Lines containing the exclamation mark (!) as the first non-blank character are treated<br />

as comments by the menu system as well as by the main program.<br />

• The keywords are written in capital letters. They start at the beginning of the line.<br />

• The keyword is followed by the number of values associated with it.<br />

• Keyword values are enclosed by double quotes. If the number of values is equal to one,<br />

the value is on the same line as the keyword (e.g., keyword SHOWGEN in Figure 18.4).<br />

The values are listed in separate lines if more than one value per keyword is present<br />

(e.g., keyword INPFILE in Figure 18.4).<br />

• Lines beginning with two hash marks (##) are only read by the menu system and<br />

contain all the information for displaying and handling the keyword by the menu<br />

program. They are ignored by the main programs. A list of all widgets and their valid<br />

metacommands is given in Table 18.2. Multiple lines with metacommands are allowed<br />

(see, e.g., keyword COVCOMI in Figure 18.4).<br />

• If the value to be displayed in the panel input field is different from the keyword value<br />

to be used by the main program, a line with a single hash mark (#) gives the value the<br />

user entered in the input field. Examples can be found in Figure 18.4, showing, e.g.,<br />

the use of wildcards for keyword INPFILES or the use of menu variables for keyword<br />

COORD.<br />

• One blank line (at least) is used to separate keywords.<br />

• The comments in field-specific message boxes generated by the menu are taken<br />

from keywords MSG keyword or DESCR keyword present for each keyword. Keywords<br />

DESCR keyword accompany each keyword specifying a single filename (e.g., keyword<br />

COORD in Figure 18.4). This information is used by the Fortran programs to generate<br />

a list of input and output filenames at the beginning of the program output file. The<br />

title for a list of files printed to the program output file is given by a keyword similar<br />

to INPFILE TXT COL 1 in Figure 18.4.<br />

A special construct allows to enter several files with the same filename in one entry field<br />

(comparable with filename tables in the F-files of the old menu system). This allows the<br />

user, e.g., to enter the names of the observation header files only. The names of the corresponding<br />

observation data files are then constructed automatically in the Fortran programs<br />

<strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> <strong>Version</strong> <strong>5.0</strong> Page 371

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

Saved successfully!

Ooh no, something went wrong!