Displaying GOES in mercator projection #11
Unanswered
blaylockbk
asked this question in
Q&A
Replies: 1 comment 4 replies
-
So when you type: ax.set_extent([-135, -60, 10, 65], crs=ccrs.Mercator()) You are telling cartopy "set the extents of the axes to a box with lower left corner (-135, 10) and upper right corner (-60, 65); those points are native coordinates in the Mercator() projection". You essentially specified a 75m x 55m box. To plot with Mercator you want: # Tell cartopy the axes we're plotting on should be in Mercator
ax = fig.add_subplot(1, 1, 1, projection=Mercator())
# Specify the extent as lat/lon
ax.set_extent([-135, -60, 10, 65], crs=ccrs.PlateCarree()) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to display GOES True Color imagery in a Mercator projection. I thought I would do this with a line such as:
but this does not work.
Can someone point out what I am doing wrong or point me to the correct resource so I might understand my problem better?
Code snippet from the GOES-2-go True Color recipe:
Beta Was this translation helpful? Give feedback.
All reactions