Unable to save clipped image to portal

167
0
04-05-2021 03:36 AM
MariamJamilah
New Contributor II

Hello!

While executing the mentioned notebook ( https://developers.arcgis.com/python/sample-notebooks/detecting-settlements-using-supervised-classif... ), I tried to save the clipped image (saharanpur_clip) using the syntax: 

saharanpur_clip.save("SaharanpurLIClip_3")

Though this creates an item in the portal, the size remains 0kb and I am also unable to open and view it. I have tried using the pythonapi.playground portal with the provided credentials as well as my organization's portal (with admin rights) but I continue to face the same issue. Please refer below for the GIS constructors used.

gis = GIS(url='https://pythonapi.playground.esri.com/portal', username='arcgis_python', password='amazing_arcgis_123')

gis = GIS(url='url', username='name', password='***', verify_cert=False)

Please refer images attached.

 

 

Tags (3)
0 Kudos
0 Replies