Created
May 22, 2013 09:12
-
-
Save TakashiUNUMA/5626287 to your computer and use it in GitHub Desktop.
Calculate reflected intensity [dBZ] by the use of Z-R relationship.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Calculate reflected intensity [dBZ] by the use of Z-R relationship. | |
# original script coded by Takashi Unuma, Kyoto Univ. | |
# | |
# ----- | |
# Z = A * R^b | |
# where, A = 200, b=1.6 | |
# | |
for rain_rate in $(seq 300) ; do | |
echo "${rain_rate}" | awk '{print $1/10,10*log(200.0*($1/10)**(1.6))/log(10)}' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment