gtkfi / ArcSDM

Spatial Data Modeler 6 for ArcGIS Pro
32 stars 18 forks source link

ROC tool fail #121

Closed letter1225 closed 4 years ago

letter1225 commented 5 years ago

When I tried to calculate ROC curve and AUC value with ARCSDM on ARCMAP10.2, it reported "fail to execute ROC tool", as shown in the following.

**Traceback (most recent call last): File "", line 735, in execute File "E:\ARCSDM\arcsdm\roctool.py", line 56, in execute if not SpatialReferencesAreEqual(positives_sref, raster_sref, messages): File "E:\ARCSDM\arcsdm\roctool.py", line 376, in SpatialReferencesAreEqual if sref1.latitudeOfOrigin != sref2.latitudeOfOrigin: AttributeError: SpatialReference: Get attribute latitudeOfOrigin does not exist

Failed to execute (ROCTool). Failed at Tue Jun 18 11:38:33 2019 (Elapsed Time: 0.20 seconds)**

image

letter1225 commented 5 years ago

What's the probable reason and how can I fix it?

trotor commented 5 years ago

It is quite possible that it doesn't work on 10.2. Do you have possibility to upgrade to newer version?

On Tue, Jun 18, 2019 at 6:50 AM letter1225 notifications@github.com wrote:

When I tried to calculate ROC curve and AUC value with ARCSDM on ARCMAP10.2, it reported "fail to execute ROC tool", as shown in the following screenshot. [image: QQ截图20190618114311] https://user-images.githubusercontent.com/29188553/59652188-3d048c00-91bf-11e9-8c55-708adafc407a.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gtkfi/ArcSDM/issues/121?email_source=notifications&email_token=ACSXS6PFTUAHCY3QHBE7TITP3BLQDA5CNFSM4HY4BOF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2BBEIQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACSXS6PB6K32K3W5PZXVEGTP3BLQDANCNFSM4HY4BOFQ .

letter1225 commented 5 years ago

I have also tried on 10.3 and 10.5, then encountered with the license issue, as I have described in the other issue. But it worked well on 10.2 when I deleted the line of code checking the latitude of origin.

trotor commented 5 years ago

Ok, I will forward this message to Kimmo about the necessity of that check.

artolaiho commented 4 years ago

Load the newest version of ArcSDM (V5.02) and test again. If the problem persists, reopen this issue.