From 5f62e55198da41d32853bda78007ebf0493055d7 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Wed, 17 Apr 2019 21:52:27 +0930 Subject: [PATCH] Fix temp limit argument. --- auto_rx/utils/plot_sonde_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_rx/utils/plot_sonde_log.py b/auto_rx/utils/plot_sonde_log.py index 32ae169..eec560b 100644 --- a/auto_rx/utils/plot_sonde_log.py +++ b/auto_rx/utils/plot_sonde_log.py @@ -128,7 +128,7 @@ if __name__ == "__main__": parser.add_argument("filename", type=str, help="Log File name.") parser.add_argument("--metric", action="store_true", default=False, help="Use metric altitudes. (Default is to use Feet)") parser.add_argument("--alt-limit", default=20000, type=int, help="Limit plot to supplied altitude (feet or metres, depending on user selection)") - parser.add_argument("--temp-limit", default=None, help="Limit plot to a lower temperature in degrees. (Default is no limit, plot will autoscale)") + parser.add_argument("--temp-limit", default=None, type=float, help="Limit plot to a lower temperature in degrees. (Default is no limit, plot will autoscale)") parser.add_argument("--decimation", default=10, type=int, help="Decimate input data by X times. (Default = 10)") args = parser.parse_args()