Skip to Content.

mget-help - RE: [mget-help] detecting sst fronts

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


RE: [mget-help] detecting sst fronts


Chronological Thread 
  • From: Jason Roberts <>
  • To: "" <>
  • Cc: "" <>
  • Subject: RE: [mget-help] detecting sst fronts
  • Date: Wed, 15 Nov 2017 19:00:10 +0000
  • Accept-language: en-US
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi William,

Thanks for your interest in MGET. I can help you with this problem.

MGET is designed mainly as a toolbox for ArcGIS Desktop (although it is
possible to install and use some of it directly from Python without ArcGIS).
ArcGIS installs Python and a bunch of Python packages, including numpy.
Because of that, our primary compatibility target is with the versions of
Python and associated packages that ArcGIS installs.

ArcGIS 10.4 installs Python 2.7.10 and numpy 1.9.2. MGET is compatible with
those. The latest released version of ArcGIS, version 10.5, includes numpy
1.9.3, which MGET is also compatible with. We typically only update MGET's
numpy compatibility when a new version of ArcGIS comes out. Updating it is
complicated because we have to rebuild not only MGET but various other Python
packages that MGET ships with that invoke numpy through its binary interface
(by loading a DLL and calling it directly) rather than its Python API.
Historically, numpy's binary interface has not changed frequently but when it
has, programs that used it must be recompiled or they would crash when they
tried to call the new version using the old interface.

We have occasionally updated MGET to use a newer version of numpy than ArcGIS
supports. MGET currently supports numpy 1.11.2 but not 1.12.0. I would
imagine ArcGIS 10.6 will support a newer version than 1.9.3, and probably a
newer version than 1.11.2, which was released in October 2016. If so, we will
definitely update MGET at that time to that newer version of numpy.

If you are running numpy 1.12.0, it sounds like you installed numpy yourself,
and possibly even Python 2.7 yourself. This is generally not recommended for
users who run ArcGIS, because some of ArcGIS's own tools may require specific
versions of specific Python packages be installed (such as numpy). I do not
have a specific problem to cite, but in any case, it should not be necessary
to install Python or numpy yourself if you have installed ArcGIS already.

If you are a seasoned Python user, you may have need of newer versions than
ArcGIS provides. In this case, it is possible to try to use your own Python
installation in a way that minimizes breakage to ArcGIS tools that rely on
Python. The principal adjustment is to configure sys.path such that ArcGIS's
own Python modules can be imported by your Python installation. You should
also be aware that MGET is only supported on 32-bit Python, at present.

If you are not a seasoned Python user, then probably you installed Python and
numpy yourself because that's what you thought you needed to do. Apologies if
MGET's instructions led you astray in this way. The appropriate action here
is usually to restore the machine to the state that ArcGIS expects. I would
not recommend immediately uninstalling the Python or numpy that you installed
after you receive my reply here. It can be more complicated than doing just
that, and would be better to wait for more details (which I can provide).

I can provide more detailed instructions for either scenario. Just let me
know how numpy 1.12.0 came to be installed and any other Python-related
concerns, and how you'd like to proceed.

Best,
Jason

-----Original Message-----
From:
[] On Behalf Of
Sent: Wednesday, November 15, 2017 12:30 PM
To:
Subject: [mget-help] detecting sst fronts

Sir:

I have successfully downloaded your tools and put them into the toolbox and
they are accessible from within arcgis 10.4 on my computer.

I was going through your power point slides and trying to find the tools
mentioned in the slides and if possible run a case from within arcgis. I
filled in the boxes in the Find Cayula-Cornillon Fronts ... tool and it began
to import but then i got an error: Failed to execute. I investigated and it
was a "Software not installed error" the message stated: "This tool requires
the Python numpy module. Version 1.12.0 of numpy is installed but that
version is not currently supported by this tool. Please remove and install a
supported version."

So my question is what version of numpy is required? It seems like the
information on line about MGET is not current, and therefore leads me to
think that it is possible that MGET wants an older numpy version? If that is
so, I am adverse to somehow removing the current numpy and replacing it with
an older version. Or should i reinstall Python 2.7 and hope to get an updated
version that will work.

This is kind of important. We would like to possibly use some of your tools
to aid in the search for illegal fishing vessels worldwide.
Presently I am at the bottom of the learning curve at what you offer, so am
kind of at sea, pardon the pun, about what to do.

William Jameson
Jove Sciences, Inc.




Archive powered by MHonArc 2.6.19.

Top of Page