eco4cast / neon4cast

A helper R package for the neon4cast challenge
Other
7 stars 7 forks source link

Bug in stack_noaa() #11

Open jessicaguo opened 1 year ago

jessicaguo commented 1 year ago

I'm getting the following error when trying to use stack_noaa(): image It's thrown by line 85 of noaa.R. However, when I'm debugging, my out tibble is empty, so this may be an upstream issue.

Please advise!

cboettig commented 1 year ago

Thanks @jessicaguo for opening this issue! Yup we still need to update some of the docs, but the stack_noaa() function is now deprecated.

Can you take a look at the new functions noaa_stage1(), noaa_stage2() or noaa_stage3() and see if they do what you need?

e.g.

weather <- noaa_stage1()
# 5.7M rows of data:
 weather |> 
   dplyr::filter(start_date == "2022-04-01") |>
 dplyr::collect()

new and not widely tested, so feedback is much appreciated! thanks!