LAURA GLASTRA
  • Home
  • Education
  • Science Communication
  • Research Experience
  • Extracurriculars
  • Contact

Science Communication

How to install ccplot on MacOS (BigSur 11.0.1)

4/12/2020

0 Comments

 
I found ccplot extremely difficult to properly install. I believe this method allows you to do so, though I still find errors when running ccplot command-line prompts as well as when running Python files with a ccplot.hdf import.  The order below is what allowed me to install the toolkit in a virtual environment. See the previous post on installing basemap for how to create a virtual environment as well as how to install basemap. 

Proceed below if you have Python >= 3.8 and Anaconda installed, and you are working in an activated virtual environment. 
  1. Install numpy, matplotlib, cython, and basemap in this order as directed in previous post.
  2. Install pytz
    1. conda install -c anaconda pytz
  3. Download ccplot-1.5.4 from ccplot webpage and add to your virtual environment directory
  4. In your command line, run the following
    1. cd ccplot-1.5.4
    2. python setup.py build
    3. python setup.py install
  5. Check that ccplot successfully installed by running the following (it should print out the working version and license information for ccplot)
    1. ccplot -V
0 Comments



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    December 2020
    November 2020

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
  • Education
  • Science Communication
  • Research Experience
  • Extracurriculars
  • Contact