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

go fmt

parent fa7278e1
...@@ -46,7 +46,7 @@ func PrecipitationRate(relation ZR, dBZ float32) (rate float64) { ...@@ -46,7 +46,7 @@ func PrecipitationRate(relation ZR, dBZ float32) (rate float64) {
// Reflectivity returns the estimated reflectivity factor for the given precipitation // Reflectivity returns the estimated reflectivity factor for the given precipitation
// rate (mm/h) and Z-R relationship. // rate (mm/h) and Z-R relationship.
func Reflectivity(relation ZR, rate float64) (dBZ float32) { func Reflectivity(relation ZR, rate float64) (dBZ float32) {
return float32(relation.c4 + relation.c1 * math.Log10(rate)) return float32(relation.c4 + relation.c1*math.Log10(rate))
} }
// toDBZ converts the given radar video processor values (rvp-6) to radar reflectivity // toDBZ converts the given radar video processor values (rvp-6) to radar reflectivity
......
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