From 895288f3dfe099f2857ef3d0078503586be46998 Mon Sep 17 00:00:00 2001 From: Since <ax20yhum@cip.cs.fau.de> Date: Thu, 4 May 2017 18:09:00 +0200 Subject: [PATCH] Fix example in documentation --- radolan.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radolan.go b/radolan.go index ccc8339..3d39c18 100644 --- a/radolan.go +++ b/radolan.go @@ -51,9 +51,9 @@ import ( // coordinate system of the composite by using the translation method: // x, y := c.Translate(52.51861, 13.40833) // Berlin (lat, lon) // -// rvp := c.At(x, y) // Raw value (rvp-6) -// dbz := rvp.ToDBZ() // Cloud reflectivity (dBZ) -// rat := dbz.PrecipitationRate() // Rainfall rate (mm/h) +// rvp := c.At(int(x), int(y)) // Raw value (rvp-6) +// dbz := rvp.ToDBZ() // Cloud reflectivity (dBZ) +// rat := dbz.PrecipitationRate(radolan.Doelling98) // Rainfall rate (mm/h) using Doelling98 as Z-R relationship // // fmt.Println("Rainfall in Berlin [mm/h]:", rat) // -- GitLab