meaning/unit of output of r.relief

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

meaning/unit of output of r.relief

Moritz Lennert
Hello,

Does the numerical output of r.relief have a specific meaning / unit ?

Moritz

_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: meaning/unit of output of r.relief

Markus Metz-3


On Fri, Dec 21, 2018 at 11:43 AM Moritz Lennert <[hidden email]> wrote:
>
> Hello,
>
> Does the numerical output of r.relief have a specific meaning / unit ?

Looking at the code, the meaning is apparently the amount of light falling onto a given pixel. The units don't matter, the output is meant for display.

More technical: values are computed as

        /* shaded relief */
        cang = sin(altitude) * sin(slp_in_rad) +
               cos(altitude) * cos(slp_in_rad) * cos(azimuth - aspect);

Markus M


_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user