Commit 895288f3 authored by Jonny Schäfer's avatar Jonny Schäfer
Browse files

Fix example in documentation

parent d9f8decb
...@@ -51,9 +51,9 @@ import ( ...@@ -51,9 +51,9 @@ import (
// coordinate system of the composite by using the translation method: // coordinate system of the composite by using the translation method:
// x, y := c.Translate(52.51861, 13.40833) // Berlin (lat, lon) // x, y := c.Translate(52.51861, 13.40833) // Berlin (lat, lon)
// //
// rvp := c.At(x, y) // Raw value (rvp-6) // rvp := c.At(int(x), int(y)) // Raw value (rvp-6)
// dbz := rvp.ToDBZ() // Cloud reflectivity (dBZ) // dbz := rvp.ToDBZ() // Cloud reflectivity (dBZ)
// rat := dbz.PrecipitationRate() // Rainfall rate (mm/h) // rat := dbz.PrecipitationRate(radolan.Doelling98) // Rainfall rate (mm/h) using Doelling98 as Z-R relationship
// //
// fmt.Println("Rainfall in Berlin [mm/h]:", rat) // fmt.Println("Rainfall in Berlin [mm/h]:", rat)
// //
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment