Roland Winklmeier
2616f94f2d
Define precipitation rate default unit to mm/h
...
There was a misalignment in precipitation rate units across the code.
GFS values are in kg m-2 s-1 which is equal to mm/s, but the default
unit seems to be mm/h in many weather documents.
2017-02-24 00:09:22 +00:00
Roland Winklmeier
f75a9ac476
Slightly adapt the cloud coverage conversion
...
refs #851
2017-02-24 00:09:20 +00:00
Mathew Sutcliffe
bbdbd26f82
refs #815 Throw CJsonException when required JSON objects are not found.
2017-01-10 23:46:33 +00:00
Mathew Sutcliffe
6bfbaefdc8
CFileLogger: group messages by category.
2016-12-13 19:01:58 +01:00
Klaus Basan
fc65deb778
Just typos and formatting
2016-12-06 09:34:15 +01:00
Roland Winklmeier
04013d0747
Optimize METAR decoding by constructing regular expressions only once
...
Before this commit, the regular expression strings and objects were
constructed for each METAR. This is expensive and unnecessary.
This commit optimizes this by moving the string preparation into
a helper method, which is called once to construct a static
QRegularExpression.
refs #711
2016-07-16 19:52:00 +02:00
Roland Winklmeier
28ec2be1ca
Change MetarSet to MetarList
...
CMetarSet was implemented as a collection. This only makes sense for
values which have one member variable only or hardly ever change. METARs
often change and therefore a collection didn't make much sense.
Additional profiling showed that a sequence has better algorithmic
performance.
refs #689
2016-07-11 21:33:33 +02:00
Roland Winklmeier
7ca5d63ce5
Retrieve precipitation rate from GFS data
...
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
de0729faad
Value object for fixed weather scenario
...
This value object can be used to load, save and distribute fixed
weather scenarios.
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
4a489c642f
Add missing CTemperatureLayer property indexes
...
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
3a1605b553
Differentiate None from Unknown in CCloudLayer
...
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
ebe039d267
Add missing CCloudLayer property indexes
...
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
a68cd16a7a
Doxygen
2016-06-17 10:46:31 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Roland Winklmeier
781707fb7e
Simulator driver fetches and injects weather from weather manager
2016-04-10 16:18:55 +02:00
Roland Winklmeier
5801962a99
Extend GFS data and CGridPoint with surface pressure and temperature
2016-04-10 16:17:23 +02:00
Roland Winklmeier
a2de3a16e4
CWeatherGrid utility classes
...
Renamed Cavok to ClearWeather since CAVOK does not mean no clouds.
Find methods.
refs #612
2016-04-10 16:16:21 +02:00
Roland Winklmeier
5d93144c3c
Remove enum coverage from CCloudLayer and calculate it from percentage
...
refs #612
2016-04-10 16:16:15 +02:00
Roland Winklmeier
779191e66b
Add string based identifier to CGridPoint
...
refs #612
2016-04-10 16:15:08 +02:00
Roland Winklmeier
f6a52874e3
class CWeatherManager
...
refs #612
2016-04-10 16:13:56 +02:00
Roland Winklmeier
8a0290b44b
classes CWeatherGridProvider and CWeatherGridAware
...
refs #612
2016-04-10 16:13:49 +02:00
Roland Winklmeier
f72c8e878b
Use CCoordinateGeodetic instead of CLatitude and CLongitude
...
refs #612
2016-04-10 16:13:39 +02:00
Mathew Sutcliffe
4e9d7d3efe
refs #628 Metaclass style compatible with the AStyle beautifier.
2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535
refs #628 Use the metaclass mixins in all value classes.
2016-04-03 18:17:43 +01:00
Mathew Sutcliffe
3001ca1f44
refs #624 Use std::make_unique instead of BlackMisc::make_unique.
2016-03-22 16:02:29 +00:00
Klaus Basan
c3722f9198
refs #485 , refs #584 removed include blackmiscfreefunctions.h
2016-03-18 01:07:49 +00:00
Roland Winklmeier
48fdfbea3e
Cloud layers have a base and a top
...
refs #579
2016-03-02 23:04:29 +01:00
Roland Winklmeier
16315ec2ec
Implement hardcoded weather grids
...
* Cavok
* Thunderstorm
refs #579
2016-03-02 23:04:05 +01:00
Roland Winklmeier
04292c2002
Add initializer list constructors
...
refs #579
2016-03-02 23:03:57 +01:00
Roland Winklmeier
03abfec7c6
Add precipitation and cloud type to CCloudLayer
...
refs #579
2016-03-02 23:03:50 +01:00
Roland Winklmeier
af3b8f7f0c
Add dew point to CTemperatureLayer
...
refs #579
2016-03-02 23:03:33 +01:00
Roland Winklmeier
af28db9e97
Add CVisibilityLayer and CVisibilityLayerList
...
refs #579
2016-03-02 22:58:38 +01:00
Roland Winklmeier
1ea2f34f75
Fix doxygen documentation in src, samples and tests
...
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
7953d550ea
Fix linux clang errors and warnings
...
refs #596
2016-02-15 18:35:34 +01:00
Mathew Sutcliffe
451b90e4f9
refs #584 Moved make_unique to makeunique.h
2016-02-08 17:28:22 +00:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Roland Winklmeier
3fd9d1bffe
Implement GFS weatherdata plugin
...
refs #556
2016-01-28 01:36:00 +01:00
Roland Winklmeier
79210cb14e
Add new WeatherData plugin structure
...
refs #556
2016-01-28 01:35:58 +01:00
Roland Winklmeier
ca06933c0d
Add weather grid classes
...
refs #556
2016-01-28 01:35:55 +01:00
Roland Winklmeier
59508305ae
Add CTemperatureLayer, CTemperatureLayerList and CWindLayerList classes
...
refs #556
2016-01-28 01:35:53 +01:00
Roland Winklmeier
c47d56b984
Rename altitude to level in CWindLayer
...
refs #556
2016-01-28 01:35:51 +01:00
Roland Winklmeier
ffb72ba3e0
Add base and coverage values to CCloudLayer
...
refs #556
2016-01-28 01:35:49 +01:00
Klaus Basan
1fc7300982
refs #507 , split up blackmiscfreefunctions
...
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
06343c36bf
Change logging severity to debug in CMetarDecoder
2015-11-19 21:07:36 +00:00
Mathew Sutcliffe
d13e863218
refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed.
2015-11-19 21:02:16 +00:00
Klaus Basan
29d436ee67
refs #469 convenience function in METAR set
2015-11-19 21:00:14 +00:00
Roland Winklmeier
d9ab612154
refs #448 metar decoder and unit tests
2015-11-19 20:57:46 +00:00
Roland Winklmeier
a94ea5618f
refs #448 metar value classes
2015-11-19 20:57:45 +00:00