gina-alaska / wildfire-exposure-toolbox

Repository for GINA/ISER ArcGIS Wildfire Exposure Python Toolbox
https://alaskanrm.com/wildfire-exposure/
GNU General Public License v3.0
0 stars 0 forks source link

Geodatabase Output Naming Issue #6

Open hrchapmandutton opened 1 month ago

hrchapmandutton commented 1 month ago

When you only do the first step, and only the first time you run the tool after starting up ArcPro, the Output Hazardous Veg Raster outputs two rasters named "Reclass_ABoV1". The data is correct for the 100m and 500m, but it doesn't use the names you type in. If you run the whole tool, the naming works fine. And after you've run the whole tool once, running just the first section alone works fine with the names you input. But if you've only done the first step 3 times, you keep getting the autofill raster names. However, when you actually save the output (clicking the file icon and typing a name in there), it's fine.

The Reclass_ABoV1 name isn't in the code anywhere, so I guess it's arc just auto-filling when it can't find a name. That would be fine if it gave the two files different names so you didn't have to guess which was 100m vs 500m.

ojlarson commented 1 month ago

There's a potential bug in the arcpy reclassify tool that is affecting this - needs more investigating. In the short term, I will put a message about this in the readme under a 'Known Issues' header