Is it possible to use the space-time pattern mining tools in Jupyter notebook without ArcPy?

766
2
07-26-2021 04:28 PM
Wendy
by
New Contributor

Hi! I need to run some code through my school's Cyber GIS Jupyter portal to analyze a raster dataset over time. I'm hoping to use the tools from the space-time pattern mining toolset  I used in ArcPro to analyze changes across multiple years of raster data. (Moving to Python because the Pro interface is ridiculously slow using these tools) I know ideally I would be using an Image Server through Portal, but it will apparently take several months for the school to finish building it.

I am able to import the arcgis python package, but I don't see the pattern mining tools anywhere. I'm wondering if there are either:

1) pattern mining tools compatible with the arcgis python package. If there are, could someone direct me to them, because I've been searching and can't find them.

-OR-

2) If anyone could share how to install arcpy to Jupyter via Jupyter? I've uploaded arcpy  (which I downloaded here: https://anaconda.org/Esri/arcpy) and unzipped it, but nothing seems to be working. The following errors occur when I try to install using conda. If I could get it installed I could potentially use virtualenv to build an environment with compatible packages, but am hopeful that someone has a simpler solution. (Aside from not using Arc, which is what my CS prof is voting for, but I have a whole workflow in ArcPro that I'd love to be able to use.)

Wendy_0-1627341887434.png

 

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

A little Windows Explorer will lead you to the toolbox location

C:\..your_install_folder..\Resources\ArcToolBox\toolboxes\Space Time Pattern Mining Tools.tbx

import arcpy

is common, and when you import arcpy a valid license for arcgis pro is checked on the local machine (in the case of local machine install... principle is the same for other situations)

The scripts are located in the...

C:\..your_install_folder..\Resources\ArcToolBox\Scripts

So arcpy is needed.. just have a look at SSCube.py

Arcpy can be installed but it has python requirements and environment requirements, which you can explore on your local machine.  So skipping arcpy is not in the plan at least which narrows your possible options.


... sort of retired...
0 Kudos
DanPatterson
MVP Esteemed Contributor

resolved?


... sort of retired...
0 Kudos