pytroll / satpy

Python package for earth-observing satellite data processing
http://satpy.readthedocs.org/en/latest/
GNU General Public License v3.0
1.08k stars 298 forks source link

Resampling MTG FCI high res bands fails when the resample includes bands at different spatial resolutions #2991

Closed tommyjasmin closed 4 hours ago

tommyjasmin commented 4 days ago

Description of the bug Hi all -

We found that for the MTG FCI high resolution bands, which for reference are a visible and near-ir band at 0.5 km, and two IR bands at 1.0 km, a scene resample of any bands at the same resolution works, but any combination of bands at different spatial resolution fails, with an error shown below. It's a lot of output, but as requested, I used debug_on(), and only used a single timestep:

crud:data tommyj$ ls -lt /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/*.nc | wc -l
      41

To Reproduce

NOTE: I had to cut out some of the debug output, since the GitHub issue tracker complains with There was an error creating your Issue: body is too long (maximum is 65536 characters).

(fci-hires) crud:pyadde tommyj$ python
Python 3.13.0 | packaged by conda-forge | (main, Oct 17 2024, 12:38:20) [Clang 17.0.6 ] on darwin                          
Type "help", "copyright", "credits" or "license" for more information.                                                     
>>> import hdf5plugin                                                                                                      
>>> from satpy import Scene                                                                                                
>>> import glob                                                                                                            
>>> from satpy.utils import debug_on                                                                                       
>>> debug_on()                                                                                                             
>>> files = glob.glob("/Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/*.nc")                          
>>> global_scene = Scene(reader="fci_l1c_nc", filenames=files)                                                             
[DEBUG: 2024-11-20 14:55:02 : satpy.readers.yaml_reader] Reading ('/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/etc/readers/fci_l1c_nc.yaml',)                                                                          
[DEBUG: 2024-11-20 14:55:02 : satpy.readers.yaml_reader] Assigning to fci_l1c_nc: ['/Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115406_20240113115456_N_JLS_C_0072_0020.nc', '/Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115422_IDPFI_OPE_20240113115007_20240113115029_N_JLS_C_0072_0002.nc', '/Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115426_20240113115506_N_JLS_C_0072_0021.nc', 
[DEBUG: 2024-11-20 14:55:27 : satpy.readers.yaml_reader] Requested orientation for Dataset vis_06 is 'native' (default). No flipping is applied.

[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115508_IDPFI_OPE_20240113115036_20240113115120_N_JLS_C_0072_0006.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115520_IDPFI_OPE_20240113115050_20240113115137_N_JLS_C_0072_0007.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115529_IDPFI_OPE_20240113115057_20240113115146_N_JLS_C_0072_0008.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115534_IDPFI_OPE_20240113115112_20240113115203_N_JLS_C_0072_0009.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115549_IDPFI_OPE_20240113115129_20240113115221_N_JLS_C_0072_0010.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115555_IDPFI_OPE_20240113115137_20240113115230_N_JLS_C_0072_0011.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115609_IDPFI_OPE_20240113115154_20240113115249_N_JLS_C_0072_0012.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115618_IDPFI_OPE_20240113115212_20240113115308_N_JLS_C_0072_0013.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115623_IDPFI_OPE_20240113115230_20240113115317_N_JLS_C_0072_0014.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115634_IDPFI_OPE_20240113115240_20240113115337_N_JLS_C_0072_0015.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115637_IDPFI_OPE_20240113115258_20240113115347_N_JLS_C_0072_0016.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115651_IDPFI_OPE_20240113115317_20240113115406_N_JLS_C_0072_0017.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115701_IDPFI_OPE_20240113115337_20240113115426_N_JLS_C_0072_0018.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115706_IDPFI_OPE_20240113115357_20240113115436_N_JLS_C_0072_0019.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115406_20240113115456_N_JLS_C_0072_0020.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115426_20240113115506_N_JLS_C_0072_0021.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115722_IDPFI_OPE_20240113115446_20240113115525_N_JLS_C_0072_0022.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115736_IDPFI_OPE_20240113115506_20240113115535_N_JLS_C_0072_0023.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115753_IDPFI_OPE_20240113115525_20240113115555_N_JLS_C_0072_0024.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115813_IDPFI_OPE_20240113115545_20240113115614_N_JLS_C_0072_0025.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115830_IDPFI_OPE_20240113115555_20240113115633_N_JLS_C_0072_0026.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115842_IDPFI_OPE_20240113115614_20240113115652_N_JLS_C_0072_0027.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115906_IDPFI_OPE_20240113115633_20240113115711_N_JLS_C_0072_0028.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115917_IDPFI_OPE_20240113115643_20240113115720_N_JLS_C_0072_0029.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115921_IDPFI_OPE_20240113115701_20240113115737_N_JLS_C_0072_0030.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115937_IDPFI_OPE_20240113115711_20240113115755_N_JLS_C_0072_0031.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115947_IDPFI_OPE_20240113115729_20240113115803_N_JLS_C_0072_0032.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120000_IDPFI_OPE_20240113115737_20240113115819_N_JLS_C_0072_0033.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120010_IDPFI_OPE_20240113115755_20240113115835_N_JLS_C_0072_0034.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120020_IDPFI_OPE_20240113115811_20240113115842_N_JLS_C_0072_0035.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120027_IDPFI_OPE_20240113115819_20240113115856_N_JLS_C_0072_0036.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120036_IDPFI_OPE_20240113115835_20240113115908_N_JLS_C_0072_0037.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120037_IDPFI_OPE_20240113115849_20240113115914_N_JLS_C_0072_0038.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120043_IDPFI_OPE_20240113115856_20240113115919_N_JLS_C_0072_0039.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_105_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120043_IDPFI_OPE_20240113115908_20240113115924_N_JLS_C_0072_0040.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.yaml_reader] Requested orientation for Dataset None is 'native' (default). No flipping is applied.
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115407_IDPFI_OPE_20240113115007_20240113115017_N_JLS_C_0072_0001.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115422_IDPFI_OPE_20240113115007_20240113115029_N_JLS_C_0072_0002.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115437_IDPFI_OPE_20240113115012_20240113115042_N_JLS_C_0072_0003.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115452_IDPFI_OPE_20240113115017_20240113115057_N_JLS_C_0072_0004.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115457_IDPFI_OPE_20240113115029_20240113115105_N_JLS_C_0072_0005.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115508_IDPFI_OPE_20240113115036_20240113115120_N_JLS_C_0072_0006.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115520_IDPFI_OPE_20240113115050_20240113115137_N_JLS_C_0072_0007.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115529_IDPFI_OPE_20240113115057_20240113115146_N_JLS_C_0072_0008.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115534_IDPFI_OPE_20240113115112_20240113115203_N_JLS_C_0072_0009.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115549_IDPFI_OPE_20240113115129_20240113115221_N_JLS_C_0072_0010.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115555_IDPFI_OPE_20240113115137_20240113115230_N_JLS_C_0072_0011.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115609_IDPFI_OPE_20240113115154_20240113115249_N_JLS_C_0072_0012.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115618_IDPFI_OPE_20240113115212_20240113115308_N_JLS_C_0072_0013.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115623_IDPFI_OPE_20240113115230_20240113115317_N_JLS_C_0072_0014.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115634_IDPFI_OPE_20240113115240_20240113115337_N_JLS_C_0072_0015.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115637_IDPFI_OPE_20240113115258_20240113115347_N_JLS_C_0072_0016.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115651_IDPFI_OPE_20240113115317_20240113115406_N_JLS_C_0072_0017.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115701_IDPFI_OPE_20240113115337_20240113115426_N_JLS_C_0072_0018.nc
[DEBUG: 2024-11-20 14:55:30 : satpy.readers.fci_l1c_nc] Reading ir_38_pixel_quality from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115706_IDPFI_OPE_20240113115357_20240113115436_N_JLS_C_0072_0019.nc

>>> scene = global_scene.resample(global_scene.coarsest_area(), resampler="native")
[DEBUG: 2024-11-20 14:55:37 : satpy.scene] Resampling DataID(name='ir_105', wavelength=WavelengthRange(min=9.8, central=10.5, max=11.2, unit='µm'), resolution=1000, calibration=<2>, modifiers=())
[DEBUG: 2024-11-20 14:55:37 : pyresample.geometry] Projections for data and slice areas are identical: PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["Unknown based on MERIT 1983 ellipsoid",ELLIPSOID["MERIT 1983",6378137,298.256999999989,LENGTHUNIT["metre",1,ID["EPSG",9001]]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Geostationary Satellite (Sweep Y)"],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["Satellite Height",35786400,LENGTHUNIT["metre",1,ID["EPSG",9001]]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
[DEBUG: 2024-11-20 14:55:37 : satpy.scene] Resampling DataID(name='ir_105_pixel_quality', resolution=1000, modifiers=())
[DEBUG: 2024-11-20 14:55:37 : satpy.scene] Resampling DataID(name='ir_38', wavelength=WavelengthRange(min=3.4, central=3.8, max=4.2, unit='µm'), resolution=1000, calibration=<2>, modifiers=())
[DEBUG: 2024-11-20 14:55:37 : satpy.scene] Resampling DataID(name='ir_38_pixel_quality', resolution=1000, modifiers=())
[DEBUG: 2024-11-20 14:55:37 : satpy.scene] Resampling DataID(name='nir_22', wavelength=WavelengthRange(min=2.2, central=2.25, max=2.3, unit='µm'), resolution=500, calibration=<1>, modifiers=())
[DEBUG: 2024-11-20 14:55:37 : pyresample.geometry] Projections for data and slice areas are identical: PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["Unknown based on MERIT 1983 ellipsoid",ELLIPSOID["MERIT 1983",6378137,298.256999999989,LENGTHUNIT["metre",1,ID["EPSG",9001]]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Geostationary Satellite (Sweep Y)"],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["Satellite Height",35786400,LENGTHUNIT["metre",1,ID["EPSG",9001]]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
Traceback (most recent call last):
  File "<python-input-9>", line 1, in <module>
    scene = global_scene.resample(global_scene.coarsest_area(), resampler="native")
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/scene.py", line 980, in resample
    self._resampled_scene(new_scn, destination, resampler=resampler,
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                          reduce_data=reduce_data, **resample_kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/scene.py", line 896, in _resampled_scene
    res = resample_dataset(dataset, destination_area, **kwargs)
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 1090, in resample_dataset
    new_data = resample(source_area, dataset, destination_area, fill_value=fill_value, **kwargs)
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 1053, in resample
    res = resampler_instance.resample(data, **kwargs)
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 677, in resample
    return super(NativeResampler, self).resample(data,
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
                                                 cache_dir=cache_dir,
                                                 ^^^^^^^^^^^^^^^^^^^^
                                                 mask_area=mask_area,
                                                 ^^^^^^^^^^^^^^^^^^^^
                                                 **kwargs)
                                                 ^^^^^^^^^
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/pyresample/resampler.py", line 141, in resample
    return self.compute(data, cache_id=cache_id, **kwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 728, in compute
    d_arr = self._expand_reduce(data.data, repeats)
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 695, in _expand_reduce
    return _aggregate(d_arr, y_size, x_size)
  File "/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/resample.py", line 741, in _aggregate
    raise ValueError("Aggregation factors are not integers")
ValueError: Aggregation factors are not integers

Expected behavior Resampling should work regardless of the set of bands chosen. Only when you choose bands of the same spatial resolution does resampling work. (Note; full files lists in output below are omitted since the form is getting sluggish with the full debug output included...)

>>> channel_list = ['ir_38', 'ir_105']
>>> global_scene.load(channel_list)
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115407_IDPFI_OPE_20240113115007_20240113115017_N_JLS_C_0072_0001.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115422_IDPFI_OPE_20240113115007_20240113115029_N_JLS_C_0072_0002.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115437_IDPFI_OPE_20240113115012_20240113115042_N_JLS_C_0072_0003.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115452_IDPFI_OPE_20240113115017_20240113115057_N_JLS_C_0072_0004.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115457_IDPFI_OPE_20240113115029_20240113115105_N_JLS_C_0072_0005.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115508_IDPFI_OPE_20240113115036_20240113115120_N_JLS_C_0072_0006.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115520_IDPFI_OPE_20240113115050_20240113115137_N_JLS_C_0072_0007.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115529_IDPFI_OPE_20240113115057_20240113115146_N_JLS_C_0072_0008.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115534_IDPFI_OPE_20240113115112_20240113115203_N_JLS_C_0072_0009.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115549_IDPFI_OPE_20240113115129_20240113115221_N_JLS_C_0072_0010.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115555_IDPFI_OPE_20240113115137_20240113115230_N_JLS_C_0072_0011.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115609_IDPFI_OPE_20240113115154_20240113115249_N_JLS_C_0072_0012.nc
[DEBUG: 2024-11-20 21:06:22 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115618_IDPFI_OPE_20240113115212_20240113115308_N_JLS_C_0072_0013.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115623_IDPFI_OPE_20240113115230_20240113115317_N_JLS_C_0072_0014.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115634_IDPFI_OPE_20240113115240_20240113115337_N_JLS_C_0072_0015.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115637_IDPFI_OPE_20240113115258_20240113115347_N_JLS_C_0072_0016.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115651_IDPFI_OPE_20240113115317_20240113115406_N_JLS_C_0072_0017.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115701_IDPFI_OPE_20240113115337_20240113115426_N_JLS_C_0072_0018.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115706_IDPFI_OPE_20240113115357_20240113115436_N_JLS_C_0072_0019.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115406_20240113115456_N_JLS_C_0072_0020.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115714_IDPFI_OPE_20240113115426_20240113115506_N_JLS_C_0072_0021.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115722_IDPFI_OPE_20240113115446_20240113115525_N_JLS_C_0072_0022.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115736_IDPFI_OPE_20240113115506_20240113115535_N_JLS_C_0072_0023.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115753_IDPFI_OPE_20240113115525_20240113115555_N_JLS_C_0072_0024.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115813_IDPFI_OPE_20240113115545_20240113115614_N_JLS_C_0072_0025.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115830_IDPFI_OPE_20240113115555_20240113115633_N_JLS_C_0072_0026.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115842_IDPFI_OPE_20240113115614_20240113115652_N_JLS_C_0072_0027.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115906_IDPFI_OPE_20240113115633_20240113115711_N_JLS_C_0072_0028.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115917_IDPFI_OPE_20240113115643_20240113115720_N_JLS_C_0072_0029.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115921_IDPFI_OPE_20240113115701_20240113115737_N_JLS_C_0072_0030.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115937_IDPFI_OPE_20240113115711_20240113115755_N_JLS_C_0072_0031.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113115947_IDPFI_OPE_20240113115729_20240113115803_N_JLS_C_0072_0032.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120000_IDPFI_OPE_20240113115737_20240113115819_N_JLS_C_0072_0033.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120010_IDPFI_OPE_20240113115755_20240113115835_N_JLS_C_0072_0034.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120020_IDPFI_OPE_20240113115811_20240113115842_N_JLS_C_0072_0035.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120027_IDPFI_OPE_20240113115819_20240113115856_N_JLS_C_0072_0036.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120036_IDPFI_OPE_20240113115835_20240113115908_N_JLS_C_0072_0037.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120037_IDPFI_OPE_20240113115849_20240113115914_N_JLS_C_0072_0038.nc
[DEBUG: 2024-11-20 21:06:23 : satpy.readers.fci_l1c_nc] Reading ir_105 from /Users/tommyj/Development/pyadde/data/MTG/UNCOMPRESSED/NOMINAL/HRFI/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-HRFI-FD--CHK-BODY--DIS-NC4E_C_EUMT_20240113120043_IDPFI_OPE_20240113115856_20240113115919_N_JLS_C_0072_0039.nc

>>> scene = global_scene.resample(global_scene.coarsest_area(), resampler="native")
[DEBUG: 2024-11-20 21:06:30 : satpy.scene] Resampling DataID(name='ir_105', wavelength=WavelengthRange(min=9.8, central=10.5, max=11.2, unit='µm'), resolution=1000, calibration=<2>, modifiers=())
[DEBUG: 2024-11-20 21:06:30 : pyresample.geometry] Projections for data and slice areas are identical: PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["Unknown based on MERIT 1983 ellipsoid",ELLIPSOID["MERIT 1983",6378137,298.256999999989,LENGTHUNIT["metre",1,ID["EPSG",9001]]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Geostationary Satellite (Sweep Y)"],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["Satellite Height",35786400,LENGTHUNIT["metre",1,ID["EPSG",9001]]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
[DEBUG: 2024-11-20 21:06:30 : satpy.scene] Resampling DataID(name='ir_105_pixel_quality', resolution=1000, modifiers=())
[DEBUG: 2024-11-20 21:06:30 : satpy.scene] Resampling DataID(name='ir_38', wavelength=WavelengthRange(min=3.4, central=3.8, max=4.2, unit='µm'), resolution=1000, calibration=<2>, modifiers=())
[DEBUG: 2024-11-20 21:06:30 : satpy.scene] Resampling DataID(name='ir_38_pixel_quality', resolution=1000, modifiers=())
>>> 

Actual results

Included above.

Screenshots N/A

Environment Info:

>>> from satpy.utils import check_satpy
>>> check_satpy()
Readers
=======
abi_l1b:  ok
abi_l1b_scmi:  ok
abi_l2_nc:  ok
acspo:  ok
agri_fy4a_l1:  ok
agri_fy4b_l1:  ok
ahi_hrit:  ok
ahi_hsd:  ok
ahi_l1b_gridded_bin:  ok
ahi_l2_nc:  ok
ami_l1b:  ok
amsr2_l1b:  ok
amsr2_l2:  ok
amsr2_l2_gaasp:  ok
amsub_l1c_aapp:  ok
ascat_l2_soilmoisture_bufr:  cannot find module 'satpy.readers.ascat_l2_soilmoisture_bufr' (('Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes.\n           Error: ', ModuleNotFoundError("No module named 'eccodes'")))
atms_l1b_nc:  ok
atms_sdr_hdf5:  ok
avhrr_l1b_aapp:  ok
avhrr_l1b_eps:  cannot find module 'satpy.readers.eps_l1b' (No module named 'defusedxml')
avhrr_l1b_gaclac:  cannot find module 'satpy.readers.avhrr_l1b_gaclac' (No module named 'pygac')
avhrr_l1b_hrpt:  ok
avhrr_l1c_eum_gac_fdr_nc:  ok
caliop_l2_cloud:  cannot find module 'satpy.readers.caliop_l2_cloud' (No module named 'pyhdf')
clavrx:  cannot find module 'satpy.readers.clavrx' (No module named 'pyhdf')
cmsaf-claas2_l2_nc:  ok
electrol_hrit:  ok
epic_l1b_h5:  ok
fci_l1c_nc:  ok
fci_l2_bufr:  cannot find module 'satpy.readers.eum_l2_bufr' (Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes)
fci_l2_grib:  cannot find module 'satpy.readers.eum_l2_grib' (Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes)
fci_l2_nc:  ok
fy3a_mersi1_l1b:  ok
fy3b_mersi1_l1b:  ok
fy3c_mersi1_l1b:  ok
generic_image:  cannot find module 'satpy.readers.generic_image' (No module named 'rioxarray')
geocat:  ok
gerb_l2_hr_h5:  ok
ghi_l1:  ok
ghrsst_l2:  ok
gld360_ualf2:  ok
glm_l2:  ok
gms5-vissr_l1b:  cannot find module 'satpy.readers.gms.gms5_vissr_l1b' (No module named 'numba')
goci2_l2_nc:  ok
goes-imager_hrit:  ok
goes-imager_nc:  ok
gpm_imerg:  ok
grib:  cannot find module 'satpy.readers.grib' (No module named 'pygrib')
hsaf_grib:  cannot find module 'satpy.readers.hsaf_grib' (No module named 'pygrib')
hsaf_h5:  ok
hy2_scat_l2b_h5:  ok
iasi_l2:  ok
iasi_l2_cdr_nc:  ok
iasi_l2_so2_bufr:  cannot find module 'satpy.readers.iasi_l2_so2_bufr' (('Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes.\n           Error: ', ModuleNotFoundError("No module named 'eccodes'")))
ici_l1b_nc:  ok
insat3d_img_l1b_h5:  ok
jami_hrit:  ok
li_l2_nc:  ok
maia:  ok
mcd12q1:  cannot find module 'satpy.readers.mcd12q1' (No module named 'pyhdf')
meris_nc_sen3:  ok
mersi2_l1b:  ok
mersi3_l1b:  ok
mersi_ll_l1b:  ok
mersi_rm_l1b:  ok
mhs_l1c_aapp:  ok
mimicTPW2_comp:  ok
mirs:  ok
modis_l1b:  cannot find module 'satpy.readers.modis_l1b' (No module named 'pyhdf')
modis_l2:  cannot find module 'satpy.readers.modis_l2' (No module named 'pyhdf')
modis_l3:  cannot find module 'satpy.readers.modis_l3' (No module named 'pyhdf')
msi_safe:  cannot find module 'satpy.readers.msi_safe' (No module named 'defusedxml')
msi_safe_l2a:  cannot find module 'satpy.readers.msi_safe' (No module named 'defusedxml')
msu_gsa_l1b:  ok
mtsat2-imager_hrit:  ok
mviri_l1b_fiduceo_nc:  ok
mwi_l1b_nc:  ok
mws_l1b_nc:  ok
nucaps:  ok
nwcsaf-geo:  ok
nwcsaf-msg2013-hdf5:  ok
nwcsaf-pps_nc:  ok
oceancolorcci_l3_nc:  ok
oci_l2_bgc:  cannot find module 'satpy.readers.seadas_l2' (No module named 'pyhdf')
olci_l1b:  ok
olci_l2:  ok
oli_tirs_l1_tif:  cannot find module 'satpy.readers.oli_tirs_l1_tif' (No module named 'defusedxml')
omps_edr:  ok
osisaf_nc:  ok
safe_sar_l2_ocn:  ok
sar-c_safe:  cannot find module 'satpy.readers.sar_c_safe' (No module named 'defusedxml')
satpy_cf_nc:  ok
scatsat1_l2b:  cannot find module 'satpy.readers.scatsat1_l2b' (cannot import name 'Dataset' from 'satpy.dataset' (/Users/tommyj/miniconda3/envs/fci-hires/lib/python3.13/site-packages/satpy/dataset/__init__.py))
seadas_l2:  cannot find module 'satpy.readers.seadas_l2' (No module named 'pyhdf')
seviri_l1b_hrit:  ok
seviri_l1b_icare:  cannot find module 'satpy.readers.seviri_l1b_icare' (No module named 'pyhdf')
seviri_l1b_native:  ok
seviri_l1b_nc:  ok
seviri_l2_bufr:  cannot find module 'satpy.readers.eum_l2_bufr' (Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes)
seviri_l2_grib:  cannot find module 'satpy.readers.eum_l2_grib' (Missing eccodes-python and/or eccodes C-library installation. Use conda to install eccodes)
sgli_l1b:  ok
slstr_l1b:  ok
smos_l2_wind:  ok
tropomi_l2:  ok
vii_l1b_nc:  ok
vii_l2_nc:  ok
viirs_compact:  ok
viirs_edr:  ok
viirs_edr_active_fires:  ok
viirs_edr_flood:  cannot find module 'satpy.readers.viirs_edr_flood' (No module named 'pyhdf')
viirs_l1b:  ok
viirs_l2:  ok
viirs_sdr:  ok
viirs_vgac_l1c_nc:  ok
virr_l1b:  ok

Writers
=======
awips_tiled:  ok
cf:  ok
geotiff:  ok
mitiff:  ok
ninjogeotiff:  ok
ninjotiff:  cannot find module 'satpy.writers.ninjotiff' (No module named 'pyninjotiff')
simple_image:  ok

Versions
======
platform: macOS-14.7.1-x86_64-i386-64bit-Mach-O
python: 3.13.0

cartopy: not installed
dask: 2024.11.2
fsspec: 2024.10.0
gdal: not installed
geoviews: not installed
h5netcdf: not installed
h5py: 3.12.1
netcdf4: 1.7.1
numpy: 2.1.3
pyhdf: not installed
pyproj: 3.7.0
rasterio: 1.4.2
xarray: 2024.10.0

Additional context Any questions please ask.

We suspect the problem is either here or here

djhoese commented 4 days ago

@gerritholl @ameraner Is native resampling possible with FCI? I'm not up to date on what's expected for the FCI reader(s). Do the high res bands include a stacked area definition? Does the full disk image need to be filled for missing segments?

djhoese commented 4 days ago

@tommyjasmin While we wait for help from the people who should know, could you print out the .attrs["area"] of the two variables you're loading in the Scene before resampling:

for data_arr in global_scene.values():
    print(data_arr.attrs["area"])
tommyjasmin commented 4 days ago

@djhoese -

for data_arr in global_scene.values():
    print(data_arr.attrs["area"])

Sure, and this is for two channels that will fail: channel_list = ['vis_06', 'ir_105']

>>> for data_arr in global_scene.values():
...     print(data_arr.attrs["area"])
...     
Area ID: mtg_fci_fdss_500m
Description: MTG FCI Full Disk Scanning Service area definition with 500 m resolution
Projection: {'ellps': 'MERIT', 'h': '35786400', 'lon_0': '0', 'no_defs': 'None', 'proj': 'geos', 'type': 'crs', 'units': 'm', 'x_0': '0', 'y_0': '0'}
Number of columns: 22272
Number of rows: 22272
Area extent: (-5567499.9996, 5568499.9996, 5568499.9996, -5567499.9996)
Area ID: mtg_fci_fdss_1km
Description: MTG FCI Full Disk Scanning Service area definition with 1 km resolution
Projection: {'ellps': 'MERIT', 'h': '35786400', 'lon_0': '0', 'no_defs': 'None', 'proj': 'geos', 'type': 'crs', 'units': 'm', 'x_0': '0', 'y_0': '0'}
Number of columns: 11136
Number of rows: 11136
Area extent: (-5566999.9986, 5568999.9986, 5568999.9986, -5566999.9986)
tommyjasmin commented 4 days ago

Also, if we want to drag @jon4than in, he noted:

I also spotted a bunch of these types of things in satpy:
  fci_l1c_af_ir_87:
    file_reader: !!python/name:satpy.readers.fci_l1c_nc.FCIL1cNCFileHandler
    file_patterns:
      - "{pflag}_{location_indicator},{data_designator},MTI{spacecraft_id:1d}-{data_source}-1C-RRAD-3KM-{coverage}-IR87-{component1}-x-{component3}-{purpose}-{format}_{oflag}_{originator}_{processing_time:%Y%m%d%H%M%S}_{facility_or_tool}_{environment}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_{processing_mode}_{special_compression}_{disposition_mode}_{repeat_cycle_in_day:>04d}_{count_in_repeat_cycle:>04d}.nc"
      - "{pflag}_{location_indicator},{data_designator},MTI{spacecraft_id:1d}+{data_source}-1C-RRAD-3KM-{coverage}-IR87-{component1}-x-{component3}-{purpose}-{format}_{oflag}_{originator}_{processing_time:%Y%m%d%H%M%S}_{facility_or_tool}_{environment}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_{processing_mode}_{special_compression}_{disposition_mode}_{repeat_cycle_in_day:>04d}_{count_in_repeat_cycle:>04d}.nc"
    expected_segments: 1
From https://github.com/pytroll/satpy/blob/main/satpy/etc/readers/fci_l1c_nc.yaml#L203-L208

[1:55](https://ssec-dev.slack.com/archives/C076W4N6NP3/p1732132509798209)
it's that 1C-RRAD-3KM and IR87 rather than just 1C-RRAD-FDHSI  that makes me wonder if it's related to that channel subsetting snippet
[1:55](https://ssec-dev.slack.com/archives/C076W4N6NP3/p1732132554215819)
Though I could find no mention of files with that naming convention in the PUG
pnuu commented 3 days ago

The 3KM files are for African (the af in the dataset name) distribution. They have been downsampled for lower network and processing requirements.

ameraner commented 3 days ago

Hi @tommyjasmin, I just tried to reproduce this but I couldn't, it works for me

from glob import glob
from satpy import Scene
import hdf5plugin
from satpy.utils import debug_on; debug_on()

filenames = sorted(glob('/tcenas/fbf/mtg/RollingBuffer/VAL/idpfi/FCI-L1/20241121/*HRFI*_JLS_C_0073*'))
# filenames = filenames[0:39]
scn = Scene(filenames=filenames, reader='fci_l1c_nc')
scn.load(['vis_06', 'ir_105'])

scn_r = scn.resample(scn.coarsest_area(), resampler='native')

I also tried to exclude some chunk to activate the padding but it doesn't cause any issue either... I have the latest satpy and pyresample from main, and

platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.35
python: 3.11.8
cartopy: 0.23.0
dask: 2024.7.1
fsspec: 2024.3.1
gdal: 3.8.4
geoviews: 1.12.0
h5netcdf: 1.3.0
h5py: 3.10.0
netcdf4: 1.6.5
numpy: 1.26.4
pyhdf: 0.11.3
pyproj: 3.6.1
rasterio: 1.3.9
xarray: 2024.7.0

The native resampling should work in principle, since the resolutions are always in double or half steps from each other (apart from the African format, but that's a corner case that shouldn't bother us here). @djhoese the reader, per default, returns an AreaDefinition from the appended StackedAreaDefinitions, and padding is activated by default for missing chunks, before the StackedAreaDefinition merging.

I just noticed that you are testing this with some old data from January. I don't recall now exactly but it could be that the grids have slightly changed in the meanwhile and maybe that upsets the code. Could you check with some newer data just to be sure? Another check you could do is to use 'mtg_fci_fdss_1km' instead of scn.coarsest_area().

tommyjasmin commented 3 days ago

Thanks so much @ameraner - I'll try both suggestions and report back...

tommyjasmin commented 4 hours ago

Heh @ameraner - Woo-Hoo! I tested with new, near-realtime data and everything works great! Thanks also @gerritholl and @djhoese

Closing the ticket.