Coverage for pyrdnap / v2grid / __init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.14.0, created at 2026-06-10 10:52 -0400
« prev ^ index » next coverage.py v7.14.0, created at 2026-06-10 10:52 -0400
2# -*- coding: utf-8 -*-
4u'''Extract from the original, compressed, variant 2 grid files
5C{naptrans2018.txt.zip} and C{rdtrans2018.txt.zip} the C{NAP_...},
6C{lat_corr_} and C{lon_corr_} columns B{only} and encode each
7in Python as a row-order matrix, a 481-tuple of 301-arrays of
8single- or double precision floats.
9'''
10from pyrdnap.v_grids import _d_array, _f_array, _v_grid_txt
12__all__ = ()
13__version__ = '26.05.11'
15_NAP_h = _v_grid_txt(2, 'naptrans', 2, _f_array) # PYCHOK shared
16_lat_corr = _v_grid_txt(2, 'rdtrans', 2, _d_array) # PYCHOK shared
17_lon_corr = _v_grid_txt(2, 'rdtrans', 3, _d_array) # PYCHOK shared