timtrice / HURDAT

HURDAT is a dataset of best-track analysis for Atlantic and NE Pacific cyclones. This R package scrapes and parses that dataset.
https://hurdat.timtrice.net/
Other
11 stars 4 forks source link

HURDAT data in R package - new N/A's by mistake? #4

Closed timtrice closed 4 years ago

timtrice commented 4 years ago

Issue found via email:

Hi, I was using the HURDAT package in R, and there are 29 N/A values in Longitude where the data previously held either values of -99 or 0. The prior values seem to be correct as they are on the track of the hurricane compared to other points. It's possible that a few may appear a little bit off, but in general, it seems that the -99 and 0 values may have been mistaken for N/A's.

These are the storms with the N/A's for Longitude:

[1] "AL188102" "AL188605" "AL190302" "AL190902" "AL191003" "AL193305" [7] "AL193313" "AL194201" "AL195403" "AL195801" "AL197103" "AL197414" [13] "AL197507" "AL197910" "AL198004" "AL198011" "AL198112" "AL198303" [19] "AL198303" "AL198605" "AL198607" "AL199405" "AL199506" "AL199907" [25] "AL200015" "AL200514" "AL200704" "AL201112" "AL201308"

20 # 26 # 28 are were previously longitude zero. "AL198605" "AL200514" "AL201112"

The others were all previously longitude - 99.

https://github.com/timtrice/HURDAT/blob/8330628bd16b013bb295aa5a58bfc91136e42541/R/hurdat.R#L297