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