#cartopy — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cartopy, aggregated by home.social.
-
#Projections for #30DayMapChallenege
An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.
Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp
Background image is cartopy's `stock_img()`.
re-used some code I threw together recently to make a thing for changing my desktop background: https://tlohde.com/blog/2025/10/because-i-cant-afford-a-geochron/
-
day 24: #only_circular_shapes
Encircled Iceland Incircles.
The biggest circle that fits inside of Iceland (an "incircle") (in UTM), and the next biggest that doesn't overlap the first, and the next biggest and so on...
https://en.wikipedia.org/wiki/Incircle_and_excircles
method implemented similar to that of Garcia-Castellanos & Lombardo 2008 https://doi.org/10.1080/14702540801897809
colors are that of the Icelandic flag
coastline from Natural Earth. plotting with #matplotlib #shapely #cartopy #geopandas
-
What's hitting a Finnish consumer internet connection nowadays?
@grafana #itsecurity #firewall #firewallstats #loki #grafanaloki #python #matplotlib #cartopy
https://www.gofferje.net/blog/firewall-stats/ -
What's hitting a Finnish consumer internet connection nowadays?
#security #itsecurity #firewall #firewallstats #loki #grafanaloki #python #matplotlib #cartopy
https://www.gofferje.net/blog/firewall-stats/ -
Anyone knows how to plot lake shorelines with #cartopy It is easy to get the (ocean) coastlines, but I don't get it to plot the shorelines of lakes.
-
I know #matplotlib can do cartography (maps), and #osmnx uses it to plot stuff, but I can't find documentation or a decent tutorial to plot a base map and a list of latlong places as different sized circles. I'm struggling with #cartopy, in theory a wrapper to make mapping easier :((
Is it that hard or I'm just too dumb and/or I'm making everything wrong? #Python -
Fyi, @ruthpozuelo (and others)
The #python #matplotlib #basemap module is now fully back on track, and the deprecation warning on their documentation page was removed. Congrats to the maintainer.
https://matplotlib.org/basemap/stable/index.html
Python has now once again two major map-plotting libraries: #basemap and #cartopy.
-
Maybe @SigneAaboe has some #cartopy scripts that could be reused.
Myself I mostly use pylab (not cartopy) for my simple #SeaIce plots.
You can see one here:
https://github.com/TomLav/snippets/blob/main/Read%20OSISAF%20CCI%20Sea%20Ice%20Concentration%20CDR.ipynb -
@EL_Uatu @ruthpozuelo if you know the lat/lon of each of you crime "cell", and the projection information to go from x/y to lat/lon you can use #pyresample (from the #pytroll ecosystem).
That's what I use for plotting satelitte and weather data. But #cartopy or #basemap can probably do the transform for you if the ony thing you want is plotting.
-
Last night, @ruthpozuelo and I found out that #Basemap (the legacy map plotting module of #python) was not dead after all, and that a small team of developers are taking care of it.
This can be of interest for those of you that have not fully transitioned to #Cartopy yet (I have).
-
Sure. I deal with operational, near-real-time applications that should be up-and-running 24/7. I cannot rely on non-maintained modules that will not install out-of-the-box (e.g. on recent #python3).
Thus, I was pushed from #Basemap to #Cartopy. Now I like it there, and I like the seamless integration with matplotlib and #pyresample (another tool I use a lot).
So essentially I moved already and will not turn back even if a small team now carries Basemap further.
-
Yes I saw ! What a plot twist ! Basemap is maintained after all.
I will personally stick to #Cartopy, but #Basemap's users will be happy to know that someone is taking care of them.
https://github.com/matplotlib/basemap/issues/568#issuecomment-1331235348
-
Hei Ruth. #Basemap is now deprecated, not maintained anymore, and everyone is advised to use #cartopy.
For example see: https://matplotlib.org/basemap/users/intro.html#deprecation-notice
-
Today, I stumbled upon a #python / #pyresample tutorial I had made for @oceanographer 's #earthpy back in 2013 😄 . These were my early #python and #notebook days...
It seems quite valid today, except for the py2.7 syntax and the use of Basemap.
Should I post an update with #cartopy and #py3 ?
http://earthpy.org/interpolation_between_grids_with_pyresample.html
-
If this is made with #cartopy, this #python notebook about how to plot the ice sheets and shelves around #Antarctica might be of interest.
https://github.com/TomLav/snippets/blob/main/Cartopy%20Ice%20Sheet%20and%20Shelves.ipynb
-
#30DayMapChallenge day 23 - movement (update).
After having gone through all of my maps and code again to reformat my github repo, I discovered I actually could use #cartopy after all. For some reason it wont install in my #conda environment but I did get it to work on day 9 using #mambaforge.
When I switched my day 23 kernel to mambaforge it worked perfectly so I'm now able to share the finalised verson of that day's #map.
-
#30DayMapChallenge day 23 - movement
Map depicts global flightpaths.
This didn't quite go to plan as I'm still having issues installing #cartopy and I'm yet to figure out an alternative method of manipulating #shapely linestrings so that they take the curvature of the earth into consideration. I'm marking this one a work in progress, hopefully I'll be able to share a finished version before the end of the challenge 🤞
-
@FractalEcho: Depends on whether you're looking for low or no-code, but Cartopy is a pretty solid simple tool - I think it span out from the UK Met Office iirc. Simple to build into an in-house tool, not sure about its scalability however.
-
Neu in meinem Wiki: Cartopy
#Cartopy ist ein freies (LGPL) #Python-Paket, das für die Verarbeitung von Geodaten entwickelt wurde, um Karten und andere geospatiale Datenanalysen zu erstellen. Cartopy nutzt die leistungsstarken Bibliotheken PROJ.4, NumPy und Shapely und basiert auf Matplotlib, um Karten in Publikationsqualität zu erstellen. http://blog.schockwellenreiter.de/2020/05/2020051303.html #Kartographie #GeoData