satpy.tests.reader_tests.test_smos_l2_wind module

Module for testing the satpy.readers.smos_l2_wind module.

class satpy.tests.reader_tests.test_smos_l2_wind.FakeNetCDF4FileHandlerSMOSL2WIND(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’.

get_test_content(filename, filename_info, filetype_info)[source]

Mimic reader input file content.

class satpy.tests.reader_tests.test_smos_l2_wind.TestSMOSL2WINDReader(methodName='runTest')[source]

Bases: TestCase

Test SMOS L2 WINDReader.

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.

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Wrap NetCDF4 file handler with our own fake handler.

tearDown()[source]

Stop wrapping the NetCDF4 file handler.

test_adjust_lon()[source]

Load adjust longitude dataset.

test_init()[source]

Test basic initialization of this reader.

test_load_lat()[source]

Load lat dataset.

test_load_lon()[source]

Load lon dataset.

test_load_wind_speed()[source]

Load wind_speed dataset.

test_roll_dataset()[source]

Load roll of dataset along the lon coordinate.

yaml_file = 'smos_l2_wind.yaml'