Select to view content in your preferred language

Set temperature model (raster) to logarithmic scale

186
2
a week ago
Labels (1)
GIS_User_1996
Emerging Contributor

Hi everyone, 

I have a temperature model as a raster from 40°C to 160°C, which I want to normalize between 1 and 10. However from 40°C to 100°C it should be a linear scale and from 100°C to 160°C it should be a logarithmic scale. 

Does anyone know a tool or method in ArcGIS Pro to calculate the case above?

Thanks a lot in advance!

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Con should enable this since it is just a conditional evaluation

Conditional evaluation with Con—ArcGIS Pro | Documentation

Con (Spatial Analyst)—ArcGIS Pro | Documentation

OutRas = Con(InRas <= 100, InRas, Log10(InRas))

base 10 log as an example

Log10 (Spatial Analyst)—ArcGIS Pro | Documentation

to normalize it in the < 100 range

OutRas = Con(InRas <= 100, InRas/100, Log10(InRas))


... sort of retired...
0 Kudos
RTPL_AU
Honored Contributor

@DanPatterson  Have you considered retiring a bit less and writing a book, or even just dropping all your posts into a GitHub rep?   🙂

0 Kudos