diff --git a/lib/xmet/raob.py b/lib/xmet/raob.py index c1b27fe..047c401 100644 --- a/lib/xmet/raob.py +++ b/lib/xmet/raob.py @@ -123,7 +123,7 @@ class RAOBObs(): def calc_500mb_height(self, height: float) -> float: return 10.0 * height - def calc_200mb_height(self, height: float) -> float: + def calc_250mb_height(self, height: float) -> float: return 10.0 * (1000.0 + height) def parse_height_pressure(self, token: str): @@ -150,10 +150,10 @@ class RAOBObs(): height = self.calc_1000mb_height(float(num)) elif pressure <= 850 and pressure > 500: height = self.calc_850mb_height(float(num)) - elif pressure <= 500 and pressure > 200: + elif pressure <= 500 and pressure > 250: height = self.calc_500mb_height(float(num)) - elif pressure <= 200: - height = self.calc_200mb_height(float(num)) + elif pressure <= 250: + height = self.calc_250mb_height(float(num)) else: height = float(num)