Skip to content

Commit

Permalink
Merge pull request #75 from busstoptaktik/gridshift
Browse files Browse the repository at this point in the history
Gridshift bug fix and improvements:

- Repair grid interpolation. Now replicates PROJ results exactly.
- Add some tiny NTv2 files:
  - 5458.gsb: A NTv2 version of the existing test.datum file (54N..58N, 8E..16E),
  - 5458_with_subgrid.gsb: As 5458.gsb, but with a denser subgrid at (55N..56N, 12E..14E)
  • Loading branch information
busstoptaktik authored Nov 10, 2023
2 parents 3c59a3a + 675c7ed commit 441651c
Show file tree
Hide file tree
Showing 7 changed files with 261 additions and 151 deletions.
71 changes: 71 additions & 0 deletions geodesy/gsb/5458.gsa
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
NUM_OREC 11
NUM_SREC 11
NUM_FILE 1
GS_TYPE SECONDS
VERSION 2.0
SYSTEM_F INTER
SYSTEM_T GRS80
MAJOR_F 6378388.0
MINOR_F 6356911.946127946
MAJOR_T 6378137.0
MINOR_T 6356752.314140356

SUB_NAME 5458
PARENT NONE
CREATED 20231110
UPDATED 20231110
S_LAT 194400.0
N_LAT 208800.0
E_LONG -57600.0
W_LONG -28800.0
LAT_INC 3600.0
LONG_INC 3600.0
GS_COUNT 45

16 54 0 0
15 54 0 0
14 54 0 0
13 54 0 0
12 54 0 0
11 54 0 0
10 54 0 0
09 54 0 0
08 54 0 0
16 55 0 0
15 55 0 0
14 55 0 0
13 55 0 0
12 55 0 0
11 55 0 0
10 55 0 0
09 55 0 0
08 55 0 0
16 56 0 0
15 56 0 0
14 56 0 0
13 56 0 0
12 56 0 0
11 56 0 0
10 56 0 0
09 56 0 0
08 56 0 0
16 57 0 0
15 57 0 0
14 57 0 0
13 57 0 0
12 57 0 0
11 57 0 0
10 57 0 0
09 57 0 0
08 57 0 0
16 58 0 0
15 58 0 0
14 58 0 0
13 58 0 0
12 58 0 0
11 58 0 0
10 58 0 0
09 58 0 0
08 58 0 0

END
Binary file added geodesy/gsb/5458.gsb
Binary file not shown.
99 changes: 99 additions & 0 deletions geodesy/gsb/5458_with_subgrid.gsa
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
NUM_OREC 11
NUM_SREC 11
NUM_FILE 2
GS_TYPE SECONDS
VERSION 2.0
SYSTEM_F INTER
SYSTEM_T GRS80
MAJOR_F 6378388.0
MINOR_F 6356911.946127946
MAJOR_T 6378137.0
MINOR_T 6356752.314140356

SUB_NAME 5458
PARENT NONE
CREATED 20231110
UPDATED 20231110
S_LAT 194400.0
N_LAT 208800.0
E_LONG -57600.0
W_LONG -28800.0
LAT_INC 3600.0
LONG_INC 3600.0
GS_COUNT 45

16 54 0 0
15 54 0 0
14 54 0 0
13 54 0 0
12 54 0 0
11 54 0 0
10 54 0 0
09 54 0 0
08 54 0 0
16 55 0 0
15 55 0 0
14 55 0 0
13 55 0 0
12 55 0 0
11 55 0 0
10 55 0 0
09 55 0 0
08 55 0 0
16 56 0 0
15 56 0 0
14 56 0 0
13 56 0 0
12 56 0 0
11 56 0 0
10 56 0 0
09 56 0 0
08 56 0 0
16 57 0 0
15 57 0 0
14 57 0 0
13 57 0 0
12 57 0 0
11 57 0 0
10 57 0 0
09 57 0 0
08 57 0 0
16 58 0 0
15 58 0 0
14 58 0 0
13 58 0 0
12 58 0 0
11 58 0 0
10 58 0 0
09 58 0 0
08 58 0 0

SUB_NAME 5556
PARENT 5458
CREATED 20231110
UPDATED 20231110
S_LAT 198000.0
N_LAT 201600.0
E_LONG -50400.0
W_LONG -43200.0
LAT_INC 1800.0
LONG_INC 1800.0
GS_COUNT 15

14.0 56.0 0 0
13.5 56.0 0 0
13.0 56.0 0 0
12.5 56.0 0 0
12.0 56.0 0 0
14.0 55.5 0 0
13.5 55.5 0 0
13.0 55.5 0 0
12.5 55.5 0 0
12.0 55.5 0 0
14.0 55.0 0 0
13.5 55.0 0 0
13.0 55.0 0 0
12.5 55.0 0 0
12.0 55.0 0 0

END
Binary file added geodesy/gsb/5458_with_subgrid.gsb
Binary file not shown.
Loading

0 comments on commit 441651c

Please sign in to comment.