Unfortunately, my frustration with these changes stems from the the .save function. In my script when I hit that particular line it blows up PyWin and my error traps fail to document why.
Unfortunately, my frustration with these changes stems from the the .save function. In my script when I hit that particular line it blows up PyWin and my error traps fail to document why. It makes it hard to debug the script when there is nothing to work from. I have an "if" decision statement prior to my save I'm wondering if that may be my issue. Maybe, the process dumps the temp raster when the if runs and it's just not available when my .save statement is run.
and it does not create my raster as I've predefined it, it creates one called divid_ras in my workspace (snip)Is it possible to have V10 just do what I ask? create my rasters the way I define them, when the process runs and not create it's own names?
base_max = Con(base_euc3, div, base_euc3, "VALUE < 1") base_max.save("mygridname")
but not until I run my next statement
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.