Inputs:
pre-DEMP map in CL4 format
post-DEMP map in CL4 format
pre-DEMP map in TRI format
Output:
post-DEMP map in TRI format
The pre-DEMP and post-DEMP CL4 maps are compared line for line to obtain the mapping of x-y coordinates in arbitrary order. Then in the pre-DEMP TRI map, the pre-DEMP coordinates are replaced with the corresponding post-DEMP coordinates.
The pre-DEMP and post-DEMP TRI maps are used to map points from geopolitical to DEMP coordinates. The inverse mapping is unambiguous if there are no errors in the post-DEMP map. Each pre-DEMP triangle, and all the points within in, are mapped into the corresponding post-DEMP triangle.
EXECUTION: (on parep2.lbl.gov) cd $MDOCS/tridemp module load lang f77 -g tridemp.f -o tridemp.exe dbx tridemp.exe quit tridemp.exe input.1 input.2 input.3 output.4
back to
DEMP-related software