Page 1 of 1
presure trend ?
Posted: Thu 10 Dec 2009 6:42 pm
by n9mfk
Hi Steve cod you tell me at what level in hpa
wood each of these happen
Rising very rapidly
Rising quickly
Rising
Rising slowly
Steady
Falling slowly
Falling
Falling quickly
Falling very rapidly
Thanks
Re: presure trend ?
Posted: Thu 10 Dec 2009 6:56 pm
by steve
Here's the code; hopefully self-explanatory:
Code: Select all
if HourlyPressureChangeMB > 6 then
presstrendstr := Risingveryrapidly
else if HourlyPressureChangeMB > 3.5 then
presstrendstr := Risingquickly
else if HourlyPressureChangeMB > 1.5 then
presstrendstr := Rising
else if HourlyPressureChangeMB > 0.1 then
presstrendstr := Risingslowly
else if HourlyPressureChangeMB > -0.1 then
presstrendstr := Steady
else if HourlyPressureChangeMB > -1.5 then
presstrendstr := Fallingslowly
else if HourlyPressureChangeMB > -3.5 then
presstrendstr := Falling
else if HourlyPressureChangeMB > -6 then
presstrendstr := Fallingquickly
else
presstrendstr := Fallingveryrapidly;
Re: presure trend ?
Posted: Fri 11 Dec 2009 11:00 am
by gemini06720
According to Davis Instruments (manual), for their Vantage Pro2 and Vantage Pro2 Plus consoles:
Barometric Trend (3 hour):
5 Arrow Positions:
- Rising Rapidly
- Rising Slowly
- Steady
- Falling Slowly
- Falling Rapidly
Change Rates:
- Rapidly: ≥.06” H; 1.5 mm Hg; 2 hPa; 2mb
- Slowly: ≥.02” H; 0.5 mm Hg; 0.7hPa; 0.7mb
Re: presure trend ?
Posted: Fri 11 Dec 2009 2:19 pm
by steve
steve wrote:Here's the code; hopefully self-explanatory:
That'll teach me to refactor code on the fly. Those figures apply to the
three-hourly change in pressure (not the hourly change), and the cut-offs are those used by the UK Met Office. So the code actually looks like this (only the variable name has changed):
Code: Select all
if ThreeHourlyPressureChangeMB > 6 then
presstrendstr := Risingveryrapidly
else if ThreeHourlyPressureChangeMB > 3.5 then
presstrendstr := Risingquickly
else if ThreeHourlyPressureChangeMB > 1.5 then
presstrendstr := Rising
else if ThreeHourlyPressureChangeMB > 0.1 then
presstrendstr := Risingslowly
else if ThreeHourlyPressureChangeMB > -0.1 then
presstrendstr := Steady
else if ThreeHourlyPressureChangeMB > -1.5 then
presstrendstr := Fallingslowly
else if ThreeHourlyPressureChangeMB > -3.5 then
presstrendstr := Falling
else if ThreeHourlyPressureChangeMB > -6 then
presstrendstr := Fallingquickly
else
presstrendstr := Fallingveryrapidly;
Apologies for the confusion.
Re: presure trend ?
Posted: Thu 10 Feb 2011 8:57 pm
by n9mfk
Hi Steve
if use cumulus pressure names is unchecked
so davis name are used what that code look like
beau
Re: presure trend ?
Posted: Thu 10 Feb 2011 9:09 pm
by steve
n9mfk wrote:Hi Steve
if use cumulus pressure names is unchecked
so davis name are used what that code look like
I don't know for certain; Cumulus just reads the string from the Davis code. But I assume it's the same as Ray has posted above.