Skip to content

Commit 49f96a4

Browse files
Redefine enum precipitation in osi_environment.proto
1 parent 8761e3a commit 49f96a4

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

osi_environment.proto

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,25 @@ message EnvironmentalConditions
2424
/// Precipitation
2525
optional Precipitation precipitation = 5;
2626

27-
/// Definition of precipitation states. See https://en.wikipedia.org/wiki/Rain#Measurement
27+
/// Definition of precipitation states.
28+
/// See GLICKMAN, Todd S.; ZENK, Walter. Glossary of meteorology. American Meteorological Society, 2000. and JEBSON, S. Fact sheet number 3: Water in the Atmosphere. 2007.
2829
enum Precipitation
2930
{
3031
/// Rain intensity is unknown (must not be used in ground truth).
3132
PRECIPITATION_RAIN_UNKNOWN = 0;
3233
/// Other (unspecified but known) rain intensity
3334
PRECIPITATION_RAIN_OTHER = 1;
34-
/// Light intensity rain, when the precipitation rate is < 2.5 mm per hour
35-
PRECIPITATION_RAIN_LIGHT = 2;
36-
/// Medium intensity rain, when the precipitation rate is between 2.5 mm and 10 mm per hour
37-
PRECIPITATION_RAIN_MEDIUM = 3;
38-
/// High intensity rain, when the precipitation rate is between 10 mm and 50 mm per hour
39-
PRECIPITATION_RAIN_HIGH = 4;
35+
/// No rain, when the precipitation rate is < 0.25 mm per hour
36+
PRECIPITATION_RAIN_NONE = 2;
37+
/// Light intensity rain, when the precipitation rate is between 0.25 mm and 2.5 mm per hour
38+
PRECIPITATION_RAIN_LIGHT = 3;
39+
/// Medium intensity rain, when the precipitation rate is between 2.5 mm and 7.6 mm per hour
40+
PRECIPITATION_RAIN_MEDIUM = 4;
41+
/// High intensity rain, when the precipitation rate is between 7.6 mm and 50 mm per hour
42+
PRECIPITATION_RAIN_HIGH = 5;
4043
/// Violent intensity rain, when the precipitation rate is > 50 mm per hour
41-
PRECIPITATION_RAIN_VIOLENT = 5;
42-
}
44+
PRECIPITATION_RAIN_VIOLENT = 6;
45+
}
4346

4447
/// Definition of ambient illumination states.
4548
enum AmbientIllumination

0 commit comments

Comments
 (0)