aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/deformation.gie80
1 files changed, 80 insertions, 0 deletions
diff --git a/test/gie/deformation.gie b/test/gie/deformation.gie
index b6ca3e0f..03071d1e 100644
--- a/test/gie/deformation.gie
+++ b/test/gie/deformation.gie
@@ -62,4 +62,84 @@ expect failure pjd_err_failed_to_load_grid
operation proj=deformation xy_grids=alaska z_grids=nonexisting ellps=GRS80
expect failure pjd_err_missing_args
+
+-------------------------------------------------------------------------------
+operation +proj=vgridshift +grids=egm96_15.gtx +t_epoch=2010.0 +t_final=2018.0
+-------------------------------------------------------------------------------
+tolerance 0.1 mm
+ignore pjd_err_failed_to_load_grid
+
+accept 12 56 0.0 2000.0
+expect 12 56 -36.5966 2000.0
+roundtrip 100
+
+accept 12 56 0.0 2011.0
+expect 12 56 0.0 2011.0
+roundtrip 100
+
+accept 12 56 0.0 2019.0
+expect 12 56 0.0 2019.0
+roundtrip 100
+
+accept 12 56 0.0
+expect 12 56 -36.5966
+roundtrip 100
+
+
+-------------------------------------------------------------------------------
+operation +proj=vgridshift +grids=egm96_15.gtx +t_epoch=2010.0 +t_final=now
+-------------------------------------------------------------------------------
+tolerance 0.1 mm
+ignore pjd_err_failed_to_load_grid
+
+accept 12 56 0.0 2000.0
+expect 12 56 -36.5966 2000.0
+roundtrip 100
+
+accept 12 56 0.0 2011.0
+expect 12 56 0.0 2011.0
+roundtrip 1000
+
+accept 12 56 0.0 3011.0
+expect 12 56 0.0 3011.0
+roundtrip 100
+
+
+-------------------------------------------------------------------------------
+operation +proj=hgridshift +grids=alaska +t_epoch=2010.0 +t_final=2018.0
+-------------------------------------------------------------------------------
+tolerance 0.1 mm
+ignore pjd_err_failed_to_load_grid
+
+accept -147.0 64.0 0.0 2000.0
+expect -147.0023233121 63.9995792119 0.0 2000.0
+roundtrip 100
+
+accept -147.0 64.0 0.0 2011.0
+expect -147.0 64.0 0.0 2011.0
+roundtrip 100
+
+accept -147.0 64.0 0.0 2011.0
+expect -147.0 64.0 0.0 2020.0
+roundtrip 100
+
+-------------------------------------------------------------------------------
+operation +proj=hgridshift +grids=alaska +t_epoch=2010.0 +t_final=now
+-------------------------------------------------------------------------------
+tolerance 0.1 mm
+ignore pjd_err_failed_to_load_grid
+
+accept -147.0 64.0 0.0 2000.0
+expect -147.0023233121 63.9995792119 0.0 2000.0
+roundtrip 100
+
+accept -147.0 64.0 0.0 2011.0
+expect -147.0 64.0 0.0 2011.0
+roundtrip 100
+
+accept -147.0 64.0 0.0 3011.0
+expect -147.0 64.0 0.0 3011.0
+roundtrip 100
+
+
</gie>