Skip to content

Commit

Permalink
Fix NA replacement for STP, should be 9999.99 not 999.9
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Jul 19, 2024
1 parent 8f1ef08 commit d8ea9fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/process_csv.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"WDSP",
"MXSPD",
"GUST",
"SNDP",
"STP"
"SNDP"
)]) {
set(DT, j = col, value = as.character(DT[[col]]))
set(DT,
Expand All @@ -46,6 +45,7 @@
"TEMP",
"DEWP",
"SLP",
"STP",
"MAX",
"MIN"
)]) {
Expand Down

0 comments on commit d8ea9fd

Please sign in to comment.