Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonny Schäfer
radolan
Commits
d8a3a528
Commit
d8a3a528
authored
Aug 19, 2018
by
Jonny Schäfer
Browse files
go fmt
parent
fa7278e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
conversion.go
View file @
d8a3a528
...
...
@@ -46,7 +46,7 @@ func PrecipitationRate(relation ZR, dBZ float32) (rate float64) {
// Reflectivity returns the estimated reflectivity factor for the given precipitation
// rate (mm/h) and Z-R relationship.
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment