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

Error in article #108

Closed
maelle opened this issue Dec 8, 2023 · 6 comments
Closed

Error in article #108

maelle opened this issue Dec 8, 2023 · 6 comments

Comments

@maelle
Copy link
Member

maelle commented Dec 8, 2023

Via https://ropensci.r-universe.dev/builds we see a failure for the article, locally I get this error:

Quitting from lines 128-144 [GHCN-precipitation] (FedData.Rmd)
                                                                                                               
Error:
! FlatGeobuf driver not available in supported drivers, see `st_drivers()'
Backtrace:
 1. FedData::get_ghcn_daily(...)
 3. sf::write_sf(., dsn = raw_inventory)
 5. sf:::st_write.sf(..., quiet = quiet, append = append, delete_layer = delete_layer)
 6. sf:::guess_driver_can_write(dsn)
Execution halted
@bocinsky
Copy link
Collaborator

bocinsky commented Dec 11, 2023

Hmm, support for FlatGeoBuf is built into GDAL >= v3.1. The current release of GDAL is v3.8.1. Would you mind confirming what version of GDAL you have installed on your build machine? My guess is that I should up the system requirement to GDAL (>= 3.1.0), as FedData is now storing the GHCN station inventory as a FlatGeoBuf file.

@maelle
Copy link
Member Author

maelle commented Dec 12, 2023

@jeroen any insight? Thanks!

@jeroen
Copy link
Member

jeroen commented Dec 12, 2023

We use the libraries that are included with ubuntu-22.04.

@maelle
Copy link
Member Author

maelle commented Feb 2, 2024

@bocinsky friendly reminder (tricky if you can't reproduce it) 😸

@bocinsky
Copy link
Collaborator

I think this is working now, but we'll see if it stays that way!

@maelle
Copy link
Member Author

maelle commented Feb 13, 2024

Indeed, thank you!!

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

No branches or pull requests

3 participants