From 0b5c3622e37dcf697db45e8db05fd4ebf045674b Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 24 May 2018 15:22:43 +0200 Subject: Temporal gridshifting (#1015) Temporal gridshifts allow [h|v]gridshift operations to be used as step functions in a pipeline. This is useful in transformations dealing with deformations caused by earthquakes. See the included documentation for details. --- test/gie/deformation.gie | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) (limited to 'test') 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 + + -- cgit v1.2.3