cartopy icon indicating copy to clipboard operation
cartopy copied to clipboard

Show a tiff data with Cartopy

Open wgy1027 opened this issue 2 years ago • 1 comments

Description

I want to show my tiff data with Cartopy. But, (1) when I use cartopy.crs.epsg function, it returns an error called xml.etree.ElementTree.ParseError.

cartopy.crs.epsg(5544)
*** xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 0

(2) when I pass the projection in proj4 with cartopy.crs.CRS, Cartopy says

'cartopy._crs.CRS' object has no attribute 'globe'

(3) So, I find that many people use the "cartopy.crs.from_proj", but

module 'cartopy.crs' has no attribute 'from_proj'

Can the designers of Cartopy do better? This problem wastes my whole morning

wgy1027 avatar Sep 11 '22 02:09 wgy1027

Were you able to find a solution and can post it here for others? Perhaps you can help us by improving the documentation or adding an example to the gallery of what you were looking for: https://scitools.org.uk/cartopy/docs/latest/gallery/index.html

greglucas avatar Sep 11 '22 02:09 greglucas