home.social

#cartopy — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cartopy, aggregated by home.social.

  1. #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: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron

  2. 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.

    matplotlib.org/basemap/stable/

    Python has now once again two major map-plotting libraries: #basemap and #cartopy.

  3. @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.

  4. #ICYMI

    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).

    fediscience.org/@lavergnetho/1

  5. @ruthpozuelo

    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.

  6. 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 ?

    earthpy.org/interpolation_betw

  7. 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 ?

    earthpy.org/interpolation_betw

  8. 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 ?

    earthpy.org/interpolation_betw

  9. 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 ?

    earthpy.org/interpolation_betw

  10. 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 ?

    earthpy.org/interpolation_betw

  11. #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.

    #DataScience #DataVisualisation #datadon #python