Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reservoir data scraper not working anymore #496

Open
jordansread opened this issue Jun 14, 2017 · 3 comments · Fixed by #497
Open

Reservoir data scraper not working anymore #496

jordansread opened this issue Jun 14, 2017 · 3 comments · Fixed by #497
Assignees

Comments

@jordansread
Copy link

No errors, but the html scraper we wrote for water levels doesn't pull in the new data.

@wdwatkins
Copy link
Contributor

wdwatkins commented Jun 15, 2017

It is erroring, they are just being hidden by a tryCatch

  tryCatch({
    data = scrape_ca_storage(sites$ID[i])
    
    write.table(data, paste0('../storage_data/', sites$ID[i], '.csv'), sep=',', row.names=FALSE)
    
    #png(paste0('../storage_plots/', sites$ID[i], '.png'))
    #plot(data[,1], data[,2], main=sites$ID[i], ylab='Storage(acre-feet)', xlab='')
    #dev.off()
  }, error=function(err){})

The actual problem is goofy characters showing up in the column names.

@jordansread
Copy link
Author

Looks like this is back as an issue. Didn't dig into it.

@wdwatkins
Copy link
Contributor

this seems to be working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants