fig.savefig('/tmp/data.png')I think blocks until the buffer is fully written to disk. To compare all of these cases you'll really need to read up a lot more about profiling all of these various libraries because all of them do different things under the hood that may be beneficial in certain ways, like blitting or re-using the same canvas. If you're writing to disk or just showing an in-memory representation.
When I plot a high resolution satellite image (tiff format) in imshow and save as jpeg with very high dpi (1000) the quality of the image is retained.
But when I plot the same image with cartopy the image is resampled (I assume onto the resolution of the lat-lon grid) and I loose alot of image quality.
Please could some one advice me how to plot a high resolution sat. image in cartopy retaining the original image quality?
Thank you very much!
regrid_shapeargument that is likely what you want to look into: https://scitools.org.uk/cartopy/docs/latest/reference/generated/cartopy.mpl.geoaxes.GeoAxes.html#cartopy.mpl.geoaxes.GeoAxes.imshow
Hi all, i want to test some modification on cartopy, so i forked the project and did
python setup.py install to install it localy.
I got a error
ModuleNotFoundError: No module named 'cartopy._version'
I saw that in v0.18 there was a file
_version.py in the cartopy project, but there isn"t anymore. Do i have to do extra step to use it locally ? Thanks
setuptools-scmto be installed.
TypeError: Dimensions of C (300, 400) are incompatible with X (401) and/or Y (301); see help(pcolormesh)
UserWarning: SRTM requires an account set up and log in to access. Use of this Downloader is likely to fail with HTTP 401 errors. warnings.warn('SRTM requires an account set up and log in to access.. I have looked at the documentation thoroughly and i can't find anything regarding this. Is there a new version of the srtm_shading example? Thanks.