Validation results ITU-R P.839-4¶
This page contains the validation examples for Recommendation ITU-R P.839-4: Rain height model for prediction methods.
All test cases were extracted from the ITU Validation examples file (rev 5.1).
Functions tested
Function isoterm_0¶
The table below contains the results of testing function isoterm_0
.
The test cases were extracted from spreadsheet ITURP839-4_rain_height.csv
from the
ITU Validation examples file (rev 5.1).
In addition to the input-arguments, expected result (ITU Validation
), and
ITU-Rpy computed result (ITUR-py Result
), the absolute and relative errors
are shown. Each test case is color-coded depending on the magnitude of the
errors (green = pass, errors are negligible, red = fail, relative error is
above 0.01%).
In addition, the code snippet below shows an example of how to generate the first row of the results in the table:
import itur
# Define input attributes
lat = 3.133 # (°N)
lon = 101.7 # (°E)
# Make call to test-function isoterm_0
itur_val = itur.models.itu839.isoterm_0(lat=lat, lon=lon)
# Compute error with respect to value in ITU example file
ITU_example_val = 4.5979744 # (km)
error = ITU_example_val - itur_val.value
error_rel = error / ITU_example_val * 100 # (%)
ITU-Rpy Function | lat (°N) | lon (°E) | ITU Validation (km) | ITU-Rpy Result (km) | Absolute Error | Relative Error |
---|---|---|---|---|---|---|
models.itu839.isoterm_0 | 3.133 | 101.70 | 4.597974 | 4.597974 | 8.88e-16 | 0.000 |
models.itu839.isoterm_0 | 22.900 | -43.23 | 3.798779 | 3.798779 | 3.33e-09 | 0.000 |
models.itu839.isoterm_0 | 23.000 | 30.00 | 4.168000 | 4.168000 | 0.00e+00 | 0.000 |
models.itu839.isoterm_0 | 25.780 | -80.22 | 4.209461 | 4.209461 | -3.33e-09 | -0.000 |
models.itu839.isoterm_0 | 28.717 | 77.30 | 4.898204 | 4.898204 | -4.44e-09 | -0.000 |
models.itu839.isoterm_0 | 33.940 | 18.43 | 2.203303 | 2.203303 | 4.44e-09 | 0.000 |
models.itu839.isoterm_0 | 41.900 | 12.49 | 2.687493 | 2.687493 | -3.33e-09 | -0.000 |
models.itu839.isoterm_0 | 51.500 | -0.14 | 2.092733 | 2.092733 | -3.33e-09 | -0.000 |
Function rain_height¶
The table below contains the results of testing function rain_height
.
The test cases were extracted from spreadsheet ITURP839-4_rain_height.csv
from the
ITU Validation examples file (rev 5.1).
In addition to the input-arguments, expected result (ITU Validation
), and
ITU-Rpy computed result (ITUR-py Result
), the absolute and relative errors
are shown. Each test case is color-coded depending on the magnitude of the
errors (green = pass, errors are negligible, red = fail, relative error is
above 0.01%).
In addition, the code snippet below shows an example of how to generate the first row of the results in the table:
import itur
# Define input attributes
lat = 3.133 # (°N)
lon = 101.7 # (°E)
# Make call to test-function rain_height
itur_val = itur.models.itu839.rain_height(lat=lat, lon=lon)
# Compute error with respect to value in ITU example file
ITU_example_val = 4.9579744 # (km)
error = ITU_example_val - itur_val.value
error_rel = error / ITU_example_val * 100 # (%)
ITU-Rpy Function | lat (°N) | lon (°E) | ITU Validation (km) | ITU-Rpy Result (km) | Absolute Error | Relative Error |
---|---|---|---|---|---|---|
models.itu839.rain_height | 3.133 | 101.70 | 4.957974 | 4.957974 | 8.88e-16 | 0.000 |
models.itu839.rain_height | 22.900 | -43.23 | 4.158779 | 4.158779 | 3.33e-09 | 0.000 |
models.itu839.rain_height | 23.000 | 30.00 | 4.528000 | 4.528000 | -8.88e-16 | -0.000 |
models.itu839.rain_height | 25.780 | -80.22 | 4.569461 | 4.569461 | -3.33e-09 | -0.000 |
models.itu839.rain_height | 28.717 | 77.30 | 5.258204 | 5.258204 | -4.44e-09 | -0.000 |
models.itu839.rain_height | 33.940 | 18.43 | 2.563303 | 2.563303 | 4.44e-09 | 0.000 |
models.itu839.rain_height | 41.900 | 12.49 | 3.047493 | 3.047493 | -3.33e-09 | -0.000 |
models.itu839.rain_height | 51.500 | -0.14 | 2.452733 | 2.452733 | -3.33e-09 | -0.000 |