def test_add_original_variables(self): ha = HIRSAssert() ds = xr.Dataset() HIRS2.add_original_variables(ds, 6) Assertions.assert_geolocation_variables(self, ds, 56, 6, chunking=CHUNKING_2D) Assertions.assert_quality_flags(self, ds, 56, 6, chunking=CHUNKING_2D) ha.assert_bt_variable(ds, chunking=(10, 6, 56)) ha.assert_common_angles(ds, chunking=CHUNKING_2D) ha.assert_common_sensor_variables(ds, 102) ha.assert_coordinates(ds)
def test_add_original_variables(self): ha = HIRSAssert() ds = xr.Dataset() HIRS3.add_original_variables(ds, 6, srf_size=SRF_SIZE) Assertions.assert_geolocation_variables(self, ds, 56, 6, chunking=CHUNKING_2D) Assertions.assert_quality_flags(self, ds, 56, 6, chunking=CHUNKING_2D) ha.assert_bt_variable(ds, chunking=(10, 6, 56)) ha.assert_common_angles(ds, chunking=CHUNKING_2D) ha.assert_common_sensor_variables(ds, SRF_SIZE) ha.assert_extended_quality_flags(ds) ha.assert_coordinates(ds)