Skip to content

Commit

Permalink
1.0.4 vs 1.0.5: add test of geodesist.ru
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Dec 5, 2021
1 parent 872966f commit 77b8376
Show file tree
Hide file tree
Showing 13 changed files with 313 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-calc-1.0.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
961275.114121 2387532.966114 5816428.272873
1010740.077413 2331272.982287 5830755.879993
941992.883677 2429792.123497 5802118.426620
996598.560568 2347786.011067 5826619.557974
1002638.023195 2335276.881369 5830518.997719
931992.260202 2450067.970537 5795267.716601
926183.500838 2445187.447940 5798237.028422
941523.238964 2413852.234963 5808787.037376
951680.508077 2388494.843415 5817634.424118
963374.332162 2376047.291809 5820736.236291
1023784.759975 2311537.769990 5836314.916860
938340.420784 2400006.200751 5815004.115730
1000062.734528 2353710.925164 5823614.811124
971562.132759 2366064.160989 5823482.960405
1028266.652072 2320990.319350 5831787.550296
990109.562125 2356362.132320 5824257.062981
976042.644528 2367577.402330 5822069.718823
982975.552060 2353824.299487 5826514.652052
1012434.550926 2319649.094687 5835081.476095
942727.644716 2407157.618804 5811346.719321
20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-calc-1.0.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
961275.114121 2387532.966114 5816428.272873
1010740.077413 2331272.982287 5830755.879993
941992.883677 2429792.123497 5802118.426620
996598.560568 2347786.011067 5826619.557974
1002638.023195 2335276.881369 5830518.997719
931992.260202 2450067.970537 5795267.716601
926183.500838 2445187.447940 5798237.028422
941523.238964 2413852.234963 5808787.037376
951680.508077 2388494.843415 5817634.424118
963374.332162 2376047.291809 5820736.236291
1023784.759975 2311537.769990 5836314.916860
938340.420784 2400006.200751 5815004.115730
1000062.734528 2353710.925164 5823614.811124
971562.132759 2366064.160989 5823482.960405
1028266.652072 2320990.319350 5831787.550296
990109.562125 2356362.132320 5824257.062981
976042.644528 2367577.402330 5822069.718823
982975.552060 2353824.299487 5826514.652052
1012434.550926 2319649.094687 5835081.476095
942727.644716 2407157.618804 5811346.719321
20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-diff-1.0.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-0.000121 -0.000114 0.000127
0.000587 -0.000287 0.000007
0.000323 -0.000497 0.000380
0.000432 -0.000067 0.000026
-0.000195 -0.000369 0.000281
-0.000202 -0.000537 0.000399
0.000162 0.000060 -0.000422
0.000036 0.000037 -0.000376
-0.000077 -0.000415 -0.000118
-0.000162 0.000191 -0.000291
0.000025 0.000010 0.000140
0.000216 0.000249 0.000270
0.000472 -0.000164 -0.000124
0.000241 0.000011 -0.000405
-0.000072 -0.000350 -0.000296
-0.000125 -0.000320 0.000019
0.000472 -0.000330 0.000177
-0.000060 -0.000487 -0.000052
0.000074 0.000313 -0.000095
0.000284 0.000196 -0.000321
20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-diff-1.0.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-0.000121 -0.000114 0.000127
0.000587 -0.000287 0.000007
0.000323 -0.000497 0.000380
0.000432 -0.000067 0.000026
-0.000195 -0.000369 0.000281
-0.000202 -0.000537 0.000399
0.000162 0.000060 -0.000422
0.000036 0.000037 -0.000376
-0.000077 -0.000415 -0.000118
-0.000162 0.000191 -0.000291
0.000025 0.000010 0.000140
0.000216 0.000249 0.000270
0.000472 -0.000164 -0.000124
0.000241 0.000011 -0.000405
-0.000072 -0.000350 -0.000296
-0.000125 -0.000320 0.000019
0.000472 -0.000330 0.000177
-0.000060 -0.000487 -0.000052
0.000074 0.000313 -0.000095
0.000284 0.000196 -0.000321
89 changes: 89 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-param-1.0.4.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
valgrind ./helmparms3d SK-42-points.txt SK-95-points.txt

==10947== Memcheck, a memory error detector
==10947== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==10947== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==10947== Command: ./helmparms3d SK-42-points.txt SK-95-points.txt
==10947==

*******************************
* helmparms3d v1.0.4 *
* (c) U. Niethammer 2021 *
*******************************
SK-42-points.txt:
961273.7840000000 2387539.9500000002 5816428.1440000003
1010738.5429999999 2331279.8080000002 5830755.8350000000
941991.7130000000 2429799.1690000002 5802118.2649999997
996597.0860000000 2347792.8820000002 5826619.4890000001
1002636.5020000000 2335283.7330000000 5830518.9390000002
931991.1660000000 2450075.0480000000 5795267.5379999997
926182.3860000001 2445194.5440000002 5798236.8399999999
941522.0060000001 2413859.2820000001 5808786.8750000000
951679.1790000000 2388501.8580000000 5817634.2790000001
963372.9580000000 2376054.2689999999 5820736.1109999996
1023783.1530000000 2311544.5540000000 5836314.8940000003
938339.1330000000 2400013.2579999999 5815003.9479999999
1000061.2840000000 2353717.7850000001 5823614.7479999997
971560.7220000000 2366071.1120000002 5823482.8490000004
1028265.0830000000 2320997.0890000002 5831787.5350000001
990108.1189999999 2356369.0240000002 5824256.9830000000
976041.2410000000 2367584.3390000002 5822069.6150000002
982974.0970000000 2353831.2140000002 5826514.5599999996
1012432.9720000000 2319655.9150000000 5835081.4340000004
942726.3860000001 2407164.6620000000 5811346.5590000004

SK-95-points.txt:
961275.1139999999 2387532.9660000000 5816428.2730000000
1010740.0780000000 2331272.9819999998 5830755.8799999999
941992.8840000000 2429792.1230000001 5802118.4270000001
996598.5610000000 2347786.0109999999 5826619.5580000002
1002638.0230000000 2335276.8810000001 5830518.9979999997
931992.2600000000 2450067.9700000002 5795267.7170000002
926183.5010000000 2445187.4479999999 5798237.0279999999
941523.2389999999 2413852.2349999999 5808787.0369999995
951680.5080000000 2388494.8429999999 5817634.4239999996
963374.3320000001 2376047.2919999999 5820736.2359999996
1023784.7600000000 2311537.7700000000 5836314.9170000004
938340.4210000000 2400006.2009999999 5815004.1160000004
1000062.7350000000 2353710.9249999998 5823614.8109999998
971562.1330000000 2366064.1609999998 5823482.9600000000
1028266.6520000000 2320990.3190000001 5831787.5499999998
990109.5620000000 2356362.1320000002 5824257.0630000001
976042.6450000000 2367577.4019999998 5822069.7189999996
982975.5520000000 2353824.2990000001 5826514.6519999998
1012434.5510000000 2319649.0950000002 5835081.4759999998
942727.6450000000 2407157.6189999999 5811346.7189999996

R =
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000

T =
-0.8780025419 -10.0450090237 1.7447787357

s = 1.0000000008 (= 0.0007897332 ppm)

Results matrix:
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000
-0.8780025419 -10.0450090237 1.7447787357
1.0000000008
...done
==10947==
==10947== HEAP SUMMARY:
==10947== in use at exit: 0 bytes in 0 blocks
==10947== total heap usage: 286 allocs, 286 frees, 354,544 bytes allocated
==10947==
==10947== All heap blocks were freed -- no leaks are possible
==10947==
==10947== For lists of detected and suppressed errors, rerun with: -s
==10947== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


time for i in `seq 1 10000`; do ./helmparms3d SK-42-points.txt SK-95-points.txt > /dev/null; done

real 0m8,458s
user 0m6,979s
sys 0m1,839s
5 changes: 5 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-param-1.0.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000
-0.8780025419 -10.0450090237 1.7447787357
1.0000000008
89 changes: 89 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-param-1.0.5.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
valgrind ./helmparms3d SK-42-points.txt SK-95-points.txt

==10965== Memcheck, a memory error detector
==10965== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==10965== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==10965== Command: ./helmparms3d SK-42-points.txt SK-95-points.txt
==10965==

*******************************
* helmparms3d v1.0.5 *
* (c) U. Niethammer 2021 *
*******************************
SK-42-points.txt:
961273.7840000000 2387539.9500000002 5816428.1440000003
1010738.5429999999 2331279.8080000002 5830755.8350000000
941991.7130000000 2429799.1690000002 5802118.2649999997
996597.0860000000 2347792.8820000002 5826619.4890000001
1002636.5020000000 2335283.7330000000 5830518.9390000002
931991.1660000000 2450075.0480000000 5795267.5379999997
926182.3860000001 2445194.5440000002 5798236.8399999999
941522.0060000001 2413859.2820000001 5808786.8750000000
951679.1790000000 2388501.8580000000 5817634.2790000001
963372.9580000000 2376054.2689999999 5820736.1109999996
1023783.1530000000 2311544.5540000000 5836314.8940000003
938339.1330000000 2400013.2579999999 5815003.9479999999
1000061.2840000000 2353717.7850000001 5823614.7479999997
971560.7220000000 2366071.1120000002 5823482.8490000004
1028265.0830000000 2320997.0890000002 5831787.5350000001
990108.1189999999 2356369.0240000002 5824256.9830000000
976041.2410000000 2367584.3390000002 5822069.6150000002
982974.0970000000 2353831.2140000002 5826514.5599999996
1012432.9720000000 2319655.9150000000 5835081.4340000004
942726.3860000001 2407164.6620000000 5811346.5590000004

SK-95-points.txt:
961275.1139999999 2387532.9660000000 5816428.2730000000
1010740.0780000000 2331272.9819999998 5830755.8799999999
941992.8840000000 2429792.1230000001 5802118.4270000001
996598.5610000000 2347786.0109999999 5826619.5580000002
1002638.0230000000 2335276.8810000001 5830518.9979999997
931992.2600000000 2450067.9700000002 5795267.7170000002
926183.5010000000 2445187.4479999999 5798237.0279999999
941523.2389999999 2413852.2349999999 5808787.0369999995
951680.5080000000 2388494.8429999999 5817634.4239999996
963374.3320000001 2376047.2919999999 5820736.2359999996
1023784.7600000000 2311537.7700000000 5836314.9170000004
938340.4210000000 2400006.2009999999 5815004.1160000004
1000062.7350000000 2353710.9249999998 5823614.8109999998
971562.1330000000 2366064.1609999998 5823482.9600000000
1028266.6520000000 2320990.3190000001 5831787.5499999998
990109.5620000000 2356362.1320000002 5824257.0630000001
976042.6450000000 2367577.4019999998 5822069.7189999996
982975.5520000000 2353824.2990000001 5826514.6519999998
1012434.5510000000 2319649.0950000002 5835081.4759999998
942727.6450000000 2407157.6189999999 5811346.7189999996

R =
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000

T =
-0.8780025419 -10.0450090237 1.7447787357

s = 1.0000000008 (= 0.0007897332 ppm)

Results matrix:
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000
-0.8780025419 -10.0450090237 1.7447787357
1.0000000008
...done
==10965==
==10965== HEAP SUMMARY:
==10965== in use at exit: 0 bytes in 0 blocks
==10965== total heap usage: 150 allocs, 150 frees, 116,272 bytes allocated
==10965==
==10965== All heap blocks were freed -- no leaks are possible
==10965==
==10965== For lists of detected and suppressed errors, rerun with: -s
==10965== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


time for i in `seq 1 10000`; do ./helmparms3d SK-42-points.txt SK-95-points.txt > /dev/null; done

real 0m7,235s
user 0m6,015s
sys 0m1,567s
5 changes: 5 additions & 0 deletions test/geodesist.ru/SK-42-SK-95-param-1.0.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.0000000000 -0.0000031994 0.0000016928
0.0000031994 1.0000000000 -0.0000000028
-0.0000016928 0.0000000028 1.0000000000
-0.8780025419 -10.0450090237 1.7447787357
1.0000000008
3 changes: 3 additions & 0 deletions test/geodesist.ru/SK-42-datum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"КРЕДО ТРАНСКОР", "СК-42 (ГОСТ 32453-2017)"
Krassovsky 1940, Bursa-Wolf, -23.5700, 140.9500, 79.8000, 0d00m00.000s, 0d00m00.350s, 0d00m00.790s, 1.000000220000

20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-42-points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
961273.784 2387539.950 5816428.144
1010738.543 2331279.808 5830755.835
941991.713 2429799.169 5802118.265
996597.086 2347792.882 5826619.489
1002636.502 2335283.733 5830518.939
931991.166 2450075.048 5795267.538
926182.386 2445194.544 5798236.840
941522.006 2413859.282 5808786.875
951679.179 2388501.858 5817634.279
963372.958 2376054.269 5820736.111
1023783.153 2311544.554 5836314.894
938339.133 2400013.258 5815003.948
1000061.284 2353717.785 5823614.748
971560.722 2366071.112 5823482.849
1028265.083 2320997.089 5831787.535
990108.119 2356369.024 5824256.983
976041.241 2367584.339 5822069.615
982974.097 2353831.214 5826514.560
1012432.972 2319655.915 5835081.434
942726.386 2407164.662 5811346.559
Binary file not shown.
2 changes: 2 additions & 0 deletions test/geodesist.ru/SK-95-datum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"КРЕДО ТРАНСКОР", "СК-95 (ГОСТ 32453-2017)"
Krassovsky 1940, Bursa-Wolf, -24.4700, 130.8900, 81.5600, 0d00m00.000s, 0d00m00.000s, 0d00m00.130s, 1.000000220000
20 changes: 20 additions & 0 deletions test/geodesist.ru/SK-95-points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
961275.114 2387532.966 5816428.273
1010740.078 2331272.982 5830755.880
941992.884 2429792.123 5802118.427
996598.561 2347786.011 5826619.558
1002638.023 2335276.881 5830518.998
931992.260 2450067.970 5795267.717
926183.501 2445187.448 5798237.028
941523.239 2413852.235 5808787.037
951680.508 2388494.843 5817634.424
963374.332 2376047.292 5820736.236
1023784.760 2311537.770 5836314.917
938340.421 2400006.201 5815004.116
1000062.735 2353710.925 5823614.811
971562.133 2366064.161 5823482.960
1028266.652 2320990.319 5831787.550
990109.562 2356362.132 5824257.063
976042.645 2367577.402 5822069.719
982975.552 2353824.299 5826514.652
1012434.551 2319649.095 5835081.476
942727.645 2407157.619 5811346.719

2 comments on commit 77b8376

@dr-ni
Copy link
Owner

@dr-ni dr-ni commented on 77b8376 Dec 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pi@rp4:~/helmert3d $ make pdfman 
groff -m man -T pdf man/man1/helmert3d.1 > man_helmert3d.pdf
groff: can't find 'DESC' file
groff: fatal error: invalid device 'pdf'
make: *** [Makefile:35: pdfman] Fehler 3
pi@rp4:~/helmert3d $ groff -h
usage: groff [-abceghijklpstvzCEGNRSUVXZ] [-dcs] [-ffam] [-mname] [-nnum]
       [-olist] [-rcn] [-wname] [-Darg] [-Fdir] [-Idir] [-Karg] [-Larg]
       [-Mdir] [-Parg] [-Tdev] [-Wname] [files...]

-h	print this message
-v	print version number
-e	preprocess with eqn
-g	preprocess with grn
-j	preprocess with chem
-k	preprocess with preconv
-p	preprocess with pic
-s	preprocess with soelim
-t	preprocess with tbl
-G	preprocess with grap
-J	preprocess with gideal
-R	preprocess with refer
-a	produce ASCII description of output
-b	print backtraces with errors or warnings
-c	disable color output
-dcs	define a string c as s
-ffam	use fam as the default font family
-i	read standard input after named input files
-l	spool the output
-mname	read macros tmac.name
-nnum	number first page n
-olist	output only pages in list
-rcn	define a number register c as n
-wname	enable warning name
-z	suppress formatted output
-C	enable compatibility mode
-Darg	use arg as default input encoding.  Implies -k
-E	inhibit all errors
-Fdir	search dir for device directories
-Idir	search dir for soelim, troff, and grops.  Implies -s
-Karg	use arg as input encoding.  Implies -k
-Larg	pass arg to the spooler
-Mdir	search dir for macro files
-N	don't allow newlines within eqn delimiters
-Parg	pass arg to the postprocessor
-S	enable safer mode (the default)
-Tdev	use device dev
-U	enable unsafe mode
-V	print commands on stdout instead of running them
-Wname	inhibit warning name
-X	use X11 previewer rather than usual postprocessor
-Z	don't postprocess

@zvezdochiot
Copy link
Collaborator Author

@zvezdochiot zvezdochiot commented on 77b8376 Dec 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dr-ni .

✔️ Ok. Solved. Repeat git clone ... and tape groff -v.

Please sign in to comment.