satpy.tests.cf_tests.test_area module

Tests for the CF Area.

class satpy.tests.cf_tests.test_area.TestCFArea[source]

Bases: object

Test case for CF Area.

test_add_grid_mapping_cf_repr(input_data_arr)[source]

Test the conversion from pyresample area object to CF grid mapping.

Projection has a corresponding CF representation (e.g. geos).

test_add_grid_mapping_cf_repr_no_ab(input_data_arr)[source]

Test the conversion from pyresample area object to CF grid mapping.

Projection has a corresponding CF representation but no explicit a/b.

test_add_grid_mapping_no_cf_repr(input_data_arr)[source]

Test the conversion from pyresample area object to CF grid mapping.

Projection does not have a corresponding CF representation (e.g. COSMO).

test_add_grid_mapping_oblique_mercator(input_data_arr)[source]

Test the conversion from pyresample area object to CF grid mapping.

Projection is oblique mercator.

test_add_grid_mapping_transverse_mercator(input_data_arr)[source]

Test the conversion from pyresample area object to CF grid mapping.

Projection is transverse mercator.

test_add_lonlat_coords(dims)[source]

Test the conversion from areas to lon/lat.

test_area2cf_geos_area_nolonlats(input_data_arr, include_lonlats)[source]

Test the conversion of an area to CF standards.

test_area2cf_swath(input_data_arr)[source]

Test area2cf for swath definitions.

satpy.tests.cf_tests.test_area._gm_matches(gmapping, expected)[source]

Assert that all keys in expected match the values in gmapping.

satpy.tests.cf_tests.test_area.input_data_arr() DataArray[source]

Create a data array.