Batch File Interpolation

Batch File Interpolation

The interpolation can also be called up directly without the graphical user interface via the command line, provided a batch file *.bip is available in the directory. To do this, navigate to the directory in which the calculation is to be carried out. Type interpol into the command line and confirm with the Enter key, this will start the calculation of the interpolation. The default batch file name is inter.bip. This file is searched for in the directory. However, another batch file can also be specified with the interpol Dateiname command (the extension "*.bip" is automatically appended if required). The batch files can be created or modified manually using any editor.

 

Because of the manifold choices of the interpolation type, the procedure and the interpolation method four possible batch files are shown. It is recommended especially for the interpolation to create the batch files using the dialog box in the calculation module Interpolation.

 

Example 1: Interpolation of node data using the algorithm distance weighting, linear method:

out.i # Output file

K # Interpolation of node data

interpolationsdaten.txt # File with interpolation data

1 1.0 # Rejection of duplicate interpolation points (1-yes,0-no), distance

73 3 # Exist. Initial potential head, consider layer number

1 1.0 # Lower interpolaton limit (1-yes,0-no), minimum

1 20.0 # Upper interpolation limit (1-ja,0-nein), maximum

0 # Consideration of GLEI (1-yes,0-no)

1 # Distance weighting

2 # Linear weighting (1/d)

100.00 # Max. searching radius

4 # Max. number of interpolation points

2 # Min. number of interpolation points

-999.99 # Pre-assignment value

 

Example 2: Interpolation of node data using the algorithm Kriging, variogram type h :

out.i # Output file

K # Interpolation of node data

interpolationsdaten.txt # File with interpolation data

1 1.0 # Rejection of duplicate interpolation points (1-yes,0-no), distance

73 1 # Exist. Initial potential head, consider layer number

0 # Lower interpolation limit (1-yes,0-no)

1 20.0 # Upper interpolation limit (1-ja,0-nein), maximum

0 # Consideration of GLEI (1-yes,0-no)

3 # Kriging

1 # Variogram h^a

1.00 1.00 1.00 # Nugget effect (PEP), variance (PI), parameter (A)

2 10 # 1-precise entry, 2-equidist. partition, number of distance classes

135.197

 

Example 3: Interpolation along a node track

out.i # Output file

R # Interpolation on node track (transient data)

knotenzug.txt # Definition file for node track

gang.txt # File with hydrograph data

1 2 # POTE over the depth (yes/no=1/0), max. layer

1 # With/without floodplain nodes (1/0)

vorland.txt # File with floodplain nodes

 

Example 4: Interpolation of a groundwater contour map

out.i # Output file

G # Interpolation of isoline maps

interpolationsdaten.txt # File with interpolation data

1 1.0 # Rejection of duplicate interpolation points (1-yes,0-no), distance

0 # Do not consider existing data

1 1.0 # Lower interpolaton limit (1-yes,0-no), minimum

1 20.0 # Upper interpolation limit (1-ja,0-nein), maximum

1 # Priority of POTE (0-no consideration)

2 # Priority of KNOT (0-no consideration)

0 # Priority of VORF+LEKN (0-no consideration)

3 # Priority of GLEI (0-no consideration)

0 # Consideration of minimum depth of water table (KKKK) (1-yes,0-no)

0 # Consideration of q=0-boundaries (KNOT) (1-yes,0-no)

0 # Consideration of transmissivity (KWER+MAEC) (1-yes,0-no)

4 # Gaussian interpolation

 

All characters behind the '#' are ignored. This space in the batch file can be used for descriptions or remarks.

The shown batch files are ready to download our homepage under the Download and Support Documentation section.

 

Here you find a detailed

description of the batch file:

 

1st line: name of the output file

2nd line: 1st character = K for interpolation to nodes

= E for interpolation to elements

= R for interpolation to a polygonal line for several time steps

= G for interpolation of a groundwater contour map

 

In case of R:

3rd line: file containing the nodes along the polygonal line

4th line: file with time-dependent measured values, format of nominal values

5th line: flag, maximum layer for potential head in deeper layers

Flag = 1 interpolated potential heads are written into the output file for layer 1 up to max. layer

Flag = 0 POTE values only for the nodes along the polygonal line (1st layer) are written to the output file

6th line: Flag for interpolation under consideration of external nodes

Flag = 1 with external nodes

Flag = 0 without external nodes

For the case "with" external nodes:

7th line: file which defines the external nodes

 

In case of K or E

2nd line: 3rd character = 15th column of the output file, 4th character = 16th column of the output file

3rd line: name of the file containing the measuring data (STR-format (I10,F10,F10,F10))

4th line: flag for sorting out 'double' measuring values (1 = yes/0 = no), 2nd value is sorted out

5th line: identification number for additonal number (0 = no additional data) and layer number (>0) in case of a 3D model

6th line: flag for the lowest limit of interpolation values (1 = yes/ 0= no), minimum

7th line: flag for the topmost limit of interpolation values (1 = yes/ 0= no), maximum

8th line: flag for consideration of GLEI data, (only significant for interpolation of nodewise data!), (1 = yes/0 = no)

9th line: type of interpolation: 1= distance weighting, 2= interpolation to an area, 3= Kriging, 4= Gaussian interpolation

 

 

Input for type 1 (distance weighting):

10th line: interpolation mode: 1= Sampson, 2= linear weighting, 3= squared weighting, 4= weighting of 4th degree

11th line: search radius in m

12th line: maximum number of interpolation nodes

13th line: minimum number of interpolation node

14th line: default value, if there are not enough interpolation nodes.

 

 

Input for type 2 (area interpolation):

10th line: default value, if no convenient interpolation is possible.

 

 

Input for type 3 (Kriging interpolation):

10th line: Kriging type: 1= variogram H^A, 2= spherical variogram, 3= exponential variogram, 4= Gaussian variogram, 5= cubic variogram, 6= polynomial (degree between l or 9)

11th line: in case of type 1-5: nugget effect (PEP), variance (PI>0), parameter (A>0)

in case of type 6: degree of the polynomial (between 1 and 9), optimization of the polynomial

12th line: Flag for definition of the distance classes: (1= individual definition of each class, 2= equal intervals), number of classes (nclas<16)

for flag = 1: 13th line and the following:

per line: maximum (in m) for each distance class (sorted)

for flag = 2: 13th line : maximum (in m) for all classes

 

 

Input for type 4 (Gaussian interpolation): no further input necessary!