Hi,
I have 2 rasters in 2 differents locations. I need to use the raster calculator in arcpy like below:
Float(input_biomassa - std_tif)
I was exported the code from Model Builder, but no work properly.
Someone can help me?
Thank´s
Float("input_biomassa" - "std_tif"), "negativo_tif")
would be the case in Pro... the raster names are in " " not as you have it
I´m using Arcmap, below the code:
arcpy.gp.RasterCalculator_sa("Float(input_biomassa - std_tif)", negativo_tif)
I was tried your suggests already, but no work too.
showing the modelbuilder export code would help
otherwise look at
Plus (Spatial Analyst)—ArcGIS Pro | Documentation
Int (Spatial Analyst)—ArcGIS Pro | Documentation
paying attention to cell cize,alignment and extent if you want expected results
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.