From b6300fb761fb569f7bb5bf3143d7cfaee04609ef Mon Sep 17 00:00:00 2001 From: Mateusz Taszarek Date: Wed, 23 Aug 2023 13:08:09 +0200 Subject: [PATCH] Update get_sounding.R Issue that lead to removal of certain sections of the profile. --- R/get_sounding.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/get_sounding.R b/R/get_sounding.R index 016cfbd..b920d04 100644 --- a/R/get_sounding.R +++ b/R/get_sounding.R @@ -66,7 +66,6 @@ get_sounding = function(wmo_id, yy, mm, dd, hh, metadata = FALSE) { colnames(sounding_data[[1]]) = c("pressure", "altitude", "temp", "dpt", "rh", "mixr", "wd", "ws", "thta", "thte", "thtv") sounding_data[[1]] = sounding_data[[1]][, c("pressure", "altitude", "temp", "dpt","wd", "ws")] - sounding_data[[1]] = na.omit(sounding_data[[1]]) if (!metadata) { sounding_data = sounding_data[[1]]