Questions tagged [scitools]

SciTools is a Python package containing many useful tools for scientific computing in Python. The package is built on top of other widely used packages such as NumPy, SciPy, ScientificPython, Matplotlib, Gnuplot, etc.

26 questions
12
votes
3 answers

Jupyter: install new modules

I have recently installed Anaconda with Python 3.5 and all the rest. I come from R where I am used to install packages dynamically. I am trying to install a module called scitools through jupyter notebook. I would like to recreate this in jupyter.…
Johnathan
  • 1,877
  • 4
  • 23
  • 29
7
votes
2 answers

How to easily add a sub_axes with proper position and size in matplotlib and cartopy?

I want to add a 2nd axes at the top right corner of a 1st axes. After googling, I found two ways to do things like this: fig.add_axes(), and mpl_toolkits.axes_grid.inset_locator.inset_axes. But the fig.add_axes() doesn't accept transform arg. So the…
gepcel
  • 1,326
  • 11
  • 21
4
votes
0 answers

error when importing cartopy: ModuleNotFoundError: No module named 'cartopy._crs'

I am trying to import the cartorpy package (version -0.18.0) for python and keep running into problems. from cartopy import config import cartopy.crs as ccrs I get the error: Traceback (most recent call last): File…
Holly
  • 41
  • 2
4
votes
1 answer

Is there any way to create an Understand (from Scitools) DB within a python script?

I am in the process of writing a python script to determine projects that reference a given project and have come across Understand from Scitools. After research on the Understands Python API it appears that I need to “open” a DB in order to execute…
jshaf
  • 309
  • 1
  • 18
4
votes
1 answer

python shell stuck on exit

Python doesn't exit if I have imported two libraries in a certain order. I'm using the python libraries scitools and fenicstools. In the python shell, the following will work: import fenicstools import scitools exit() This won't exit but hang…
gallomania
  • 41
  • 3
3
votes
2 answers

Python: how to get different versions of python to access the same modules?

I use a mac, and I have two versions of python (2.7 and 3.5). I installed scitools using pip and import from scitools import * works with 2.7 but not 3.5. I was wondering if it's because of links or something. I have included a screenshot. Thank…
Johnathan
  • 1,877
  • 4
  • 23
  • 29
2
votes
2 answers

How can I configure scitools.std in mac?

I tried to do this in my terminal: pip install --user -e \ git+https://github.com/hplgit/scitools.git#egg=scitools But it failed with an error: -bash: git+https://github.com/hplgit/scitools.git#egg=scitools: No such file or directory
Mario Caka
  • 21
  • 3
2
votes
1 answer

How to calculate CBO and LCOM for a class using Python and SciTools Understand API

In Python, how can I calculate LCOM (lack of cohesion) for C++ files (or any other file types) using SciTools Understand API? For an assignment, we're asked to calculate LCOM ourselves instead of using SciTools's Understand. To calculate LCOM4, I…
Spiky
  • 408
  • 1
  • 4
  • 11
1
vote
0 answers

Scitools3 gives a module not found from import statement

According to https://pypi.org/project/scitools3/ importing the module as from scitools.std import * should work, but it gives me an error saying ModuleNotFoundError: No module named 'scitools.std'. I've looked everywhere for a solution and can't…
1
vote
1 answer

How can I create several butterfly diagrams at once in Understand?

Background In the "Show Graphic Views" menu of Understand, there is the option to create a butterfly graph, for one specific entity as seen below: In addition, there is the und command as well. This command has the capability of running commands in…
isakbob
  • 1,439
  • 2
  • 17
  • 39
1
vote
1 answer

Reprojecting GOES16 Satellite Data with Cartopy and Pyproj

I'm trying to reproject GOES16 Full Disk imagery using cartopy or pyproj. I'd like to get it into a different projection. For this example, I try to reproject it to Mercator. However, when I run the code I get a full globe image of the data not in…
James
  • 149
  • 1
  • 10
1
vote
1 answer

Cannot import scitools using Anaconda-Python

I am trying to install scitools with the hope of being able to use Easyviz. I installed scitools for windows as suggested in the first link. However, when I type from scitools.std import * into python I get the following error message: ImportError:…
Sophie
  • 113
  • 10
1
vote
1 answer

Trying to install a Scitools Python pkg via 'pip install' but getting error

I use the Anaconda distribution of python and am trying to install an unsupported package 'scitools.' I tried pip install but got the error as seen in the picture below. I keep getting an error. Any clue what I am doing wrong?
mlo
  • 657
  • 2
  • 8
  • 11
0
votes
1 answer

How to execute Scitools Understand commands from python

I want to execute Scitools Understand commands from python. It has its own shell which can be run using $ ./und and switches to und>. I want to run its commands from python. Any idea how can I do that?
0
votes
1 answer

Can you download SciTools Iris package on google colab?

I am trying to download the SciTools Iris package in Google Colab. I first use pip install, like so: !pip install scitools-iris And then import iris with: import iris however, this returns the error message: ERROR:root:An unexpected error occurred…
USer555
  • 81
  • 7
1
2