I'm using showyourwork! in order to make reproducible workflows for my papers, and whilst I can use astroquery on a local computer hosted repository, I can't get it to work on the github actions that showyourwork! uses, because there is limited access to a shell to perform a curl call.
What I'd like to do is carry out the initial query by running the script that calls astroquery on my local machine, then move the cache to a specified local directory, then tell astroquery to only use the local cached data for running the script. In this way I can run it with github actions.
I can see that you can set a cached directory, but this is configured in a confguration file which has a default location from a home directory, and I can't see how to get astroquery to read in a configuration file from a different location.
What's the best way (if possible) to do this?
Many thanks!
I'm using showyourwork! in order to make reproducible workflows for my papers, and whilst I can use astroquery on a local computer hosted repository, I can't get it to work on the github actions that showyourwork! uses, because there is limited access to a shell to perform a curl call.
What I'd like to do is carry out the initial query by running the script that calls astroquery on my local machine, then move the cache to a specified local directory, then tell astroquery to only use the local cached data for running the script. In this way I can run it with github actions.
I can see that you can set a cached directory, but this is configured in a confguration file which has a default location from a home directory, and I can't see how to get astroquery to read in a configuration file from a different location.
What's the best way (if possible) to do this?
Many thanks!