diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-20 11:54:01 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-20 11:54:01 +0100 |
| commit | 5c179b33499f7317c296e698ade65be22ff51b22 (patch) | |
| tree | c70bafdf1d50b5d0a0aa1640b8019e56263925c8 /scripts | |
| parent | 5f36c9ebde150e7ece7d153bf1dc7bd213de6016 (diff) | |
| download | PROJ-5c179b33499f7317c296e698ade65be22ff51b22.tar.gz PROJ-5c179b33499f7317c296e698ade65be22ff51b22.zip | |
grid_check.py: fixes
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/grid_checks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/grid_checks.py b/scripts/grid_checks.py index 7883457c..5ed6c0ae 100755 --- a/scripts/grid_checks.py +++ b/scripts/grid_checks.py @@ -140,11 +140,11 @@ elif args.check_filelist: first_line = False continue filename, type, unit, source_crs, target_crs, interpolation_crs, _, _, _ = row - if type == 'DEFORMATION_MODEL': + if type in ('DEFORMATION_MODEL', 'VELOCITY_MODEL'): continue assert type in ('HORIZONTAL_OFFSET', 'VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL', - 'VERTICAL_OFFSET_VERTICAL_TO_VERTICAL') + 'VERTICAL_OFFSET_VERTICAL_TO_VERTICAL'), type set_filenames_from_csv.add(filename) assert filename in set_grids, filename @@ -203,7 +203,7 @@ elif args.check_filelist: e += 360 else: w -= 360 - if filename not in ('c1hpgn.gsb', 'c2hpgn.gsb', 'guhpgn.gsb', 'g2009g01.gtx','g2009s01.gtx','g2012bg0.gtx', ): + if filename not in ('c1hpgn.gsb', 'c2hpgn.gsb', 'guhpgn.gsb', 'g2009g01.gtx','g2009s01.gtx','g2012bg0.gtx', 'MAY76V20.gsb', ): assert grid_w < e, (filename, source_crs, grid_w, e) assert grid_e > w, (filename, source_crs, grid_e, w) assert grid_s < n, (filename, source_crs, grid_s, n) |
