satpy.tests.reader_tests.test_nucaps module
Module for testing the satpy.readers.nucaps module.
- class satpy.tests.reader_tests.test_nucaps.FakeNetCDF4FileHandler2(filename, filename_info, filetype_info, auto_maskandscale=False, xarray_kwargs=None, cache_var_size=0, cache_handle=False, extra_file_content=None)[source]
Bases:
FakeNetCDF4FileHandler
Swap-in NetCDF4 File Handler.
Get fake file content from ‘get_test_content’.
- class satpy.tests.reader_tests.test_nucaps.TestNUCAPSReader(methodName='runTest')[source]
Bases:
TestCase
Test NUCAPS Reader.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_load_individual_pressure_levels_min_max()[source]
Test loading individual Temperature with min/max level specified.
- test_load_individual_pressure_levels_single()[source]
Test loading individual Temperature with specific levels.
- test_load_individual_pressure_levels_true()[source]
Test loading Temperature with individual pressure datasets.
- test_load_pressure_levels_single_and_pressure_levels()[source]
Test loading a specific Temperature level and pressure levels.
- yaml_file = 'nucaps.yaml'
- class satpy.tests.reader_tests.test_nucaps.TestNUCAPSScienceEDRReader(methodName='runTest')[source]
Bases:
TestCase
Test NUCAPS Science EDR Reader.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_load_individual_pressure_levels_min_max()[source]
Test loading individual Temperature with min/max level specified.
- test_load_individual_pressure_levels_single()[source]
Test loading individual Temperature with specific levels.
- test_load_individual_pressure_levels_true()[source]
Test loading Temperature with individual pressure datasets.
- test_load_pressure_levels_single_and_pressure_levels()[source]
Test loading a specific Temperature level and pressure levels.
- yaml_file = 'nucaps.yaml'