Skip to content

Reading FCI L2 data yields warning on chunking performanceΒ #3321

@gerritholl

Description

@gerritholl

Describe the bug

When reading FCI L2 data using the fci_l2_nc reader, a warning is issued about performance of chunk size.

To Reproduce

from satpy import Scene
sc = Scene(
        filenames=["W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-2-CT--FD------NC4E_C_EUMT_20260105085507_L2PF_OPE_20260105084000_20260105085000_N__C_0053_0000.nc"],
        reader="fci_l2_nc")

Expected behavior

I expect no warning or error messages.

Actual results

/home/gholl/checkouts/satpy/satpy/readers/fci_l2_nc.py:185: UserWarning: The specified chunks separate the stored chunks along dimension "number_of_rows" starting at index 4096. This could degrade performance. Instead, consider rechunking after loading.
  self.nc = xr.open_dataset(
/home/gholl/checkouts/satpy/satpy/readers/fci_l2_nc.py:185: UserWarning: The specified chunks separate the stored chunks along dimension "number_of_columns" starting at index 4096. This could degrade performance. Instead, consider rechunking after loading.
  self.nc = xr.open_dataset(

Environment Info:

  • OS: openSUSE 15.6
  • Satpy Version: main (v0.59.0-95-g579e79709)

Additional context

The warnings should either be suppressed if a false alarm, or they should be avoided by changing how data are chunked upon loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions