Changeset 2272
- Timestamp:
- 08/11/11 18:36:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NROFiller.cpp
r2201 r2272 198 198 setFocus( parangle ) ; 199 199 200 // WEATHER subtable row 200 // WEATHER subtable row 201 float p = 7.5 * temperature / ( 273.3 + temperature ) ; 202 float sh = 6.11 * powf( 10, p ) ; 203 temperature += 273.15 ; // C->K 204 winddir *= C::degree ; // deg->rad 205 humidity /= sh ; // P_H2O->relative humidity 201 206 setWeather( temperature, pressure, humidity, windvel, winddir ) ; 202 207
Note:
See TracChangeset
for help on using the changeset viewer.