skip to main | skip to sidebar

JParkCodes

JParkCodes is an expedient for me to disseminate information about computer codes used by the Yale University Seismology Group. Click titles of most blogposts to see Google Drive directory JParkCodes, where the codes and shell scripts reside in the cloud. It will take me some time to post useful code for folks in Yale and colleagues worldwide. Send email with queries, and add comments to posted programs and shell-scripts to flag bugs and suggest improvements.

Thursday, February 16, 2023

Converting Basemap to Cartopy within ObsPy Jupyter Notebooks

 So far my trick is to replace the statement 

from mpl_toolkits.basemap import Basemap

with

import cartopy.crs as ccrs

and this seems to work in the first notebook I tried  (QLove notebook for SNZO)
Posted by Fearless Leader at 1:37 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2025 (5)
    • ►  May (1)
    • ►  February (3)
    • ►  January (1)
  • ►  2024 (3)
    • ►  November (1)
    • ►  May (2)
  • ▼  2023 (10)
    • ►  June (4)
    • ►  May (3)
    • ▼  February (3)
      • Converting Basemap to Cartopy within ObsPy Jupyter...
      • Upgrading the Python Version within Anaconda
      • Updating Anaconda Navigator from Version 1.x to V...
  • ►  2020 (8)
    • ►  August (1)
    • ►  July (3)
    • ►  June (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2018 (1)
    • ►  June (1)
  • ►  2017 (5)
    • ►  September (3)
    • ►  August (2)
  • ►  2016 (2)
    • ►  October (1)
    • ►  June (1)
  • ►  2015 (16)
    • ►  December (1)
    • ►  July (15)
  • ►  2014 (1)
    • ►  August (1)
  • ►  2012 (1)
    • ►  July (1)
  • ►  2011 (6)
    • ►  June (6)
  • ►  2009 (10)
    • ►  November (4)
    • ►  October (6)
  • ►  2008 (8)
    • ►  August (2)
    • ►  July (3)
    • ►  May (2)
    • ►  March (1)
  • ►  2007 (44)
    • ►  December (10)
    • ►  August (18)
    • ►  July (16)

About Me

Fearless Leader
View my complete profile
 
Link