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

add_collection_format fails in gdalcubes_r docker rstudio #5

Open
mstrahl opened this issue Mar 12, 2021 · 0 comments
Open

add_collection_format fails in gdalcubes_r docker rstudio #5

mstrahl opened this issue Mar 12, 2021 · 0 comments

Comments

@mstrahl
Copy link

mstrahl commented Mar 12, 2021

I tried to define a new format for our Sentinel-2 Global Mosaic ARD stored on our own cloud storage:
the add_collection_format() fails:
'> add_collection_format("https://pta.fmi.fi/~strahlen/FMI-s2gm-cogs.json")
Error in file(con, "r") : cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile = destfile) :
URL https://pta.fmi.fi/~strahlen/FMI-s2gm-cogs.json: cannot open destfile '/usr/local/lib/R/site-library/gdalcubes/formats/FMI-s2gm-cogs.json', reason 'Permission denied'
2: In download.file(url, destfile = destfile) :
download had nonzero exit status
3: In file(con, "r") :
cannot open file '/usr/local/lib/R/site-library/gdalcubes/formats/FMI-s2gm-cogs.json': No such file or directory'

I am using the gdalcubes_r docker image, so there you should define the directory as writable.

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

1 participant