Skip to content

Commit

Permalink
Update get_sounding.R
Browse files Browse the repository at this point in the history
Issue that lead to removal of certain sections of the profile.
  • Loading branch information
mtaszarek authored Aug 23, 2023
1 parent cbaf1ec commit b6300fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/get_sounding.R
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit b6300fb

Please sign in to comment.