Skip to content

Reprojecting Satellite Image #2616

Answered by dopplershift
sgdecker asked this question in Q&A
Discussion options

You must be logged in to vote

No MetPy issue here, since it's only involved in the parsing of the netCDF metadata into the cartopy CRS.

Your problem is this call:

map_proj = ccrs.Mercator()

That's not specifying a central_longitude, so it uses the default of 0. My guess is using a projection so far from the region of interest/valid range of data causes some weird "seam-crossing" issue. If I instead use:

map_proj = ccrs.Mercator(central_longitude=-130)

I get the expected image:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dopplershift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants