satpy.tests.writer_tests.test_cf module
Tests for the CF writer.
- class satpy.tests.writer_tests.test_cf.TempFile(suffix='.nc')[source]
Bases:
object
A temporary filename class.
Initialize.
- class satpy.tests.writer_tests.test_cf.TestCFWriter[source]
Bases:
object
Test case for CF writer.
- test_global_attr_default_history_and_Conventions()[source]
Test saving global attributes history and Conventions.
- test_global_attr_history_and_Conventions()[source]
Test saving global attributes history and Conventions.
- test_load_module_with_old_pyproj()[source]
Test that cf_writer can still be loaded with pyproj 1.9.6.
- test_save_dataset_a_digit()[source]
Test saving an array to netcdf/cf where dataset name starting with a digit.
- test_save_dataset_a_digit_no_prefix_include_attr()[source]
Test saving an array to netcdf/cf dataset name starting with a digit with no prefix include orig name.
- test_save_dataset_a_digit_prefix()[source]
Test saving an array to netcdf/cf where dataset name starting with a digit with prefix.
- test_save_dataset_a_digit_prefix_include_attr()[source]
Test saving an array to netcdf/cf where dataset name starting with a digit with prefix include orig name.
- class satpy.tests.writer_tests.test_cf.TestEncodingAttribute[source]
Bases:
TestNetcdfEncodingKwargs
Test CF writer with ‘encoding’ dataset attribute.