Select to view content in your preferred language

Cannot figure out SetNull in Pro

1160
2
Jump to solution
12-18-2020 11:43 AM
Labels (1)
KyleRolfson
New Contributor

Hi all, I am trying to finish a final project for a class and I cannot for the life of me figure out how to get the SetNull syntax to work properly.

I need this expression to work. It works in ArcMap's raster calculator but since SetNull moved to its own tool in Pro, I cant figure it out:

SetNull((5 – “example.tif”) < 0, 5 – “example.tif”)

I am creating a flood inundation map and need everything above 5 to be no value. 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor
2 Replies
DanPatterson
MVP Esteemed Contributor
KyleRolfson
New Contributor

Wow I must have skimmed over that a dozen time without seeing it. I think I need more sleep! Thanks.

0 Kudos