Skip to content

Commit 2d46427

Browse files
Markus WaldmannMarkus Waldmann
authored andcommitted
Renamed CloudStates to Clouds
moved ENUM CloudStateLevel into message definition to fulfill Interface Conventions Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
1 parent 72f0ce0 commit 2d46427

File tree

1 file changed

+77
-78
lines changed

1 file changed

+77
-78
lines changed

osi_environment.proto

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

108-
// Definition of cloud states and the skybox.
108+
// Definition of clouds.
109109
//
110-
optional CloudState cloud_state = 10;
110+
optional Clouds clouds = 10;
111111

112112
// Definition of the Sun.
113113
//
@@ -355,80 +355,6 @@ message EnvironmentalConditions
355355
optional double speed = 2;
356356
}
357357

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

477-
478403
//
479404
// \brief Specification of the cloud states
480405
//
481406
// \note within this message there is the cloud state level
482407
//
483-
message CloudState
408+
message Clouds
484409
{
485410
optional CloudStateLevel cloud_state_level = 1;
411+
412+
// Definition of the cloud state, i.e. cloud state and sky visualization settings.
413+
//
414+
// The total degree of coverage indicates how large the part of the sky vault is which is covered
415+
// with clouds altogether. It is given in eighths, because this division is easier to estimate
416+
// for the observer. 0 eighths means that there are no traces of clouds in the sky,
417+
// 4 eighths means that the sky is covered with clouds up to half, 8 eighths means that the sky is
418+
// completely covered with clouds and no sky blue can be recognized.
419+
//
420+
// For cloud determination, the observer will choose a location from which he can overlook the entire sky.
421+
// When determining the total cloud cover, all clouds or parts of clouds, regardless of height and genus,
422+
// that are above his location will be added. Aircraft contrails are also counted as cloud cover if they remain
423+
// in the sky for more than 15 minutes. On the other hand, fog is not counted as cloud cover.
424+
//
425+
// With a little practice, the observer can easily determine the total amount of cloud cover.
426+
// Problems occur only with scattered clouds or many single clouds (cumulus).
427+
// Their cloud cover is often overestimated. On the other hand,
428+
// the coverage of thin ice clouds (cirrus) is often underestimated.[3]
429+
//
430+
// \par References:
431+
// [1] ISO 15469:2004(E) / CIE S 011/E:2003 : Spatial distribution of skylight
432+
// [2] https://de.wikipedia.org/wiki/Bewölkung
433+
// [3] https://www.dwd.de/DE/service/lexikon/Functions/glossar.html?lv2=100932&lv3=101016
434+
//
435+
enum CloudStateLevel
436+
{
437+
// Cloud State is unknown (must not be used in ground truth).
438+
//
439+
CLOUD_STATE_UNKNOWN = 0;
440+
441+
// Other (unspecified but known) CloudState.
442+
//
443+
CLOUD_STATE_OTHER = 1;
444+
445+
// Cloudless (0/8)
446+
//
447+
CLOUD_STATE_CLOUDLESS = 2;
448+
449+
// Sunny (1/8)
450+
//
451+
CLOUD_STATE_SUNNY = 3;
452+
453+
// Serene (2/8))
454+
//
455+
CLOUD_STATE_SERENE = 4;
456+
457+
// Slightly Cloudy (3/8)
458+
//
459+
CLOUD_STATE_SLIGHTLY_CLOUDY = 5;
460+
461+
// Light Cloudy (4/8)
462+
//
463+
CLOUD_STATE_LIGHT_CLOUDY = 6;
464+
465+
// Cloudy (5/8)
466+
//
467+
CLOUD_STATE_CLOUDY = 7;
468+
469+
// Heavy Cloudy (6/8)
470+
//
471+
CLOUD_STATE_HEAVY_CLOUDY = 8;
472+
473+
// Almost Covered (7/8)
474+
//
475+
CLOUD_STATE_ALMOST_COVERED = 9;
476+
477+
// Covered (8/8)
478+
//
479+
CLOUD_STATE_COVERED = 10;
480+
481+
// No Sky
482+
//
483+
CLOUD_STATE_NO_SKY = 11;
484+
}
486485
}
487486
}

0 commit comments

Comments
 (0)