-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GOES-16 geolocation seems off when saving as TIFF #555
Comments
As a first guess, I have a feeling this is due to QGIS not supporting the
The gdalinfo shows that the version of gdal used to create the images is new enough that GDAL is "hacking" in the sweep parameter in the "EXTENSION" part. I'm guessing QGIS's I can give the |
Hah, that's simple! Updating QGIS to the latest build (3.4) fixed the problem, coastlines now appear in the right places. Apologies for blaming SatPy for this issue. |
Great to hear it was that simple and good to know for future my reference. Thanks for filing the bug. |
Describe the bug
Hello,
One of my students has noticed that the geolocation seems to be incorrect for GOES-16. A GeoTIFF saved by SatPy has an offset compared to a coastline overlay in QGIS.
To Reproduce
The following python script will produce a GeoTIFF with the incorrect location info
Then load the image in QGIS (or similar) and add a coastline overlay. Some areas, particularly California, South-Eastern South America and the Atlantic Islands, have a 10+pixel shift in geolocation.
Expected behavior
That a coastline overlaid in GIS software will match the actual coastlines visible in the L1 sat data.
Actual results
This is the gdalinfo output for a GeoTIFF saved by SatPy:
PROJCS["unnamed",
GEOGCS["unnamed ellipse",
DATUM["unknown",
SPHEROID["unnamed",6378137,298.2572220960422]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Geostationary_Satellite"],
PARAMETER["central_meridian",-75],
PARAMETER["satellite_height",35786023],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["Meter",1],
EXTENSION["PROJ4","+a=6378137.0 +b=6356752.31414 +lon_0=-75.0 +h=35786023.0 +proj=geos +units=m +sweep=x"]]
Screenshots
Please see these two images for an example:
https://www2.physics.ox.ac.uk/sites/default/files/profiles/proud/bob1-44130.png
https://www2.physics.ox.ac.uk/sites/default/files/profiles/proud/bob2-44131.png
Environment Info:
Ubuntu 14.04 + Mint 19 + Ubuntu 18.04
Latest SatPy pulled from git.
The text was updated successfully, but these errors were encountered: