Skip to content

Commit 841f509

Browse files
Markus WaldmannMarkus Waldmann
authored andcommitted
Added cloud state message
Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
1 parent be0ae54 commit 841f509

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

osi_environment.proto

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ message EnvironmentalConditions
105105
//
106106
optional Wind wind = 11;
107107

108+
// Definition of cloud states and the skybox.
109+
//
110+
optional CloudState cloud_state = 10;
111+
108112
// Definition of discretized precipitation states according to [1].
109113
// (I = Intensity of precipitation in mm per hour mm/h)
110114
//
@@ -346,4 +350,78 @@ message EnvironmentalConditions
346350
//
347351
optional double speed = 2;
348352
}
353+
354+
// Definition of the cloud state, i.e. cloud state and sky visualization settings.
355+
//
356+
// The total degree of coverage indicates how large the part of the sky vault is which is covered
357+
// with clouds altogether. It is given in eighths, because this division is easier to estimate
358+
// for the observer. 0 eighths means that there are no traces of clouds in the sky,
359+
// 4 eighths means that the sky is covered with clouds up to half, 8 eighths means that the sky is
360+
// completely covered with clouds and no sky blue can be recognized.
361+
//
362+
// For cloud determination, the observer will choose a location from which he can overlook the entire sky.
363+
// When determining the total cloud cover, all clouds or parts of clouds, regardless of height and genus,
364+
// that are above his location will be added. Aircraft contrails are also counted as cloud cover if they remain
365+
// in the sky for more than 15 minutes. On the other hand, fog is not counted as cloud cover.
366+
//
367+
// With a little practice, the observer can easily determine the total amount of cloud cover.
368+
// Problems occur only with scattered clouds or many single clouds (cumulus).
369+
// Their cloud cover is often overestimated. On the other hand,
370+
// the coverage of thin ice clouds (cirrus) is often underestimated.[3]
371+
//
372+
// \par References:
373+
// [1] ISO 15469:2004(E) / CIE S 011/E:2003 : Spatial distribution of skylight
374+
// [2] https://de.wikipedia.org/wiki/Bewölkung
375+
// [3] https://www.dwd.de/DE/service/lexikon/Functions/glossar.html?lv2=100932&lv3=101016
376+
//
377+
enum CloudState
378+
{
379+
// Cloud State is unknown (must not be used in ground truth).
380+
//
381+
CLOUD_STATE_UNKNOWN = 0;
382+
383+
// Other (unspecified but known) CloudState.
384+
//
385+
CLOUD_STATE_OTHER = 1;
386+
387+
// Cloudless (0/8)
388+
//
389+
CLOUD_STATE_CLOUDLESS = 2;
390+
391+
// Sunny (1/8)
392+
//
393+
CLOUD_STATE_SUNNY = 3;
394+
395+
// Serene (2/8))
396+
//
397+
CLOUD_STATE_SERENE = 4;
398+
399+
// Slightly Cloudy (3/8)
400+
//
401+
CLOUD_STATE_SLIGHTLYCLOUDY = 5;
402+
403+
// Light Cloudy (4/8)
404+
//
405+
CLOUD_STATE_LIGHTCLOUDY = 6;
406+
407+
// Cloudy (5/8)
408+
//
409+
CLOUD_STATE_CLOUDY = 7;
410+
411+
// Heavy Cloudy (6/8)
412+
//
413+
CLOUD_STATE_HEAVYCLOUDY = 8;
414+
415+
// Almost Covered (7/8)
416+
//
417+
CLOUD_STATE_ALMOSTCOVERED = 9;
418+
419+
// Covered (8/8)
420+
//
421+
CLOUD_STATE_COVERED = 10;
422+
423+
// No Sky
424+
//
425+
CLOUD_STATE_NOSKY = 11;
426+
}
349427
}

0 commit comments

Comments
 (0)