Batch file formatted data output

Batch file formatted data output

The formatted data output can also be called up directly without the graphical user interface via the command line, provided a suitable batch file *.bna is available in the directory. To do this, navigate to the directory in which the calculation is to be performed. If you enter nachlauf and confirm with the Enter key, a calculation is started with the module NACHLAUF. The default batch file name is nach.bna. This file is searched for in the directory. However, a different batch file can also be specified with the nachlauf filename call (the extension ".bna" is automatically appended if required). The batch files can be created or modified manually using any editor.

Example of a batch file for the formatted data output

FORMatted data output

out_n.txt # Ausgabedatei

255 0 0 0 10 # Difference between last Iterations

1 # Format for no.,x,y,value

i6,f10.2,f10.2,f10.2

3 # Layer number (=0 -> all layers)

1 # With/without (1/0) comment line in the output file

 

The program ignores the characters behind the sign `#'. This space can be used for individual remarks.

The presented batch file for the data output can be downloaded on our Homepage.

 

Here you find a detailed

description of the batch file for a formatted data output

1st line: 'FORM' or 'form' for 'Formatierte Ausgabe (Formatted Output)'

2nd line: name of the output file

3rd line (5 flags): data identification number, number of the time step (transient, else = 0), index, output for balance areas (0 = no consideration, -1 = considering all, value = number of the balance area to be considered), for quantity-based data flag for transformation in another unit (else = 10): first character: 1= m³, 2= liter, second charcter: 0= year, 1= month, 2= day, 3= hour, 4= minute, 5= second (i.e. 23 = l/h)

 

4th line: number of the general format type (1-4)

5th line: output format string

6th line: layer number (for 3D data): >0 = layer number, 0= all layers, else hydrograph node numbers

7th line: flag for the comment lines in the output file (1= yes/0= no)

 

 

Data export for ArcInfo