Bug#1015030: satpy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.10" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sat Jul 16 14:34:41 BST 2022
Source: satpy
Version: 0.36.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build; python3.9 -m pytest -k "not test_retrieve and not test_offline_retrieve and not test_retrieve_all and not test_download_script and not test_start_time and not test_end_time and not test_mimic_TPW2_nc and not TestAngleGeneration"
> ============================= test session starts ==============================
> platform linux -- Python 3.9.13, pytest-7.1.2, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: lazy-fixture-0.6.3
> collected 1585 items / 36 deselected / 2 skipped / 1549 selected
>
> satpy/tests/test_compat.py .. [ 0%]
> satpy/tests/test_composites.py ......................................... [ 2%]
> .......................................... [ 5%]
> satpy/tests/test_config.py ........ [ 6%]
> satpy/tests/test_crefl_utils.py . [ 6%]
> satpy/tests/test_data_download.py ............................. [ 7%]
> satpy/tests/test_dataset.py ............................................ [ 10%]
> .......... [ 11%]
> satpy/tests/test_demo.py ................... [ 12%]
> satpy/tests/test_dependency_tree.py ........ [ 13%]
> satpy/tests/test_file_handlers.py ............ [ 13%]
> satpy/tests/test_modifiers.py ................ [ 14%]
> satpy/tests/test_multiscene.py ............... [ 15%]
> satpy/tests/test_node.py ........ [ 16%]
> satpy/tests/test_readers.py ............................................ [ 19%]
> .................... [ 20%]
> satpy/tests/test_regressions.py ... [ 20%]
> satpy/tests/test_resample.py ...ss..................... [ 22%]
> satpy/tests/test_scene.py .............................................. [ 25%]
> ..............................................................sss.. [ 29%]
> satpy/tests/test_utils.py ............................ [ 31%]
> satpy/tests/test_writers.py ..................................... [ 33%]
> satpy/tests/test_yaml_reader.py ........................................ [ 36%]
> ... [ 36%]
> satpy/tests/compositor_tests/test_abi.py .. [ 36%]
> satpy/tests/compositor_tests/test_ahi.py .. [ 36%]
> satpy/tests/compositor_tests/test_glm.py .. [ 37%]
> satpy/tests/compositor_tests/test_sar.py .. [ 37%]
> satpy/tests/compositor_tests/test_viirs.py ......... [ 37%]
> satpy/tests/enhancement_tests/test_abi.py . [ 37%]
> satpy/tests/enhancement_tests/test_ahi.py . [ 37%]
> satpy/tests/enhancement_tests/test_enhancements.py ..................... [ 39%]
> ..................................... [ 41%]
> satpy/tests/enhancement_tests/test_viirs.py . [ 41%]
> satpy/tests/modifier_tests/test_crefl.py ............. [ 42%]
> satpy/tests/reader_tests/test_aapp_l1b.py ........ [ 43%]
> satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py ..... [ 43%]
> satpy/tests/reader_tests/test_abi_l1b.py ............................... [ 45%]
> ............ [ 46%]
> satpy/tests/reader_tests/test_abi_l2_nc.py .... [ 46%]
> satpy/tests/reader_tests/test_acspo.py ... [ 46%]
> satpy/tests/reader_tests/test_agri_l1.py ......... [ 47%]
> satpy/tests/reader_tests/test_ahi_hrit.py ........ [ 47%]
> satpy/tests/reader_tests/test_ahi_hsd.py .............. [ 48%]
> satpy/tests/reader_tests/test_ahi_l1b_gridded_bin.py ........... [ 49%]
> satpy/tests/reader_tests/test_ami_l1b.py ........... [ 50%]
> satpy/tests/reader_tests/test_amsr2_l1b.py ... [ 50%]
> satpy/tests/reader_tests/test_amsr2_l2.py .. [ 50%]
> satpy/tests/reader_tests/test_amsr2_l2_gaasp.py ........................ [ 51%]
> [ 51%]
> satpy/tests/reader_tests/test_ascat_l2_soilmoisture_bufr.py ... [ 52%]
> satpy/tests/reader_tests/test_avhrr_l0_hrpt.py ........... [ 52%]
> satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py s......s..s.. [ 53%]
> satpy/tests/reader_tests/test_clavrx.py ....... [ 54%]
> satpy/tests/reader_tests/test_clavrx_nc.py ... [ 54%]
> satpy/tests/reader_tests/test_cmsaf_claas.py .. [ 54%]
> satpy/tests/reader_tests/test_electrol_hrit.py ...... [ 54%]
> satpy/tests/reader_tests/test_eps_l1b.py .......... [ 55%]
> satpy/tests/reader_tests/test_eum_base.py ........... [ 56%]
> satpy/tests/reader_tests/test_fci_l1c_nc.py ................ [ 57%]
> satpy/tests/reader_tests/test_fci_l2_nc.py .................. [ 58%]
> satpy/tests/reader_tests/test_generic_image.py ....... [ 58%]
> satpy/tests/reader_tests/test_geocat.py .... [ 59%]
> satpy/tests/reader_tests/test_geos_area.py ....... [ 59%]
> satpy/tests/reader_tests/test_ghrsst_l2.py ..... [ 59%]
> satpy/tests/reader_tests/test_glm_l2.py .... [ 60%]
> satpy/tests/reader_tests/test_goes_imager_hrit.py ...... [ 60%]
> satpy/tests/reader_tests/test_goes_imager_nc.py .................. [ 61%]
> satpy/tests/reader_tests/test_gpm_imerg.py . [ 61%]
> satpy/tests/reader_tests/test_grib.py .......... [ 62%]
> satpy/tests/reader_tests/test_hdf4_utils.py . [ 62%]
> satpy/tests/reader_tests/test_hdf5_utils.py . [ 62%]
> satpy/tests/reader_tests/test_hdfeos_base.py .. [ 62%]
> satpy/tests/reader_tests/test_hrit_base.py ........ [ 63%]
> satpy/tests/reader_tests/test_hsaf_grib.py ... [ 63%]
> satpy/tests/reader_tests/test_hy2_scat_l2b_h5.py ....... [ 63%]
> satpy/tests/reader_tests/test_iasi_l2.py ........... [ 64%]
> satpy/tests/reader_tests/test_iasi_l2_so2_bufr.py .... [ 64%]
> satpy/tests/reader_tests/test_mersi2_l1b.py ..... [ 65%]
> satpy/tests/reader_tests/test_mimic_TPW2_lowres.py .... [ 65%]
> satpy/tests/reader_tests/test_mirs.py .............. [ 66%]
> satpy/tests/reader_tests/test_modis_l1b.py .............. [ 67%]
> satpy/tests/reader_tests/test_modis_l2.py ........... [ 67%]
> satpy/tests/reader_tests/test_msu_gsa_l1b.py ... [ 68%]
> satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py .................. [ 69%]
> .................................. [ 71%]
> satpy/tests/reader_tests/test_netcdf_utils.py ... [ 71%]
> satpy/tests/reader_tests/test_nucaps.py ...................... [ 73%]
> satpy/tests/reader_tests/test_nwcsaf_msg.py .. [ 73%]
> satpy/tests/reader_tests/test_nwcsaf_nc.py ........... [ 73%]
> satpy/tests/reader_tests/test_olci_nc.py ...... [ 74%]
> satpy/tests/reader_tests/test_omps_edr.py .... [ 74%]
> satpy/tests/reader_tests/test_safe_sar_l2_ocn.py .. [ 74%]
> satpy/tests/reader_tests/test_satpy_cf_nc.py ......... [ 75%]
> satpy/tests/reader_tests/test_scmi.py ....... [ 75%]
> satpy/tests/reader_tests/test_seadas_l2.py .......... [ 76%]
> satpy/tests/reader_tests/test_seviri_base.py ................ [ 77%]
> satpy/tests/reader_tests/test_seviri_l1b_calibration.py ..F...... [ 77%]
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py .................F.F... [ 79%]
> .......F.F [ 80%]
> satpy/tests/reader_tests/test_seviri_l1b_icare.py ....... [ 80%]
> satpy/tests/reader_tests/test_seviri_l1b_native.py ..................... [ 81%]
> ........F.F..........F.F........ [ 83%]
> satpy/tests/reader_tests/test_seviri_l1b_nc.py ..F.F.....F.. [ 84%]
> satpy/tests/reader_tests/test_seviri_l2_bufr.py .................. [ 85%]
> satpy/tests/reader_tests/test_seviri_l2_grib.py . [ 86%]
> satpy/tests/reader_tests/test_slstr_l1b.py .... [ 86%]
> satpy/tests/reader_tests/test_smos_l2_wind.py ...... [ 86%]
> satpy/tests/reader_tests/test_tropomi_l2.py .... [ 86%]
> satpy/tests/reader_tests/test_utils.py .................F.F [ 88%]
> satpy/tests/reader_tests/test_vaisala_gld360.py . [ 88%]
> satpy/tests/reader_tests/test_vii_base_nc.py .... [ 88%]
> satpy/tests/reader_tests/test_vii_l1b_nc.py .. [ 88%]
> satpy/tests/reader_tests/test_vii_l2_nc.py . [ 88%]
> satpy/tests/reader_tests/test_vii_utils.py . [ 88%]
> satpy/tests/reader_tests/test_viirs_compact.py .. [ 88%]
> satpy/tests/reader_tests/test_viirs_edr_active_fires.py ........ [ 89%]
> satpy/tests/reader_tests/test_viirs_edr_flood.py ... [ 89%]
> satpy/tests/reader_tests/test_viirs_l1b.py ...... [ 90%]
> satpy/tests/reader_tests/test_viirs_sdr.py .................... [ 91%]
> satpy/tests/reader_tests/test_virr_l1b.py .. [ 91%]
> satpy/tests/writer_tests/test_awips_tiled.py ....................... [ 92%]
> satpy/tests/writer_tests/test_cf.py .................................... [ 95%]
> [ 95%]
> satpy/tests/writer_tests/test_geotiff.py ................. [ 96%]
> satpy/tests/writer_tests/test_mitiff.py ............. [ 97%]
> satpy/tests/writer_tests/test_ninjogeotiff.py ....................xxx..x [ 98%]
> ..... [ 99%]
> satpy/tests/writer_tests/test_ninjotiff.py ........ [ 99%]
> satpy/tests/writer_tests/test_simple_image.py ... [ 99%]
> satpy/tests/writer_tests/test_utils.py . [100%]
>
> =================================== FAILURES ===================================
> ______________ TestSEVIRICalibrationAlgorithm.test_vis_calibrate _______________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_calibration.TestSEVIRICalibrationAlgorithm testMethod=test_vis_calibrate>
>
> def test_vis_calibrate(self):
> """Test conversion from radiance to reflectance."""
> result = self.algo.vis_calibrate(VIS008_RADIANCE,
> VIS008_SOLAR_IRRADIANCE)
> > xr.testing.assert_allclose(result, VIS008_REFLECTANCE)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ 2.739768, 2.615233, 2.615233, 2.615233, 2.615233],
> E [ 2.615233, 2.739768, 2.739768, 2.615233, 2.739768],
> E [ 3.362442, 3.486977, 3.486977, 3.362442, 3.486977],
> E [14.570578, 14.695117, 14.695117, 14.321507, 15.317789],
> E [33.126278, 34.49616 , 36.364185, 37.73407 , 39.60209 ]], dtype=float32)
> E R
> E array([[ 2.806639, 2.679065, 2.679065, 2.679065, 2.679065],
> E [ 2.679065, 2.806639, 2.806639, 2.679065, 2.806639],
> E [ 3.444512, 3.572086, 3.572086, 3.444512, 3.572086],
> E [14.926213, 15.053792, 15.053792, 14.671064, 15.691662],
> E [33.934814, 35.33813 , 37.251755, 38.655075, 40.56869 ]], dtype=float32)
>
> satpy/tests/reader_tests/test_seviri_l1b_calibration.py:140: AssertionError
> ___ TestHRITMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-False] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7f4397303b20>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7f4331216f10>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> ____ TestHRITMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-True] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7f4397303c40>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7f43311ec640>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> _____ TestHRITMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-False] _____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7f4397303490>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7f43529bcee0>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 415.26767],
> E [ 4567.944 , 11719.775 ]], dtype=float32)
> E R
> E array([[ nan, 401.28372],
> E [ 4414.121 , 11325.118 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> _____ TestHRITMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-True] ______
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7f43973030d0>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7f4352510430>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 173.02817],
> E [1903.31 , 4883.2397 ]], dtype=float32)
> E R
> E array([[ nan, 167.20154],
> E [1839.217 , 4718.799 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> __ TestNativeMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-False] ___
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7f4396f16250>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7f4331290280>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ___ TestNativeMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-True] ___
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7f4396f163a0>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7f43a3254730>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ____ TestNativeMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-False] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7f4396f16520>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7f433126f430>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 415.26767],
> E [ 4567.944 , 11719.775 ]], dtype=float32)
> E R
> E array([[ nan, 401.28372],
> E [ 4414.121 , 11325.118 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ____ TestNativeMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-True] _____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7f4396f166d0>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7f43333c8a00>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 173.02817],
> E [1903.31 , 4883.2397 ]], dtype=float32)
> E R
> E array([[ nan, 167.20154],
> E [1839.217 , 4718.799 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> _______ TestNCSEVIRIFileHandler.test_calibrate[VIS006-reflectance-False] _______
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7f43969bfa00>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance', use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', False),
> ('VIS006', 'radiance', False),
> ('VIS006', 'reflectance', False),
> # VIS channel, external coefficients
> ('VIS006', 'radiance', True),
> ('VIS006', 'reflectance', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', False),
> ('IR_108', 'radiance', False),
> ('IR_108', 'brightness_temperature', False),
> # IR channel, external coefficients
> ('IR_108', 'radiance', True),
> ('IR_108', 'brightness_temperature', True),
> # FUTURE: Enable once HRV reading has been fixed.
> # # HRV channel, internal coefficiens
> # ('HRV', 'counts', False),
> # ('HRV', 'radiance', False),
> # ('HRV', 'reflectance', False),
> # # HRV channel, external coefficients (mode should have no effect)
> # ('HRV', 'radiance', True),
> # ('HRV', 'reflectance', True),
> ]
> )
> def test_calibrate(
> self, file_handler, channel, calibration, use_ext_coefs
> ):
> """Test the calibration."""
> file_handler.nc = file_handler.nc.rename({
> 'num_rows_vis_ir': 'y',
> 'num_columns_vis_ir': 'x'
> })
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=use_ext_coefs
> )
> fh = file_handler
> fh.ext_calib_coefs = external_coefs
> dataset_id = make_dataid(name=channel, calibration=calibration)
>
> res = fh.calibrate(fh.nc[channel], dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:217: AssertionError
> _______ TestNCSEVIRIFileHandler.test_calibrate[VIS006-reflectance-True] ________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7f436f512a00>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance', use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', False),
> ('VIS006', 'radiance', False),
> ('VIS006', 'reflectance', False),
> # VIS channel, external coefficients
> ('VIS006', 'radiance', True),
> ('VIS006', 'reflectance', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', False),
> ('IR_108', 'radiance', False),
> ('IR_108', 'brightness_temperature', False),
> # IR channel, external coefficients
> ('IR_108', 'radiance', True),
> ('IR_108', 'brightness_temperature', True),
> # FUTURE: Enable once HRV reading has been fixed.
> # # HRV channel, internal coefficiens
> # ('HRV', 'counts', False),
> # ('HRV', 'radiance', False),
> # ('HRV', 'reflectance', False),
> # # HRV channel, external coefficients (mode should have no effect)
> # ('HRV', 'radiance', True),
> # ('HRV', 'reflectance', True),
> ]
> )
> def test_calibrate(
> self, file_handler, channel, calibration, use_ext_coefs
> ):
> """Test the calibration."""
> file_handler.nc = file_handler.nc.rename({
> 'num_rows_vis_ir': 'y',
> 'num_columns_vis_ir': 'x'
> })
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=use_ext_coefs
> )
> fh = file_handler
> fh.ext_calib_coefs = external_coefs
> dataset_id = make_dataid(name=channel, calibration=calibration)
>
> res = fh.calibrate(fh.nc[channel], dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:217: AssertionError
> _________ TestNCSEVIRIFileHandler.test_get_dataset[VIS006-reflectance] _________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7f436f512f70>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance'
>
> @pytest.mark.parametrize(
> ('channel', 'calibration'),
> [
> ('VIS006', 'reflectance'),
> ('IR_108', 'brightness_temperature')
> ]
> )
> def test_get_dataset(self, file_handler, channel, calibration):
> """Test getting the dataset."""
> dataset_id = make_dataid(name=channel, calibration=calibration)
> dataset_info = {
> 'nc_key': channel,
> 'units': 'units',
> 'wavelength': 'wavelength',
> 'standard_name': 'standard_name'
> }
> res = file_handler.get_dataset(dataset_id, dataset_info)
>
> # Test scanline acquisition times
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=False
> )
> expected.attrs = {
> 'orbital_parameters': {
> 'satellite_actual_longitude': -3.541742131915741,
> 'satellite_actual_latitude': -0.5203765167594427,
> 'satellite_actual_altitude': 35783419.16135868,
> 'satellite_nominal_longitude': -3.5,
> 'satellite_nominal_latitude': 0.0,
> 'projection_longitude': 0.0,
> 'projection_latitude': 0.0,
> 'projection_altitude': 35785831.0
> },
> 'georef_offset_corrected': True,
> 'platform_name': 'Meteosat-11',
> 'sensor': 'seviri',
> 'units': 'units',
> 'wavelength': 'wavelength',
> 'standard_name': 'standard_name'
> }
> expected['acq_time'] = ('y', [np.datetime64('1958-01-02 00:00:01'),
> np.datetime64('1958-01-02 00:00:02')])
> expected = expected[::-1] # reader flips data upside down
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ 460.7884 , 1182.2247 ],
> E [ nan, 41.88985]], dtype=float32)
> E R
> E array([[ 445.27155, 1142.414 ],
> E [ nan, 40.47923]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:265: AssertionError
> ___________ TestSunEarthDistanceCorrection.test_apply_sunearth_corr ____________
>
> self = <satpy.tests.reader_tests.test_utils.TestSunEarthDistanceCorrection testMethod=test_apply_sunearth_corr>
>
> def test_apply_sunearth_corr(self):
> """Test the correction of reflectances with sun-earth distance."""
> out_refl = hf.apply_earthsun_distance_correction(self.raw_refl)
> > np.testing.assert_allclose(out_refl, self.corr_refl)
> E AssertionError:
> E Not equal to tolerance rtol=1e-07, atol=0
> E
> E Mismatched elements: 6 / 6 (100%)
> E Max absolute difference: 2.4529259
> E Max relative difference: 0.02382628
> E x: array([ 10.254848, 20.509697, 41.019393, 1.025485, 100.497514,
> E 51.274242])
> E y: array([ 10.505147, 21.010294, 42.020588, 1.050515, 102.95044 ,
> E 52.525734])
>
> satpy/tests/reader_tests/test_utils.py:475: AssertionError
> ___________ TestSunEarthDistanceCorrection.test_remove_sunearth_corr ___________
>
> self = <satpy.tests.reader_tests.test_utils.TestSunEarthDistanceCorrection testMethod=test_remove_sunearth_corr>
>
> def test_remove_sunearth_corr(self):
> """Test the removal of the sun-earth distance correction."""
> out_refl = hf.remove_earthsun_distance_correction(self.corr_refl)
> > np.testing.assert_allclose(out_refl, self.raw_refl)
> E AssertionError:
> E Not equal to tolerance rtol=1e-07, atol=0
> E
> E Mismatched elements: 6 / 6 (100%)
> E Max absolute difference: 2.39196702
> E Max relative difference: 0.02440783
> E x: array([ 10.244078, 20.488157, 40.976313, 1.024408, 100.391967,
> E 51.220391])
> E y: array([10., 20., 40., 1., 98., 50.])
>
> satpy/tests/reader_tests/test_utils.py:482: AssertionError
> =============================== warnings summary ===============================
> satpy/readers/seviri_base.py:453
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:453: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> ('GsicsCalMode', np.bool),
>
> satpy/readers/seviri_base.py:454
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:454: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> ('GsicsCalValidity', np.bool),
>
> satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py:541
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py:541: PytestUnknownMarkWarning: Unknown pytest.mark.file_handler_data - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
> @pytest.mark.file_handler_data(mask_bad_quality=False)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_composites.py::TestMatchDataArrays::test_nondimensional_coords
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_composites.py::TestMatchDataArrays::test_nondimensional_coords
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerReflectanceTest::test_get_dataset_reflectance
> /usr/lib/python3/dist-packages/xarray/core/dataarray.py:2569: PendingDeprecationWarning: dropping variables using `drop` will be deprecated; using drop_vars is encouraged.
> ds = self._to_temp_dataset().drop(labels, dim, errors=errors, **labels_kwargs)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_config.py: 135 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_multiscene.py: 8 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py: 14 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_scene.py: 6 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_writers.py: 4 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_yaml_reader.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py: 2 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_cmsaf_claas.py: 2 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l1c_nc.py: 16 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_geocat.py: 6 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_geos_area.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_goes_imager_hrit.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_gpm_imerg.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_hrit_base.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py: 12 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_nwcsaf_msg.py: 1 warning
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_nwcsaf_nc.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_hrit.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_native.py: 2 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 24 warnings
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:1282: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems
> proj = self._crs.to_proj4(version=version)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_data_download.py::TestDataDownload::test_find_registerable[readers0-None-comp_sensors0]
> /usr/lib/python3/dist-packages/pyninjotiff/tifffile.py:154: UserWarning: failed to import the optional _tifffile C extension module.
> Loading of some compressed images will be slow.
> Tifffile.c can be obtained at http://www.lfd.uci.edu/~gohlke/
> warnings.warn(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_close
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py:329: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> 'e': np.str('bar'),
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_close
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py:342: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> 'e': np.str('bar'),
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_different[test_mda5]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/dataset/metadata.py:199: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
> res = comp_func(a, b)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py::TestIDQueryInteractions::test_seviri_hrv_has_priority_over_vis008
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dataset.py:688: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> assert res[0].name == "HRV"
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dependency_tree.py::TestMultipleSensors::test_compositor_loaded_sensor_order
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/tests/test_dependency_tree.py:222: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> self.assertEqual(comp_nodes[0].name.resolution, 500)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/yaml_reader.py:507: UserWarning: No handler for reading requirement 'HRIT_EPI' for H-000-MSG4__-MSG4________-IR_108___-000006___-201809050900-__
> warnings.warn(msg)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/yaml_reader.py:507: UserWarning: No handler for reading requirement 'HRIT_PRO' for H-000-MSG4__-MSG4________-IR_108___-000006___-201809050900-__
> warnings.warn(msg)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/yaml_reader.py:510: UserWarning: No matching requirement file of type HRIT_PRO for H-000-MSG4__-MSG4________-IR_108___-000006___-201809051000-__
> warnings.warn(str(err) + ' for {}'.format(filename))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_regressions.py::test_1088
> /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1292: RuntimeWarning: invalid value encountered in subtract
> a = op(a[slice1], a[slice2])
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestHLResample::test_type_preserve
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestHLResample::test_type_preserve
> /usr/lib/python3/dist-packages/pyresample/geometry.py:656: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> xyz = np.stack(transform(src, dst, lons, lats, alt), axis=1)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestKDTreeResampler::test_check_numpy_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/resample.py:554: UserWarning: Using Numpy files as resampling cache is deprecated.
> warnings.warn("Using Numpy files as resampling cache is "
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_not_use_skipna_handling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/resample.py:1100: DeprecationWarning: Argument mask_all_nan is deprecated.Please update Pyresample and use skipna for missing values handling.
> warnings.warn('Argument mask_all_nan is deprecated.'
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_use_skipna_handling
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_use_skipna_handling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/resample.py:1095: DeprecationWarning: Argument mask_all_nan is deprecated. Please use skipna for missing values handling. Continuing with default skipna=True, if not provided differently.
> warnings.warn('Argument mask_all_nan is deprecated. Please use skipna for missing values handling. '
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_scene.py: 2 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_writers.py: 14 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 5 warnings
> /usr/lib/python3/dist-packages/rasterio/__init__.py:287: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
> dataset = writer(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_scene.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_writers.py: 10 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 5 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_simple_image.py: 2 warnings
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: divide by zero encountered in true_divide
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_scene.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/test_writers.py: 10 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 3 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 5 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_simple_image.py: 2 warnings
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: invalid value encountered in multiply
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/enhancement_tests/test_enhancements.py::TestEnhancementStretch::test_crefl_scaling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/enhancements/__init__.py:118: DeprecationWarning: 'crefl_scaling' is deprecated, use 'piecewise_linear_stretch' instead.
> warnings.warn("'crefl_scaling' is deprecated, use 'piecewise_linear_stretch' instead.", DeprecationWarning)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/enhancement_tests/test_enhancements.py::TestColormapLoading::test_cmap_list
> /usr/lib/python3/dist-packages/trollimage/colormap.py:229: UserWarning: Colormap 'colors' should be flotaing point numbers between 0 and 1.
> warnings.warn("Colormap 'colors' should be flotaing point numbers between 0 and 1.")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_navigation
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_navigation
> /usr/lib/python3/dist-packages/geotiepoints/geointerpolator.py:81: RuntimeWarning: invalid value encountered in arcsin
> lats = np.sign(z__) * (90 - np.rad2deg(np.arcsin(np.sqrt(x__ ** 2 + y__ ** 2) / radius)))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHICalibration::test_default_calibrate
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: invalid value encountered in log
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/aapp_mhs_amsub_l1c.py:402: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> channel = channel.astype(np.float)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_abi_l2_nc.py::TestMCMIPReading::test_mcmip_get_dataset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/abi_l2_nc.py:41: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> var += "_" + key.name
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py: 5 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_utils.py: 6 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/utils.py:343: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> x, y, z = pyproj.transform(latlong, geocent, lon, lat, 0.)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block1 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block2 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block3 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block4 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block5 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block6 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block7 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block8 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block9 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block10 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block11 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset_counts
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset_vis
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_default_calibrate
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_gsics_radiance_corr
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_infile_calibrate
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_user_radiance_corr
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/ami_l1b.py:165: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> sc_position = pyproj.transform(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedBT::test_calibrated_bt_values
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3a_masking
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3b_masking
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTNavigation::test_latitudes_are_returned
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTNavigation::test_longitudes_are_returned
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/hrpt.py:80: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
> return (np.datetime64(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3a_masking
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/hrpt.py:227: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
> - np.datetime64(str(self.year) + '-01-01T00:00:00Z'))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_area_definition
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset_with_layer
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset_with_total_cot
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/fci_l2_nc.py:249: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> res = dataset_id.resolution
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/fci_l2_nc.py:357: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> res = dataset_id.resolution
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /usr/lib/python3/dist-packages/pyresample/geometry.py:1222: PendingDeprecationWarning: 'x_size' is deprecated, use 'width' instead.
> warnings.warn("'x_size' is deprecated, use 'width' instead.", PendingDeprecationWarning)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /usr/lib/python3/dist-packages/pyresample/geometry.py:1228: PendingDeprecationWarning: 'y_size' is deprecated, use 'height' instead.
> warnings.warn("'y_size' is deprecated, use 'height' instead.", PendingDeprecationWarning)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/fci_l2_nc.py:233: RuntimeWarning: Mean of empty slice.
> scale_factor = (x[1:]-x[0:-1]).values.mean()
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /usr/lib/python3/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in true_divide
> ret = ret.dtype.type(ret / rcount)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler_datasetid
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler_nodata
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene_nan
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene_nan
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/generic_image.py:78: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
> data = xr.open_rasterio(dataset, chunks=(1, CHUNK_SIZE, CHUNK_SIZE))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> /usr/lib/python3/dist-packages/rasterio/__init__.py:277: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
> dataset = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_modis_l1b.py::TestModisL1b::test_load_longitude_latitude[modis_l1b_nasa_mod021km_file-True-False-False-1000]
> /usr/lib/python3/dist-packages/geotiepoints/simple_modis_interpolator.py:38: DeprecationWarning: Please use `map_coordinates` from the `scipy.ndimage` namespace, the `scipy.ndimage.interpolation` namespace is deprecated.
> from scipy.ndimage.interpolation import map_coordinates
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> /usr/lib/python3/dist-packages/geotiepoints/interpolator.py:239: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
> if np.all(self.hrow_indices == self.row_indices):
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 8 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py: 20 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:571: FutureWarning: The default behaviour of the CF writer will soon change to not compress data by default.
> warnings.warn("The default behaviour of the CF writer will soon change to not compress data by default.",
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 8 warnings
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py: 24 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:746: UserWarning: Dtype int64 not compatible with CF-1.7.
> warnings.warn('Dtype {} not compatible with {}.'.format(str(ds.dtype), CF_VERSION))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 18 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/satpy_cf_nc.py:240: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
> if 'modifiers' in ds_info and not ds_info['modifiers']:
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py::TestCFReader::test_read_prefixed_channels_by_user_no_prefix
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_save_dataset_a_digit_no_prefix_include_attr
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:566: UserWarning: Invalid NetCDF dataset name: 1 starts with a digit.
> warnings.warn('Invalid NetCDF dataset name: {} starts with a digit.'.format(name))
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial[orbit_polynomials1-time1-orbit_polynomial_exp1]
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial_exceptions[orbit_polynomials1-time1]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-01T12:15:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial_exceptions[orbit_polynomials0-time0]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-02T12:15:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGFileHandler::test_satpos_no_valid_orbit_polynomial
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGDataset::test_satpos_no_valid_orbit_polynomial
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-01T12:15:09.304888. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_satpos_no_valid_orbit_polynomial
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2020-01-01T00:00:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_seviri_l2_grib.py::Test_SeviriL2GribFileHandler::test_data_reading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/seviri_l2_grib.py:114: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> self._res = dataset_id.resolution
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_slstr_l1b.py::TestSLSTRReader::test_instantiate
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/readers/slstr_l1b.py:173: UserWarning: Warning: No radiance adjustment supplied for channel foo_nadir
> warnings.warn("Warning: No radiance adjustment supplied " +
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_lat
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_lon
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_wind_speed
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:130: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
> in_crs_string = _prepare_from_proj_string(in_crs_string)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/reader_tests/test_viirs_compact.py::TestCompact::test_distributed
> /usr/lib/python3/dist-packages/tornado/ioloop.py:350: DeprecationWarning: make_current is deprecated; start the event loop first
> self.make_current()
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py::TestAWIPSTiledWriter::test_lettered_tiles_no_valid_data
> /usr/lib/python3/dist-packages/dask/array/reductions.py:567: RuntimeWarning: All-NaN slice encountered
> return np.nanmax(x_chunk, axis=axis, keepdims=keepdims)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py::TestAWIPSTiledWriter::test_lettered_tiles_no_valid_data
> /usr/lib/python3/dist-packages/dask/array/reductions.py:538: RuntimeWarning: All-NaN slice encountered
> return np.nanmin(x_chunk, axis=axis, keepdims=keepdims)
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py: 54 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/awips_tiled.py:940: UserWarning: Production location attribute is longer than 31 characters (AWIPS limit). Set it to a smaller value with the 'ORGANIZATION' environment variable. Defaults to hostname and is currently set to '11111111111111111111111111111111111111111111111111'.
> warnings.warn("Production location attribute is longer than 31 "
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_groups
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:361: UserWarning: Cannot pretty-format "acq_time" coordinates because they are not unique among the given datasets
> warnings.warn('Cannot pretty-format "{}" coordinates because they are not unique among the '
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_link_coords
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:305: UserWarning: Coordinate "not_exist" referenced by dataarray var4 does not exist, dropping reference.
> warnings.warn('Coordinate "{}" referenced by dataarray {} does not exist, dropping reference.'
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_save_with_compression
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build/satpy/writers/cf_writer.py:576: FutureWarning: The `compression` keyword will soon be deprecated. Please use the `encoding` of the DataArrays to tune compression from now on.
> warnings.warn("The `compression` keyword will soon be deprecated. Please use the `encoding` of the "
>
> .pybuild/cpython3_3.9_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 23 warnings
> /usr/lib/python3/dist-packages/libtiff/libtiff_ctypes.py:644: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> elif arr.dtype in np.sctypes['uint'] + [np.bool]:
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED satpy/tests/reader_tests/test_seviri_l1b_calibration.py::TestSEVIRICalibrationAlgorithm::test_vis_calibrate
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_calibrate[VIS006-reflectance-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_calibrate[VIS006-reflectance-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_get_dataset[VIS006-reflectance]
> FAILED satpy/tests/reader_tests/test_utils.py::TestSunEarthDistanceCorrection::test_apply_sunearth_corr
> FAILED satpy/tests/reader_tests/test_utils.py::TestSunEarthDistanceCorrection::test_remove_sunearth_corr
> = 14 failed, 1523 passed, 10 skipped, 36 deselected, 4 xfailed, 639 warnings in 223.30s (0:03:43) =
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_satpy/build; python3.9 -m pytest -k "not test_retrieve and not test_offline_retrieve and not test_retrieve_all and not test_download_script and not test_start_time and not test_end_time and not test_mimic_TPW2_nc and not TestAngleGeneration"
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build; python3.10 -m pytest -k "not test_retrieve and not test_offline_retrieve and not test_retrieve_all and not test_download_script and not test_start_time and not test_end_time and not test_mimic_TPW2_nc and not TestAngleGeneration"
> ============================= test session starts ==============================
> platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: lazy-fixture-0.6.3
> collected 1585 items / 36 deselected / 2 skipped / 1549 selected
>
> satpy/tests/test_compat.py .. [ 0%]
> satpy/tests/test_composites.py ......................................... [ 2%]
> .......................................... [ 5%]
> satpy/tests/test_config.py ........ [ 6%]
> satpy/tests/test_crefl_utils.py . [ 6%]
> satpy/tests/test_data_download.py ............................. [ 7%]
> satpy/tests/test_dataset.py ............................................ [ 10%]
> .......... [ 11%]
> satpy/tests/test_demo.py ................... [ 12%]
> satpy/tests/test_dependency_tree.py ........ [ 13%]
> satpy/tests/test_file_handlers.py ............ [ 13%]
> satpy/tests/test_modifiers.py ................ [ 14%]
> satpy/tests/test_multiscene.py ............... [ 15%]
> satpy/tests/test_node.py ........ [ 16%]
> satpy/tests/test_readers.py ............................................ [ 19%]
> .................... [ 20%]
> satpy/tests/test_regressions.py ... [ 20%]
> satpy/tests/test_resample.py ...ss..................... [ 22%]
> satpy/tests/test_scene.py .............................................. [ 25%]
> ..............................................................sss.. [ 29%]
> satpy/tests/test_utils.py ............................ [ 31%]
> satpy/tests/test_writers.py ..................................... [ 33%]
> satpy/tests/test_yaml_reader.py ........................................ [ 36%]
> ... [ 36%]
> satpy/tests/compositor_tests/test_abi.py .. [ 36%]
> satpy/tests/compositor_tests/test_ahi.py .. [ 36%]
> satpy/tests/compositor_tests/test_glm.py .. [ 37%]
> satpy/tests/compositor_tests/test_sar.py .. [ 37%]
> satpy/tests/compositor_tests/test_viirs.py ......... [ 37%]
> satpy/tests/enhancement_tests/test_abi.py . [ 37%]
> satpy/tests/enhancement_tests/test_ahi.py . [ 37%]
> satpy/tests/enhancement_tests/test_enhancements.py ..................... [ 39%]
> ..................................... [ 41%]
> satpy/tests/enhancement_tests/test_viirs.py . [ 41%]
> satpy/tests/modifier_tests/test_crefl.py ............. [ 42%]
> satpy/tests/reader_tests/test_aapp_l1b.py ........ [ 43%]
> satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py ..... [ 43%]
> satpy/tests/reader_tests/test_abi_l1b.py ............................... [ 45%]
> ............ [ 46%]
> satpy/tests/reader_tests/test_abi_l2_nc.py .... [ 46%]
> satpy/tests/reader_tests/test_acspo.py ... [ 46%]
> satpy/tests/reader_tests/test_agri_l1.py ......... [ 47%]
> satpy/tests/reader_tests/test_ahi_hrit.py ........ [ 47%]
> satpy/tests/reader_tests/test_ahi_hsd.py .............. [ 48%]
> satpy/tests/reader_tests/test_ahi_l1b_gridded_bin.py ........... [ 49%]
> satpy/tests/reader_tests/test_ami_l1b.py ........... [ 50%]
> satpy/tests/reader_tests/test_amsr2_l1b.py ... [ 50%]
> satpy/tests/reader_tests/test_amsr2_l2.py .. [ 50%]
> satpy/tests/reader_tests/test_amsr2_l2_gaasp.py ........................ [ 51%]
> [ 51%]
> satpy/tests/reader_tests/test_ascat_l2_soilmoisture_bufr.py ... [ 52%]
> satpy/tests/reader_tests/test_avhrr_l0_hrpt.py ........... [ 52%]
> satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py s......s..s.. [ 53%]
> satpy/tests/reader_tests/test_clavrx.py ....... [ 54%]
> satpy/tests/reader_tests/test_clavrx_nc.py ... [ 54%]
> satpy/tests/reader_tests/test_cmsaf_claas.py .. [ 54%]
> satpy/tests/reader_tests/test_electrol_hrit.py ...... [ 54%]
> satpy/tests/reader_tests/test_eps_l1b.py .......... [ 55%]
> satpy/tests/reader_tests/test_eum_base.py ........... [ 56%]
> satpy/tests/reader_tests/test_fci_l1c_nc.py ................ [ 57%]
> satpy/tests/reader_tests/test_fci_l2_nc.py .................. [ 58%]
> satpy/tests/reader_tests/test_generic_image.py ....... [ 58%]
> satpy/tests/reader_tests/test_geocat.py .... [ 59%]
> satpy/tests/reader_tests/test_geos_area.py ....... [ 59%]
> satpy/tests/reader_tests/test_ghrsst_l2.py ..... [ 59%]
> satpy/tests/reader_tests/test_glm_l2.py .... [ 60%]
> satpy/tests/reader_tests/test_goes_imager_hrit.py ...... [ 60%]
> satpy/tests/reader_tests/test_goes_imager_nc.py .................. [ 61%]
> satpy/tests/reader_tests/test_gpm_imerg.py . [ 61%]
> satpy/tests/reader_tests/test_grib.py .......... [ 62%]
> satpy/tests/reader_tests/test_hdf4_utils.py . [ 62%]
> satpy/tests/reader_tests/test_hdf5_utils.py . [ 62%]
> satpy/tests/reader_tests/test_hdfeos_base.py .. [ 62%]
> satpy/tests/reader_tests/test_hrit_base.py ........ [ 63%]
> satpy/tests/reader_tests/test_hsaf_grib.py ... [ 63%]
> satpy/tests/reader_tests/test_hy2_scat_l2b_h5.py ....... [ 63%]
> satpy/tests/reader_tests/test_iasi_l2.py ........... [ 64%]
> satpy/tests/reader_tests/test_iasi_l2_so2_bufr.py .... [ 64%]
> satpy/tests/reader_tests/test_mersi2_l1b.py ..... [ 65%]
> satpy/tests/reader_tests/test_mimic_TPW2_lowres.py .... [ 65%]
> satpy/tests/reader_tests/test_mirs.py .............. [ 66%]
> satpy/tests/reader_tests/test_modis_l1b.py .............. [ 67%]
> satpy/tests/reader_tests/test_modis_l2.py ........... [ 67%]
> satpy/tests/reader_tests/test_msu_gsa_l1b.py ... [ 68%]
> satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py .................. [ 69%]
> .................................. [ 71%]
> satpy/tests/reader_tests/test_netcdf_utils.py ... [ 71%]
> satpy/tests/reader_tests/test_nucaps.py ...................... [ 73%]
> satpy/tests/reader_tests/test_nwcsaf_msg.py .. [ 73%]
> satpy/tests/reader_tests/test_nwcsaf_nc.py ........... [ 73%]
> satpy/tests/reader_tests/test_olci_nc.py ...... [ 74%]
> satpy/tests/reader_tests/test_omps_edr.py .... [ 74%]
> satpy/tests/reader_tests/test_safe_sar_l2_ocn.py .. [ 74%]
> satpy/tests/reader_tests/test_satpy_cf_nc.py ......... [ 75%]
> satpy/tests/reader_tests/test_scmi.py ....... [ 75%]
> satpy/tests/reader_tests/test_seadas_l2.py .......... [ 76%]
> satpy/tests/reader_tests/test_seviri_base.py ................ [ 77%]
> satpy/tests/reader_tests/test_seviri_l1b_calibration.py ..F...... [ 77%]
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py .................F.F... [ 79%]
> .......F.F [ 80%]
> satpy/tests/reader_tests/test_seviri_l1b_icare.py ....... [ 80%]
> satpy/tests/reader_tests/test_seviri_l1b_native.py ..................... [ 81%]
> ........F.F..........F.F........ [ 83%]
> satpy/tests/reader_tests/test_seviri_l1b_nc.py ..F.F.....F.. [ 84%]
> satpy/tests/reader_tests/test_seviri_l2_bufr.py .................. [ 85%]
> satpy/tests/reader_tests/test_seviri_l2_grib.py . [ 86%]
> satpy/tests/reader_tests/test_slstr_l1b.py .... [ 86%]
> satpy/tests/reader_tests/test_smos_l2_wind.py ...... [ 86%]
> satpy/tests/reader_tests/test_tropomi_l2.py .... [ 86%]
> satpy/tests/reader_tests/test_utils.py .................F.F [ 88%]
> satpy/tests/reader_tests/test_vaisala_gld360.py . [ 88%]
> satpy/tests/reader_tests/test_vii_base_nc.py .... [ 88%]
> satpy/tests/reader_tests/test_vii_l1b_nc.py .. [ 88%]
> satpy/tests/reader_tests/test_vii_l2_nc.py . [ 88%]
> satpy/tests/reader_tests/test_vii_utils.py . [ 88%]
> satpy/tests/reader_tests/test_viirs_compact.py .. [ 88%]
> satpy/tests/reader_tests/test_viirs_edr_active_fires.py ........ [ 89%]
> satpy/tests/reader_tests/test_viirs_edr_flood.py ... [ 89%]
> satpy/tests/reader_tests/test_viirs_l1b.py ...... [ 90%]
> satpy/tests/reader_tests/test_viirs_sdr.py .................... [ 91%]
> satpy/tests/reader_tests/test_virr_l1b.py .. [ 91%]
> satpy/tests/writer_tests/test_awips_tiled.py ....................... [ 92%]
> satpy/tests/writer_tests/test_cf.py .................................... [ 95%]
> [ 95%]
> satpy/tests/writer_tests/test_geotiff.py ................. [ 96%]
> satpy/tests/writer_tests/test_mitiff.py ............. [ 97%]
> satpy/tests/writer_tests/test_ninjogeotiff.py ....................xxx..x [ 98%]
> ..... [ 99%]
> satpy/tests/writer_tests/test_ninjotiff.py ........ [ 99%]
> satpy/tests/writer_tests/test_simple_image.py ... [ 99%]
> satpy/tests/writer_tests/test_utils.py . [100%]
>
> =================================== FAILURES ===================================
> ______________ TestSEVIRICalibrationAlgorithm.test_vis_calibrate _______________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_calibration.TestSEVIRICalibrationAlgorithm testMethod=test_vis_calibrate>
>
> def test_vis_calibrate(self):
> """Test conversion from radiance to reflectance."""
> result = self.algo.vis_calibrate(VIS008_RADIANCE,
> VIS008_SOLAR_IRRADIANCE)
> > xr.testing.assert_allclose(result, VIS008_REFLECTANCE)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ 2.739768, 2.615233, 2.615233, 2.615233, 2.615233],
> E [ 2.615233, 2.739768, 2.739768, 2.615233, 2.739768],
> E [ 3.362442, 3.486977, 3.486977, 3.362442, 3.486977],
> E [14.570578, 14.695117, 14.695117, 14.321507, 15.317789],
> E [33.126278, 34.49616 , 36.364185, 37.73407 , 39.60209 ]], dtype=float32)
> E R
> E array([[ 2.806639, 2.679065, 2.679065, 2.679065, 2.679065],
> E [ 2.679065, 2.806639, 2.806639, 2.679065, 2.806639],
> E [ 3.444512, 3.572086, 3.572086, 3.444512, 3.572086],
> E [14.926213, 15.053792, 15.053792, 14.671064, 15.691662],
> E [33.934814, 35.33813 , 37.251755, 38.655075, 40.56869 ]], dtype=float32)
>
> satpy/tests/reader_tests/test_seviri_l1b_calibration.py:140: AssertionError
> ___ TestHRITMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-False] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7fb405e14820>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7fb3a1f03f10>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> ____ TestHRITMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-True] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7fb405e14700>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7fb41233bf40>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> _____ TestHRITMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-False] _____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7fb405e140d0>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7fb3a1f33550>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 415.26767],
> E [ 4567.944 , 11719.775 ]], dtype=float32)
> E R
> E array([[ nan, 401.28372],
> E [ 4414.121 , 11325.118 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> _____ TestHRITMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-True] ______
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_hrit.TestHRITMSGCalibration object at 0x7fb405b5e320>
> file_handler = <[AttributeError("'HRITMSGFileHandler' object has no attribute 'filename'") raised in repr()] HRITMSGFileHandler object at 0x7fb41231ea70>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.mda['spectral_channel_id'] = self.spectral_channel_ids[channel]
> fh.channel_name = channel
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> res = fh.calibrate(counts, calibration)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 173.02817],
> E [1903.31 , 4883.2397 ]], dtype=float32)
> E R
> E array([[ nan, 167.20154],
> E [1839.217 , 4718.799 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_hrit.py:452: AssertionError
> __ TestNativeMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-False] ___
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7fb405f40b20>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7fb3bde1ada0>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ___ TestNativeMSGCalibration.test_calibrate[VIS006-reflectance-NOMINAL-True] ___
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7fb405f40c10>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7fb3a8320100>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'VIS006', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ____ TestNativeMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-False] ____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7fb405f41330>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7fb3bd84c460>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 415.26767],
> E [ 4567.944 , 11719.775 ]], dtype=float32)
> E R
> E array([[ nan, 401.28372],
> E [ 4414.121 , 11325.118 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> ____ TestNativeMSGCalibration.test_calibrate[HRV-reflectance-NOMINAL-True] _____
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration object at 0x7fb405f41090>
> file_handler = <[AttributeError("'NativeMSGFileHandler' object has no attribute 'filename'") raised in repr()] NativeMSGFileHandler object at 0x7fb3a83287c0>
> counts = <xarray.DataArray (y: 2, x: 2)>
> array([[ 0, 10],
> [100, 255]])
> Dimensions without coordinates: y, x
> channel = 'HRV', calibration = 'reflectance', calib_mode = 'NOMINAL'
> use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'calib_mode', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', 'NOMINAL', False),
> ('VIS006', 'radiance', 'NOMINAL', False),
> ('VIS006', 'radiance', 'GSICS', False),
> ('VIS006', 'reflectance', 'NOMINAL', False),
> # VIS channel, external coefficients (mode should have no effect)
> ('VIS006', 'radiance', 'GSICS', True),
> ('VIS006', 'reflectance', 'NOMINAL', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', 'NOMINAL', False),
> ('IR_108', 'radiance', 'NOMINAL', False),
> ('IR_108', 'radiance', 'GSICS', False),
> ('IR_108', 'brightness_temperature', 'NOMINAL', False),
> ('IR_108', 'brightness_temperature', 'GSICS', False),
> # IR channel, external coefficients (mode should have no effect)
> ('IR_108', 'radiance', 'NOMINAL', True),
> ('IR_108', 'brightness_temperature', 'GSICS', True),
> # HRV channel, internal coefficiens
> ('HRV', 'counts', 'NOMINAL', False),
> ('HRV', 'radiance', 'NOMINAL', False),
> ('HRV', 'radiance', 'GSICS', False),
> ('HRV', 'reflectance', 'NOMINAL', False),
> # HRV channel, external coefficients (mode should have no effect)
> ('HRV', 'radiance', 'GSICS', True),
> ('HRV', 'reflectance', 'NOMINAL', True),
> ]
> )
> def test_calibrate(
> self, file_handler, counts, channel, calibration, calib_mode,
> use_ext_coefs
> ):
> """Test the calibration."""
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode=calib_mode,
> use_ext_coefs=use_ext_coefs
> )
>
> fh = file_handler
> fh.calib_mode = calib_mode
> fh.ext_calib_coefs = external_coefs
>
> dataset_id = make_dataid(name=channel, calibration=calibration)
> res = fh.calibrate(counts, dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 173.02817],
> E [1903.31 , 4883.2397 ]], dtype=float32)
> E R
> E array([[ nan, 167.20154],
> E [1839.217 , 4718.799 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_native.py:1079: AssertionError
> _______ TestNCSEVIRIFileHandler.test_calibrate[VIS006-reflectance-False] _______
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7fb405dfa5c0>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance', use_ext_coefs = False
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', False),
> ('VIS006', 'radiance', False),
> ('VIS006', 'reflectance', False),
> # VIS channel, external coefficients
> ('VIS006', 'radiance', True),
> ('VIS006', 'reflectance', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', False),
> ('IR_108', 'radiance', False),
> ('IR_108', 'brightness_temperature', False),
> # IR channel, external coefficients
> ('IR_108', 'radiance', True),
> ('IR_108', 'brightness_temperature', True),
> # FUTURE: Enable once HRV reading has been fixed.
> # # HRV channel, internal coefficiens
> # ('HRV', 'counts', False),
> # ('HRV', 'radiance', False),
> # ('HRV', 'reflectance', False),
> # # HRV channel, external coefficients (mode should have no effect)
> # ('HRV', 'radiance', True),
> # ('HRV', 'reflectance', True),
> ]
> )
> def test_calibrate(
> self, file_handler, channel, calibration, use_ext_coefs
> ):
> """Test the calibration."""
> file_handler.nc = file_handler.nc.rename({
> 'num_rows_vis_ir': 'y',
> 'num_columns_vis_ir': 'x'
> })
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=use_ext_coefs
> )
> fh = file_handler
> fh.ext_calib_coefs = external_coefs
> dataset_id = make_dataid(name=channel, calibration=calibration)
>
> res = fh.calibrate(fh.nc[channel], dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 41.88985],
> E [ 460.7884 , 1182.2247 ]], dtype=float32)
> E R
> E array([[ nan, 40.47923],
> E [ 445.27155, 1142.414 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:217: AssertionError
> _______ TestNCSEVIRIFileHandler.test_calibrate[VIS006-reflectance-True] ________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7fb405df8130>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance', use_ext_coefs = True
>
> @pytest.mark.parametrize(
> ('channel', 'calibration', 'use_ext_coefs'),
> [
> # VIS channel, internal coefficients
> ('VIS006', 'counts', False),
> ('VIS006', 'radiance', False),
> ('VIS006', 'reflectance', False),
> # VIS channel, external coefficients
> ('VIS006', 'radiance', True),
> ('VIS006', 'reflectance', True),
> # IR channel, internal coefficients
> ('IR_108', 'counts', False),
> ('IR_108', 'radiance', False),
> ('IR_108', 'brightness_temperature', False),
> # IR channel, external coefficients
> ('IR_108', 'radiance', True),
> ('IR_108', 'brightness_temperature', True),
> # FUTURE: Enable once HRV reading has been fixed.
> # # HRV channel, internal coefficiens
> # ('HRV', 'counts', False),
> # ('HRV', 'radiance', False),
> # ('HRV', 'reflectance', False),
> # # HRV channel, external coefficients (mode should have no effect)
> # ('HRV', 'radiance', True),
> # ('HRV', 'reflectance', True),
> ]
> )
> def test_calibrate(
> self, file_handler, channel, calibration, use_ext_coefs
> ):
> """Test the calibration."""
> file_handler.nc = file_handler.nc.rename({
> 'num_rows_vis_ir': 'y',
> 'num_columns_vis_ir': 'x'
> })
> external_coefs = self.external_coefs if use_ext_coefs else {}
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=use_ext_coefs
> )
> fh = file_handler
> fh.ext_calib_coefs = external_coefs
> dataset_id = make_dataid(name=channel, calibration=calibration)
>
> res = fh.calibrate(fh.nc[channel], dataset_id)
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ nan, 418.89853],
> E [ 4607.8843 , 11822.249 ]], dtype=float32)
> E R
> E array([[ nan, 404.7923],
> E [ 4452.7153, 11424.14 ]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:217: AssertionError
> _________ TestNCSEVIRIFileHandler.test_get_dataset[VIS006-reflectance] _________
>
> self = <satpy.tests.reader_tests.test_seviri_l1b_nc.TestNCSEVIRIFileHandler object at 0x7fb405dfae60>
> file_handler = <NCSEVIRIFileHandler: 'filename'>, channel = 'VIS006'
> calibration = 'reflectance'
>
> @pytest.mark.parametrize(
> ('channel', 'calibration'),
> [
> ('VIS006', 'reflectance'),
> ('IR_108', 'brightness_temperature')
> ]
> )
> def test_get_dataset(self, file_handler, channel, calibration):
> """Test getting the dataset."""
> dataset_id = make_dataid(name=channel, calibration=calibration)
> dataset_info = {
> 'nc_key': channel,
> 'units': 'units',
> 'wavelength': 'wavelength',
> 'standard_name': 'standard_name'
> }
> res = file_handler.get_dataset(dataset_id, dataset_info)
>
> # Test scanline acquisition times
> expected = self._get_expected(
> channel=channel,
> calibration=calibration,
> calib_mode='NOMINAL',
> use_ext_coefs=False
> )
> expected.attrs = {
> 'orbital_parameters': {
> 'satellite_actual_longitude': -3.541742131915741,
> 'satellite_actual_latitude': -0.5203765167594427,
> 'satellite_actual_altitude': 35783419.16135868,
> 'satellite_nominal_longitude': -3.5,
> 'satellite_nominal_latitude': 0.0,
> 'projection_longitude': 0.0,
> 'projection_latitude': 0.0,
> 'projection_altitude': 35785831.0
> },
> 'georef_offset_corrected': True,
> 'platform_name': 'Meteosat-11',
> 'sensor': 'seviri',
> 'units': 'units',
> 'wavelength': 'wavelength',
> 'standard_name': 'standard_name'
> }
> expected['acq_time'] = ('y', [np.datetime64('1958-01-02 00:00:01'),
> np.datetime64('1958-01-02 00:00:02')])
> expected = expected[::-1] # reader flips data upside down
> > xr.testing.assert_allclose(res, expected)
> E AssertionError: Left and right DataArray objects are not close
> E
> E Differing values:
> E L
> E array([[ 460.7884 , 1182.2247 ],
> E [ nan, 41.88985]], dtype=float32)
> E R
> E array([[ 445.27155, 1142.414 ],
> E [ nan, 40.47923]])
>
> satpy/tests/reader_tests/test_seviri_l1b_nc.py:265: AssertionError
> ___________ TestSunEarthDistanceCorrection.test_apply_sunearth_corr ____________
>
> self = <satpy.tests.reader_tests.test_utils.TestSunEarthDistanceCorrection testMethod=test_apply_sunearth_corr>
>
> def test_apply_sunearth_corr(self):
> """Test the correction of reflectances with sun-earth distance."""
> out_refl = hf.apply_earthsun_distance_correction(self.raw_refl)
> > np.testing.assert_allclose(out_refl, self.corr_refl)
> E AssertionError:
> E Not equal to tolerance rtol=1e-07, atol=0
> E
> E Mismatched elements: 6 / 6 (100%)
> E Max absolute difference: 2.4529259
> E Max relative difference: 0.02382628
> E x: array([ 10.254848, 20.509697, 41.019393, 1.025485, 100.497514,
> E 51.274242])
> E y: array([ 10.505147, 21.010294, 42.020588, 1.050515, 102.95044 ,
> E 52.525734])
>
> satpy/tests/reader_tests/test_utils.py:475: AssertionError
> ___________ TestSunEarthDistanceCorrection.test_remove_sunearth_corr ___________
>
> self = <satpy.tests.reader_tests.test_utils.TestSunEarthDistanceCorrection testMethod=test_remove_sunearth_corr>
>
> def test_remove_sunearth_corr(self):
> """Test the removal of the sun-earth distance correction."""
> out_refl = hf.remove_earthsun_distance_correction(self.corr_refl)
> > np.testing.assert_allclose(out_refl, self.raw_refl)
> E AssertionError:
> E Not equal to tolerance rtol=1e-07, atol=0
> E
> E Mismatched elements: 6 / 6 (100%)
> E Max absolute difference: 2.39196702
> E Max relative difference: 0.02440783
> E x: array([ 10.244078, 20.488157, 40.976313, 1.024408, 100.391967,
> E 51.220391])
> E y: array([10., 20., 40., 1., 98., 50.])
>
> satpy/tests/reader_tests/test_utils.py:482: AssertionError
> =============================== warnings summary ===============================
> satpy/readers/seviri_base.py:453
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:453: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> ('GsicsCalMode', np.bool),
>
> satpy/readers/seviri_base.py:454
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:454: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> ('GsicsCalValidity', np.bool),
>
> satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py:541
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py:541: PytestUnknownMarkWarning: Unknown pytest.mark.file_handler_data - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
> @pytest.mark.file_handler_data(mask_bad_quality=False)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_composites.py::TestMatchDataArrays::test_nondimensional_coords
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_composites.py::TestMatchDataArrays::test_nondimensional_coords
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerRadianceTest::test_get_dataset_radiance
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_nc.py::GOESNCEUMFileHandlerReflectanceTest::test_get_dataset_reflectance
> /usr/lib/python3/dist-packages/xarray/core/dataarray.py:2569: PendingDeprecationWarning: dropping variables using `drop` will be deprecated; using drop_vars is encouraged.
> ds = self._to_temp_dataset().drop(labels, dim, errors=errors, **labels_kwargs)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_config.py: 135 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_multiscene.py: 8 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py: 14 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_scene.py: 6 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_writers.py: 4 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_yaml_reader.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py: 2 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_cmsaf_claas.py: 2 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l1c_nc.py: 16 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_geocat.py: 6 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_geos_area.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_goes_imager_hrit.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_gpm_imerg.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_hrit_base.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py: 12 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_nwcsaf_msg.py: 1 warning
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_nwcsaf_nc.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_hrit.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_native.py: 2 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 24 warnings
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:1282: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems
> proj = self._crs.to_proj4(version=version)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_data_download.py::TestDataDownload::test_find_registerable[readers0-None-comp_sensors0]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:143: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
> from distutils.version import LooseVersion
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_data_download.py::TestDataDownload::test_find_registerable[readers0-None-comp_sensors0]
> /usr/lib/python3/dist-packages/pyninjotiff/tifffile.py:154: UserWarning: failed to import the optional _tifffile C extension module.
> Loading of some compressed images will be slow.
> Tifffile.c can be obtained at http://www.lfd.uci.edu/~gohlke/
> warnings.warn(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_close
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py:329: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> 'e': np.str('bar'),
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_close
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py:342: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> 'e': np.str('bar'),
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py::test_combine_dicts_different[test_mda5]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/dataset/metadata.py:199: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
> res = comp_func(a, b)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py::TestIDQueryInteractions::test_seviri_hrv_has_priority_over_vis008
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dataset.py:688: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> assert res[0].name == "HRV"
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dependency_tree.py::TestMultipleSensors::test_compositor_loaded_sensor_order
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/tests/test_dependency_tree.py:222: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> self.assertEqual(comp_nodes[0].name.resolution, 500)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/yaml_reader.py:507: UserWarning: No handler for reading requirement 'HRIT_EPI' for H-000-MSG4__-MSG4________-IR_108___-000006___-201809050900-__
> warnings.warn(msg)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/yaml_reader.py:507: UserWarning: No handler for reading requirement 'HRIT_PRO' for H-000-MSG4__-MSG4________-IR_108___-000006___-201809050900-__
> warnings.warn(msg)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_readers.py::TestReaderLoader::test_missing_requirements
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/yaml_reader.py:510: UserWarning: No matching requirement file of type HRIT_PRO for H-000-MSG4__-MSG4________-IR_108___-000006___-201809051000-__
> warnings.warn(str(err) + ' for {}'.format(filename))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_regressions.py::test_1088
> /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1292: RuntimeWarning: invalid value encountered in subtract
> a = op(a[slice1], a[slice2])
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestHLResample::test_type_preserve
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestHLResample::test_type_preserve
> /usr/lib/python3/dist-packages/pyresample/geometry.py:656: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> xyz = np.stack(transform(src, dst, lons, lats, alt), axis=1)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestKDTreeResampler::test_check_numpy_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/resample.py:554: UserWarning: Using Numpy files as resampling cache is deprecated.
> warnings.warn("Using Numpy files as resampling cache is "
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_not_use_skipna_handling
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_not_use_skipna_handling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/resample.py:1100: DeprecationWarning: Argument mask_all_nan is deprecated.Please update Pyresample and use skipna for missing values handling.
> warnings.warn('Argument mask_all_nan is deprecated.'
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketAvg::test_compute_and_use_skipna_handling
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_resample.py::TestBucketSum::test_compute_and_use_skipna_handling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/resample.py:1095: DeprecationWarning: Argument mask_all_nan is deprecated. Please use skipna for missing values handling. Continuing with default skipna=True, if not provided differently.
> warnings.warn('Argument mask_all_nan is deprecated. Please use skipna for missing values handling. '
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_scene.py: 2 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_writers.py: 14 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 5 warnings
> /usr/lib/python3/dist-packages/rasterio/__init__.py:287: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
> dataset = writer(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_scene.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_writers.py: 10 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 5 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_simple_image.py: 2 warnings
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: divide by zero encountered in true_divide
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_scene.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/test_writers.py: 10 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_geotiff.py: 3 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 5 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_simple_image.py: 2 warnings
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: invalid value encountered in multiply
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/enhancement_tests/test_enhancements.py::TestEnhancementStretch::test_crefl_scaling
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/enhancements/__init__.py:118: DeprecationWarning: 'crefl_scaling' is deprecated, use 'piecewise_linear_stretch' instead.
> warnings.warn("'crefl_scaling' is deprecated, use 'piecewise_linear_stretch' instead.", DeprecationWarning)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/enhancement_tests/test_enhancements.py::TestColormapLoading::test_cmap_list
> /usr/lib/python3/dist-packages/trollimage/colormap.py:229: UserWarning: Colormap 'colors' should be flotaing point numbers between 0 and 1.
> warnings.warn("Colormap 'colors' should be flotaing point numbers between 0 and 1.")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_navigation
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_navigation
> /usr/lib/python3/dist-packages/geotiepoints/geointerpolator.py:81: RuntimeWarning: invalid value encountered in arcsin
> lats = np.sign(z__) * (90 - np.rad2deg(np.arcsin(np.sqrt(x__ ** 2 + y__ ** 2) / radius)))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_l1b.py::TestAAPPL1BAllChannelsPresent::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHICalibration::test_default_calibrate
> /usr/lib/python3/dist-packages/dask/core.py:119: RuntimeWarning: invalid value encountered in log
> return func(*(_execute_task(a, cache) for a in args))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_aapp_mhs_amsub_l1c.py::TestMHS_AMSUB_AAPPL1CReadData::test_read
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/aapp_mhs_amsub_l1c.py:402: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> channel = channel.astype(np.float)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_abi_l2_nc.py::TestMCMIPReading::test_mcmip_get_dataset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/abi_l2_nc.py:41: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> var += "_" + key.name
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py: 5 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_utils.py: 6 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/utils.py:343: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> x, y, z = pyproj.transform(latlong, geocent, lon, lat, 0.)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block1 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block2 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block3 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block4 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block5 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block6 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block7 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block8 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block9 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block10 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_read_band
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ahi_hsd.py::TestAHIHSDFileHandler::test_scene_loading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ahi_hsd.py:503: UserWarning: Actual block11 header size does not match expected
> warnings.warn(f"Actual {block} header size does not match expected")
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset_counts
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDF::test_get_dataset_vis
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_default_calibrate
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_gsics_radiance_corr
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_infile_calibrate
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_ami_l1b.py::TestAMIL1bNetCDFIRCal::test_user_radiance_corr
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/ami_l1b.py:165: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
> sc_position = pyproj.transform(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedBT::test_calibrated_bt_values
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3a_masking
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3b_masking
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTNavigation::test_latitudes_are_returned
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTNavigation::test_longitudes_are_returned
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/hrpt.py:80: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
> return (np.datetime64(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTChannel3::test_channel_3a_masking
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/hrpt.py:227: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future
> - np.datetime64(str(self.year) + '-01-01T00:00:00Z'))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_area_definition
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset_with_layer
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCFileHandler::test_dataset_with_total_cot
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/fci_l2_nc.py:249: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> res = dataset_id.resolution
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/fci_l2_nc.py:357: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> res = dataset_id.resolution
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /usr/lib/python3/dist-packages/pyresample/geometry.py:1222: PendingDeprecationWarning: 'x_size' is deprecated, use 'width' instead.
> warnings.warn("'x_size' is deprecated, use 'width' instead.", PendingDeprecationWarning)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCSegmentFileHandler::test_dataset_with_adef_and_wrongs_dims
> /usr/lib/python3/dist-packages/pyresample/geometry.py:1228: PendingDeprecationWarning: 'y_size' is deprecated, use 'height' instead.
> warnings.warn("'y_size' is deprecated, use 'height' instead.", PendingDeprecationWarning)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/fci_l2_nc.py:233: RuntimeWarning: Mean of empty slice.
> scale_factor = (x[1:]-x[0:-1]).values.mean()
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_fci_l2_nc.py::TestFciL2NCReadingByteData::test_byte_extraction
> /usr/lib/python3/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in true_divide
> ret = ret.dtype.type(ret / rcount)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler_datasetid
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_GenericImageFileHandler_nodata
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene_nan
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_geotiff_scene_nan
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/generic_image.py:78: DeprecationWarning: open_rasterio is Deprecated in favor of rioxarray. For information about transitioning, see: https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html
> data = xr.open_rasterio(dataset, chunks=(1, CHUNK_SIZE, CHUNK_SIZE))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_generic_image.py::TestGenericImage::test_png_scene
> /usr/lib/python3/dist-packages/rasterio/__init__.py:277: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
> dataset = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_modis_l1b.py::TestModisL1b::test_load_longitude_latitude[modis_l1b_nasa_mod021km_file-True-False-False-1000]
> /usr/lib/python3/dist-packages/geotiepoints/simple_modis_interpolator.py:38: DeprecationWarning: Please use `map_coordinates` from the `scipy.ndimage` namespace, the `scipy.ndimage.interpolation` namespace is deprecated.
> from scipy.ndimage.interpolation import map_coordinates
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_angles
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_olci_nc.py::TestOLCIReader::test_olci_meteo
> /usr/lib/python3/dist-packages/geotiepoints/interpolator.py:239: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
> if np.all(self.hrow_indices == self.row_indices):
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 8 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py: 20 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:571: FutureWarning: The default behaviour of the CF writer will soon change to not compress data by default.
> warnings.warn("The default behaviour of the CF writer will soon change to not compress data by default.",
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 8 warnings
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py: 24 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:746: UserWarning: Dtype int64 not compatible with CF-1.7.
> warnings.warn('Dtype {} not compatible with {}.'.format(str(ds.dtype), CF_VERSION))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py: 18 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/satpy_cf_nc.py:240: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
> if 'modifiers' in ds_info and not ds_info['modifiers']:
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_satpy_cf_nc.py::TestCFReader::test_read_prefixed_channels_by_user_no_prefix
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_save_dataset_a_digit_no_prefix_include_attr
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:566: UserWarning: Invalid NetCDF dataset name: 1 starts with a digit.
> warnings.warn('Invalid NetCDF dataset name: {} starts with a digit.'.format(name))
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial[orbit_polynomials1-time1-orbit_polynomial_exp1]
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial_exceptions[orbit_polynomials1-time1]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-01T12:15:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_base.py::TestOrbitPolynomialFinder::test_get_orbit_polynomial_exceptions[orbit_polynomials0-time0]
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-02T12:15:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGFileHandler::test_satpos_no_valid_orbit_polynomial
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGDataset::test_satpos_no_valid_orbit_polynomial
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2006-01-01T12:15:09.304888. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_satpos_no_valid_orbit_polynomial
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_base.py:774: UserWarning: No orbit polynomial valid for 2020-01-01T00:00:00.000000. Using closest match.
> warnings.warn(
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_seviri_l2_grib.py::Test_SeviriL2GribFileHandler::test_data_reading
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/seviri_l2_grib.py:114: UserWarning: Attribute access to DataIDs is deprecated, use key access instead.
> self._res = dataset_id.resolution
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_slstr_l1b.py::TestSLSTRReader::test_instantiate
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/readers/slstr_l1b.py:173: UserWarning: Warning: No radiance adjustment supplied for channel foo_nadir
> warnings.warn("Warning: No radiance adjustment supplied " +
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_lat
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_lon
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_smos_l2_wind.py::TestSMOSL2WINDReader::test_load_wind_speed
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py::TestMITIFFWriter::test_convert_proj4_string
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:130: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
> in_crs_string = _prepare_from_proj_string(in_crs_string)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_viirs_compact.py::TestCompact::test_distributed
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_viirs_compact.py::TestCompact::test_distributed
> /usr/lib/python3/dist-packages/tornado/ioloop.py:265: DeprecationWarning: There is no current event loop
> loop = asyncio.get_event_loop()
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_viirs_compact.py::TestCompact::test_distributed
> /usr/lib/python3/dist-packages/tornado/ioloop.py:350: DeprecationWarning: make_current is deprecated; start the event loop first
> self.make_current()
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/reader_tests/test_viirs_compact.py::TestCompact::test_distributed
> /usr/lib/python3/dist-packages/tornado/platform/asyncio.py:360: DeprecationWarning: There is no current event loop
> self.old_asyncio = asyncio.get_event_loop()
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py::TestAWIPSTiledWriter::test_lettered_tiles_no_valid_data
> /usr/lib/python3/dist-packages/dask/array/reductions.py:567: RuntimeWarning: All-NaN slice encountered
> return np.nanmax(x_chunk, axis=axis, keepdims=keepdims)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py::TestAWIPSTiledWriter::test_lettered_tiles_no_valid_data
> /usr/lib/python3/dist-packages/dask/array/reductions.py:538: RuntimeWarning: All-NaN slice encountered
> return np.nanmin(x_chunk, axis=axis, keepdims=keepdims)
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_awips_tiled.py: 54 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/awips_tiled.py:940: UserWarning: Production location attribute is longer than 31 characters (AWIPS limit). Set it to a smaller value with the 'ORGANIZATION' environment variable. Defaults to hostname and is currently set to '11111111111111111111111111111111111111111111111111'.
> warnings.warn("Production location attribute is longer than 31 "
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_groups
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:361: UserWarning: Cannot pretty-format "acq_time" coordinates because they are not unique among the given datasets
> warnings.warn('Cannot pretty-format "{}" coordinates because they are not unique among the '
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_link_coords
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:305: UserWarning: Coordinate "not_exist" referenced by dataarray var4 does not exist, dropping reference.
> warnings.warn('Coordinate "{}" referenced by dataarray {} does not exist, dropping reference.'
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_cf.py::TestCFWriter::test_save_with_compression
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build/satpy/writers/cf_writer.py:576: FutureWarning: The `compression` keyword will soon be deprecated. Please use the `encoding` of the DataArrays to tune compression from now on.
> warnings.warn("The `compression` keyword will soon be deprecated. Please use the `encoding` of the "
>
> .pybuild/cpython3_3.10_satpy/build/satpy/tests/writer_tests/test_mitiff.py: 23 warnings
> /usr/lib/python3/dist-packages/libtiff/libtiff_ctypes.py:644: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
> Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> elif arr.dtype in np.sctypes['uint'] + [np.bool]:
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED satpy/tests/reader_tests/test_seviri_l1b_calibration.py::TestSEVIRICalibrationAlgorithm::test_vis_calibrate
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_hrit.py::TestHRITMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[VIS006-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_native.py::TestNativeMSGCalibration::test_calibrate[HRV-reflectance-NOMINAL-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_calibrate[VIS006-reflectance-False]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_calibrate[VIS006-reflectance-True]
> FAILED satpy/tests/reader_tests/test_seviri_l1b_nc.py::TestNCSEVIRIFileHandler::test_get_dataset[VIS006-reflectance]
> FAILED satpy/tests/reader_tests/test_utils.py::TestSunEarthDistanceCorrection::test_apply_sunearth_corr
> FAILED satpy/tests/reader_tests/test_utils.py::TestSunEarthDistanceCorrection::test_remove_sunearth_corr
> = 14 failed, 1523 passed, 10 skipped, 36 deselected, 4 xfailed, 643 warnings in 224.94s (0:03:44) =
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_satpy/build; python3.10 -m pytest -k "not test_retrieve and not test_offline_retrieve and not test_retrieve_all and not test_download_script and not test_start_time and not test_end_time and not test_mimic_TPW2_nc and not TestAngleGeneration"
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/07/16/satpy_0.36.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-grass-devel
mailing list