Hi Dave,
sorry for the late response! I
sent the geoTIFF (it is attached to this message) to a different Windows
machine via Gmail and was able to open it in the Gmail photo viewer,
but after I saved it and tried to open it, I got the same error again. I
tried opening the TIFF with different programs (Windows Photos, Photos,
Paint etc.) but for some reason only the Gmail photo viewer worked.
Also,
I have installed GDAL (it was not installed as a part of satpy) and did
not get an error during the installation process, but was not able to
import the package in PyCharm. It looks like it installed a folder
called "GDAL-3.5.0-py3.10-win-amd64.egg-info" into my "site-packages"
folder but did not create a folder called "gdal". I am usually used to
packages having an info-folder and a folder that includes all the
functions (e.g., "numpy-1.22.4.dist-info" and "numpy"). I manually
created a "gdal" folder and filled it with the scripts I found in the
"scripts" folder in the "GDAL-3.5.0-py3.10-win-amd64.egg-info" folder,
which worked and allowed me to import the package into PyCharm. This
"scripts" folder did not include functions like gdalinfo, though, so it
looks like I only managed to get parts of GDAL running - not sure how to
fix this.
Still, I managed to find the
gdalinfo function somewhere in the "pkgs" folder and run it in the
OSGeo4W Shell (Anaconda shell could not find the gdalinfo function). I
got the following output:
==================================================
Driver: GTiff/GeoTIFF
Files: E:\Jasper\Studium\BA_Thesis\MODIS_data\output\cloud_effective_radius_20211026_162000.tif
Size is 1354, 2030
Metadata:
TIFFTAG_DATETIME=2021:10:26 16:20:00
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 2030.0)
Upper Right ( 1354.0, 0.0)
Lower Right ( 1354.0, 2030.0)
Center ( 677.0, 1015.0)
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
Mask Flags: PER_DATASET ALPHA
Band 2 Block=256x256 Type=Byte, ColorInterp=Alpha
===============================================
Thanks again for your help!
Jasper