2014-06-21 20:01:01 +00:00
|
|
|
if ( ! qfePresent && substr(g,0,3) is "QFE" ) {
|
|
|
|
rename(g,qfeInHectoPascal);
|
|
|
|
qfe=to_string(qnhInHectoPascal,1,4) : dump;
|
|
|
|
constant qfeUnits= "hPa" : dump;
|
|
|
|
group g : dump; non_alpha na;
|
|
|
|
alias qfePresent=one;
|
|
|
|
}
|
2017-05-30 13:55:43 +00:00
|
|
|
if ( ! qnhPresent && substr(g,0,1) is "Q" ) {
|
2014-06-21 20:01:01 +00:00
|
|
|
rename(g,qnhInHectoPascal);
|
|
|
|
if (is_integer(qnhInHectoPascal,1,4)) {
|
|
|
|
qnh=to_string(qnhInHectoPascal,1,4) : dump;
|
|
|
|
alias qnhPresent=one;
|
|
|
|
constant qnhUnits= "hPa" : dump;
|
|
|
|
}
|
|
|
|
group g : dump; non_alpha na;
|
|
|
|
}
|
|
|
|
if ( ! qnhAPresent && substr(g,0,1) is "A" ) {
|
|
|
|
rename(g,qnhInHundrethsOfInchOfMercury);
|
|
|
|
#qnh=to_string(qnhInHectoPascal,1,4) : dump;
|
|
|
|
#constant qnhUnits= "hundrethsOfInchOfMercury" : dump;
|
|
|
|
group g : dump; non_alpha na;
|
|
|
|
#alias qnhAPresent=one;
|
|
|
|
}
|
|
|
|
if (! qnhPresent && substr(g,0,1) is "Q" ) {
|
|
|
|
rename(g,qnhInHectoPascal);
|
|
|
|
if (is_integer(qnhInHectoPascal,1,4)) {
|
|
|
|
qnh=to_string(qnhInHectoPascal,1,4) : dump;
|
|
|
|
alias qnhPresent=one;
|
|
|
|
constant qnhUnits= "hPa" : dump;
|
|
|
|
}
|
|
|
|
group g : dump; non_alpha na;
|
|
|
|
}
|
|
|
|
|