Closed salvafern closed 1 year ago
Hi @salvafern, thank you for organising the issues here.
The default of rerddap
is to download the files to a cache/temporary directory in the R folder, but I changed it to the current directory. What do you think would be the best default directory? Note that the destination directory can be changed by the directory
argument of the function.
Good question. I actually don't know if there is any preference for the best default directory. Seems like rerddap
reads the env var RERDDAP_CACHE_PATH
.
Some options:
sdmpredictors
. But actually I'm just thinking that the default behavior any user may want is that the data is cached../cache-R
(and add this path to gitignore if exists).I kind of like more the last option, but I'm not an expert in this topic. What do you think @vinisalazar ?
Of course I would always leave the option to cache in any given directory. And I would read the default cache dir from the environment as rerddap
and many other packages.
@vinisalazar and I had a chat: we will look into how rerddap
handles the cache directory. We will either just explain the user how to do it or add a simple wrapper for bioracler
Now the dataset is downloaded to the working directory. We should consider to change to a temporal directory instead: