satpy.tests.reader_tests.gms.test_gms5_vissr_navigation module

Unit tests for GMS-5 VISSR navigation.

class satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.TestImageNavigation[source]

Bases: object

Test navigation of an entire image.

expected()[source]

Get expected coordinates.

test_get_lons_lats(navigation_params, expected)[source]

Test getting lon/lat coordinates.

class satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.TestPredictionInterpolation[source]

Bases: object

Test interpolation of orbit and attitude predictions.

attitude_expected()[source]

Get expected attitude.

obs_time()[source]

Get observation time.

orbit_expected()[source]

Get expected orbit.

test_interpolate_angles(obs_time, expected)[source]

Test interpolation of periodic angles.

test_interpolate_attitude_prediction(obs_time, attitude_prediction, attitude_expected)[source]

Test interpolating attitude prediction.

test_interpolate_continuous(obs_time, expected)[source]

Test interpolation of continuous variables.

test_interpolate_nearest(obs_time, expected)[source]

Test nearest neighbour interpolation.

test_interpolate_orbit_prediction(obs_time, orbit_prediction, orbit_expected)[source]

Test interpolating orbit prediction.

class satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.TestSinglePixelNavigation[source]

Bases: object

Test navigation of a single pixel.

test_get_lon_lat(point, nav_params, expected)[source]

Test getting lon/lat coordinates for a given pixel.

test_intersect_view_vector_with_earth()[source]

Test intersection of a view vector with the earth’s surface.

test_normalize_vector()[source]

Test vector normalization.

test_transform_earth_fixed_to_geodetic_coords(point_earth_fixed, point_geodetic_exp)[source]

Test transformation from earth-fixed to geodetic coordinates.

test_transform_image_coords_to_scanning_angles()[source]

Test transformation from image coordinates to scanning angles.

test_transform_satellite_to_earth_fixed_coords()[source]

Test transformation from satellite to earth-fixed coordinates.

test_transform_scanning_angles_to_satellite_coords()[source]

Test transformation from scanning angles to satellite coordinates.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation._assert_namedtuple_close(a, b)[source]
satpy.tests.reader_tests.gms.test_gms5_vissr_navigation._disable_jit(request, monkeypatch)[source]

Run tests with jit enabled and disabled.

Reason: Coverage report is only accurate with jit disabled.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation._is_namedtuple(obj)[source]
satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.attitude_prediction()[source]

Get attitude prediction.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.navigation_params(static_nav_params, predicted_nav_params)[source]

Get image navigation parameters.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.orbit_prediction()[source]

Get orbit prediction.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.predicted_nav_params(attitude_prediction, orbit_prediction)[source]

Get predicted navigation parameters.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.proj_params(sampling_angle)[source]

Get projection parameters.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.sampling_angle()[source]

Get sampling angle.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.scan_params(sampling_angle)[source]

Get scanning parameters.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.static_nav_params(proj_params, scan_params)[source]

Get static navigation parameters.

satpy.tests.reader_tests.gms.test_gms5_vissr_navigation.test_get_observation_time()[source]

Test getting a pixel’s observation time.