[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #DGC-337873]: Run MetPy on Google Colab?



Greetings!

Thanks for sharing the colab link, that's made it really easy to test. It 
appears that the version of cartopy included on the version of Linux running 
colab is really out of date:

  Cartopy                       0.14.2

Now it would be nice if MetPy didn't fail there since you're not using CartoPy, 
but that's not something we can readily solve to get you up and running. I got 
it to work using the following in the first cell:

    !pip install metpy
    !apt-get -qq install libproj-dev libgeos-dev
    !pip install shapely --no-binary shapely cartopy

Hope this helps,

Ryan

> Hi,
> 
> Thanks for getting back to me!  Here is a shared link of the commands I 
> tested on Google Colab with output.  Unfortunately, the MetPy version is 
> MetPy 0.12.2, and an update of MetPy version will not work.
> https://colab.research.google.com/drive/1cekuzhIBIKmGQd02eNoZT1PkfxM8kKFb?usp=sharing
> 
> I have also attached a ipynb file of the code if that helps.


Ticket Details
===================
Ticket ID: DGC-337873
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.