satpy.tests.cf_tests.test_coords module

CF processing of time information (coordinates and dimensions).

class satpy.tests.cf_tests.test_coords.TestCFcoords[source]

Bases: object

Test cases for CF spatial dimension and coordinates.

datasets()[source]

Create test dataset.

test__is_lon_or_lat_dataarray(datasets)[source]

Test the _is_lon_or_lat_dataarray function.

test_add_coordinates_attrs_coords()[source]

Check that coordinates link has been established correctly.

test_check_unique_projection_coords()[source]

Test that the x and y coordinates are unique.

test_ensure_unique_nondimensional_coords()[source]

Test that created coordinate variables are unique.

test_has_projection_coords(datasets)[source]

Test the has_projection_coords function.

test_is_projected(caplog)[source]

Tests for private _is_projected function.

class satpy.tests.cf_tests.test_coords.TestCFtime[source]

Bases: object

Test cases for CF time dimension and coordinates.

test_add_time_bounds_dimension()[source]

Test addition of CF-compliant time attributes.