pytroll / satpy

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

Sentinel 3 OLCI geotiff is not georeferenced #2500

Open varisht-tathya opened 1 year ago

varisht-tathya commented 1 year ago

Describe the bug I am following the tutorial from here: https://nbviewer.org/github/pytroll/pytroll-examples/blob/main/satpy/OLCI%20L1B.ipynb

I want to create a georeferenced TCI image. However the saved scene doesn't have any co-ordinates attached to it.

I get the error:

INFO:trollimage._xrimage_rasterio:Couldn't create geotransform
/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/rasterio/__init__.py:230: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned.
  s = writer(path, mode, driver=driver,
INFO:satpy.writers:Computing and writing results...
/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/dask/core.py:121: RuntimeWarning: invalid value encountered in log
  return func(*(_execute_task(a, cache) for a in args))

To Reproduce

from satpy import Scene, find_files_and_readers, available_readers
files = find_files_and_readers(sensor='olci',
                               start_time=datetime(2022, 8, 28, 7, 0),
                               end_time=datetime(2022, 8, 29, 8, 27),
                               base_dir=data_dir,
                               reader='olci_l1b')

scn = Scene(filenames=files)
composite = 'true_color'

scn.load([composite]
scn.save_datasets(writer='geotiff')

Expected behavior I expect the saved GeoTiff file to be georeferenced.

Actual results Text output of actual results or error messages including full tracebacks if applicable.

DEBUG:satpy.readers.yaml_reader:Reading ('/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/readers/olci_l1b.yaml',)
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.yaml_reader] Reading ('/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/readers/olci_l1b.yaml',)
DEBUG:satpy.readers.yaml_reader:Reading ('/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/readers/olci_l1b.yaml',)
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.yaml_reader] Reading ('/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/readers/olci_l1b.yaml',)
DEBUG:satpy.readers.yaml_reader:Assigning to olci_l1b: ['/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa14_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa04_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa16_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa03_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa12_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa10_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa18_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa05_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa02_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa11_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa06_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa15_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa20_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa09_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa17_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa21_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa08_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa07_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa01_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa19_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa13_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/tie_geometries.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/geo_coordinates.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/instrument_data.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/tie_meteo.nc']
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.yaml_reader] Assigning to olci_l1b: ['/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa14_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa04_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa16_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa03_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa12_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa10_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa18_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa05_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa02_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa11_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa06_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa15_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa20_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa09_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa17_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa21_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa08_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa07_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa01_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa19_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/Oa13_radiance.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/tie_geometries.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/geo_coordinates.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/instrument_data.nc', '/home/varisht/Gunjan/output/S3A_OL_1_EFR____20220828T074246_20220828T074546_20220829T082152_0179_089_149_2340_PS1_O_NT_002.SEN3/tie_meteo.nc']
DEBUG:satpy.readers.olci_nc:Reading latitude.

[DEBUG: 2023-06-06 11:14:47 : satpy.readers.olci_nc] Reading latitude.
DEBUG:satpy.readers.yaml_reader:No coordinates found for DataID(name='latitude', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.yaml_reader] No coordinates found for DataID(name='latitude', resolution=300, modifiers=())
DEBUG:satpy.readers.olci_nc:Reading longitude.
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.olci_nc] Reading longitude.
DEBUG:satpy.readers.yaml_reader:No coordinates found for DataID(name='longitude', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.yaml_reader] No coordinates found for DataID(name='longitude', resolution=300, modifiers=())
DEBUG:satpy.readers.olci_nc:Reading Oa03.
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.olci_nc] Reading Oa03.
DEBUG:satpy.readers.olci_nc:Reading satellite_zenith_angle.
[DEBUG: 2023-06-06 11:14:47 : satpy.readers.olci_nc] Reading satellite_zenith_angle.
DEBUG:satpy.readers.olci_nc:Reading Oa08.
[DEBUG: 2023-06-06 11:14:50 : satpy.readers.olci_nc] Reading Oa08.
DEBUG:satpy.readers.olci_nc:Reading solar_azimuth_angle.
[DEBUG: 2023-06-06 11:14:50 : satpy.readers.olci_nc] Reading solar_azimuth_angle.
DEBUG:satpy.readers.olci_nc:Reading solar_zenith_angle.
[DEBUG: 2023-06-06 11:14:54 : satpy.readers.olci_nc] Reading solar_zenith_angle.
DEBUG:satpy.readers.olci_nc:Reading Oa06.
[DEBUG: 2023-06-06 11:14:55 : satpy.readers.olci_nc] Reading Oa06.
DEBUG:satpy.readers.olci_nc:Reading satellite_azimuth_angle.
[DEBUG: 2023-06-06 11:14:55 : satpy.readers.olci_nc] Reading satellite_azimuth_angle.
DEBUG:satpy.modifiers.geometry:Applying sun zen correction
[DEBUG: 2023-06-06 11:14:55 : satpy.modifiers.geometry] Applying sun zen correction
DEBUG:satpy.modifiers.geometry:Apply the effective solar atmospheric path length correction method by Li and Shibata
[DEBUG: 2023-06-06 11:14:55 : satpy.modifiers.geometry] Apply the effective solar atmospheric path length correction method by Li and Shibata
DEBUG:satpy.modifiers.geometry:Applying sun zen correction
[DEBUG: 2023-06-06 11:14:55 : satpy.modifiers.geometry] Applying sun zen correction
DEBUG:satpy.modifiers.geometry:Apply the standard sun-zenith correction [1/cos(sunz)]
[DEBUG: 2023-06-06 11:14:55 : satpy.modifiers.geometry] Apply the standard sun-zenith correction [1/cos(sunz)]
INFO:satpy.modifiers.atmosphere:Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa08'
[INFO: 2023-06-06 11:15:01 : satpy.modifiers.atmosphere] Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa08'
INFO:pyspectral.rayleigh:Atmosphere chosen: us-standard
[INFO: 2023-06-06 11:15:01 : pyspectral.rayleigh] Atmosphere chosen: us-standard
DEBUG:pyspectral.rayleigh:LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rayleigh] LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rayleigh:Band name: Oa08  Effective wavelength: 0.665221um
[DEBUG: 2023-06-06 11:15:01 : pyspectral.rayleigh] Band name: Oa08  Effective wavelength: 0.665221um
DEBUG:satpy.modifiers.geometry:Applying sun zen correction
[DEBUG: 2023-06-06 11:15:01 : satpy.modifiers.geometry] Applying sun zen correction
DEBUG:satpy.modifiers.geometry:Apply the effective solar atmospheric path length correction method by Li and Shibata
[DEBUG: 2023-06-06 11:15:01 : satpy.modifiers.geometry] Apply the effective solar atmospheric path length correction method by Li and Shibata
INFO:satpy.modifiers.atmosphere:Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa06'
[INFO: 2023-06-06 11:15:08 : satpy.modifiers.atmosphere] Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa06'
INFO:pyspectral.rayleigh:Atmosphere chosen: us-standard
[INFO: 2023-06-06 11:15:08 : pyspectral.rayleigh] Atmosphere chosen: us-standard
DEBUG:pyspectral.rayleigh:LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rayleigh] LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5

[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rayleigh:Band name: Oa06  Effective wavelength: 0.560387um
[DEBUG: 2023-06-06 11:15:08 : pyspectral.rayleigh] Band name: Oa06  Effective wavelength: 0.560387um
DEBUG:satpy.modifiers.geometry:Applying sun zen correction
[DEBUG: 2023-06-06 11:15:08 : satpy.modifiers.geometry] Applying sun zen correction
DEBUG:satpy.modifiers.geometry:Apply the effective solar atmospheric path length correction method by Li and Shibata
[DEBUG: 2023-06-06 11:15:08 : satpy.modifiers.geometry] Apply the effective solar atmospheric path length correction method by Li and Shibata
INFO:satpy.modifiers.atmosphere:Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa03'
[INFO: 2023-06-06 11:15:14 : satpy.modifiers.atmosphere] Removing Rayleigh scattering with atmosphere 'us-standard' and aerosol type 'rayleigh_only' for 'Oa03'
INFO:pyspectral.rayleigh:Atmosphere chosen: us-standard
[INFO: 2023-06-06 11:15:14 : pyspectral.rayleigh] Atmosphere chosen: us-standard
DEBUG:pyspectral.rayleigh:LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rayleigh] LUT filename: /home/varisht/.local/share/pyspectral/rayleigh_only/rayleigh_lut_us-standard.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] Filename: /home/varisht/.local/share/pyspectral/rsr_olci_Sentinel-3A.h5
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...

DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rsr_reader:No detectors found - assume only one...
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rsr_reader] No detectors found - assume only one...
DEBUG:pyspectral.rayleigh:Band name: Oa03  Effective wavelength: 0.442883um
[DEBUG: 2023-06-06 11:15:14 : pyspectral.rayleigh] Band name: Oa03  Effective wavelength: 0.442883um
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='satellite_zenith_angle', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='satellite_zenith_angle', resolution=300, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='solar_azimuth_angle', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='solar_azimuth_angle', resolution=300, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='solar_zenith_angle', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='solar_zenith_angle', resolution=300, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='satellite_azimuth_angle', resolution=300, modifiers=())
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='satellite_azimuth_angle', resolution=300, modifiers=())
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('sunz_corrected',))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('sunz_corrected',))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa08', wavelength=WavelengthRange(min=0.66, central=0.665, max=0.67, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa06', wavelength=WavelengthRange(min=0.555, central=0.56, max=0.565, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected',))
DEBUG:satpy.scene:Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))
[DEBUG: 2023-06-06 11:15:19 : satpy.scene] Unloading dataset: DataID(name='Oa03', wavelength=WavelengthRange(min=0.4375, central=0.4425, max=0.4475, unit='µm'), resolution=300, calibration=<calibration.reflectance>, modifiers=('effective_solar_pathlength_corrected', 'rayleigh_corrected'))

While writing

DEBUG:satpy.writers:Reading ['/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/writers/geotiff.yaml']
[DEBUG: 2023-06-06 11:17:13 : satpy.writers] Reading ['/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/writers/geotiff.yaml']
DEBUG:satpy.writers:Adding enhancement configuration from file: /home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/enhancements/generic.yaml
[DEBUG: 2023-06-06 11:17:14 : satpy.writers] Adding enhancement configuration from file: /home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/satpy/etc/enhancements/generic.yaml
DEBUG:satpy.writers:Data for DataID(name='true_color', resolution=300) will be enhanced with options:
    [{'name': 'cira_stretch', 'method': <function cira_stretch at 0x7f706efe7820>}]
[DEBUG: 2023-06-06 11:17:14 : satpy.writers] Data for DataID(name='true_color', resolution=300) will be enhanced with options:
    [{'name': 'cira_stretch', 'method': <function cira_stretch at 0x7f706efe7820>}]
DEBUG:satpy.enhancements:Applying the cira-stretch
[DEBUG: 2023-06-06 11:17:14 : satpy.enhancements] Applying the cira-stretch
INFO:trollimage._xrimage_rasterio:Couldn't create geotransform
[INFO: 2023-06-06 11:17:14 : trollimage._xrimage_rasterio] Couldn't create geotransform
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0x7f706ead4f40>
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Entering env context: <rasterio.env.Env object at 0x7f706ead4f40>
DEBUG:rasterio.env:Starting outermost env
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0x7f706f3366d0> created
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] New GDAL environment <rasterio._env.GDALEnv object at 0x7f706f3366d0> created
DEBUG:rasterio._env:GDAL data files are available at built-in paths.
[DEBUG: 2023-06-06 11:17:14 : rasterio._env] GDAL data files are available at built-in paths.
DEBUG:rasterio._env:PROJ data files are available at built-in paths.
[DEBUG: 2023-06-06 11:17:14 : rasterio._env] PROJ data files are available at built-in paths.
DEBUG:rasterio._env:Started GDALEnv: self=<rasterio._env.GDALEnv object at 0x7f706f3366d0>.
[DEBUG: 2023-06-06 11:17:14 : rasterio._env] Started GDALEnv: self=<rasterio._env.GDALEnv object at 0x7f706f3366d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0x7f706ead4f40>
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Entered env context: <rasterio.env.Env object at 0x7f706ead4f40>
DEBUG:rasterio._io:Path: UnparsedPath(path='true_color_20220828_074246.tif'), mode: w, driver: GTiff
[DEBUG: 2023-06-06 11:17:14 : rasterio._io] Path: UnparsedPath(path='true_color_20220828_074246.tif'), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('COMPRESS', b'DEFLATE')
[DEBUG: 2023-06-06 11:17:14 : rasterio._io] Option: ('COMPRESS', b'DEFLATE')
DEBUG:rasterio._io:Option: ('ZLEVEL', b'6')
[DEBUG: 2023-06-06 11:17:14 : rasterio._io] Option: ('ZLEVEL', b'6')
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', b'RGB')
[DEBUG: 2023-06-06 11:17:14 : rasterio._io] Option: ('PHOTOMETRIC', b'RGB')
DEBUG:rasterio._io:Option: ('TILED', b'TRUE')
[DEBUG: 2023-06-06 11:17:14 : rasterio._io] Option: ('TILED', b'TRUE')
/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/rasterio/__init__.py:230: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned.
  s = writer(path, mode, driver=driver,
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
[DEBUG: 2023-06-06 11:17:14 : rasterio._base] Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
[DEBUG: 2023-06-06 11:17:14 : rasterio._base] Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
[DEBUG: 2023-06-06 11:17:14 : rasterio._base] Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
[DEBUG: 2023-06-06 11:17:14 : rasterio._base] Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0x7f706ead4f40>
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Exiting env context: <rasterio.env.Env object at 0x7f706ead4f40>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0x7f706f3366d0> options
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Cleared existing <rasterio._env.GDALEnv object at 0x7f706f3366d0> options
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7f706f3366d0>.
[DEBUG: 2023-06-06 11:17:14 : rasterio._env] Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7f706f3366d0>.
DEBUG:rasterio.env:Exiting outermost env
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0x7f706ead4f40>
[DEBUG: 2023-06-06 11:17:14 : rasterio.env] Exited env context: <rasterio.env.Env object at 0x7f706ead4f40>
INFO:satpy.writers:Computing and writing results...
[INFO: 2023-06-06 11:17:14 : satpy.writers] Computing and writing results...
/home/varisht/anaconda3/envs/arosicsupgrade/lib/python3.9/site-packages/dask/core.py:121: RuntimeWarning: invalid value encountered in log
  return func(*(_execute_task(a, cache) for a in args))

Screenshots If applicable, add screenshots to help explain your problem.

Environment Info:

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

Extras

cartopy: ok geoviews: No module named 'geoviews'



**Additional context**
Add any other context about the problem here.
djhoese commented 1 year ago

I am not the creator of this reader, but I have some possible answers for this behavior while the people who would know better are on vacation.

OLCI is a low-earth orbiting satellite and has 2D lon/lat arrays for its geolocation. In Satpy we store this information in what is known as a "SwathDefinition". This type of geolocation is not compatible with the geotiff image format. Geotiffs only supports gridded data.

To get around this you can resample the data using the Scene.resample method as shown in the notebook you linked to. The AreaDefinition you resample to would be a projected grid that could be described in a geotiff.

varisht-tathya commented 1 year ago

I checked that avenue as well and tested it on some predefined area definitions. It does grid it out, but I lose out the resolution. I will try with my own Area definition and check.

djhoese commented 1 year ago

Yeah the pre-defined areas likely aren't very high resolution.

simonrp84 commented 1 year ago

Are the omerc_bb and laea_bb areas any help here? From what I know they should stick fairly closely to the instrument resolution, no?