jwql icon indicating copy to clipboard operation
jwql copied to clipboard

Download EDB data from dev server

Open laurenmarietta opened this issue 5 years ago • 3 comments

The way that EDB data downloads were downloaded in #415 seems to not be working on the development server.

This might be a simple permissions error, which would hopefully be easy to fix....

It might also be a problem with where the files are saved - they might need to be put on central store instead of inside the dev server repo?

While this is fixed, it might also be worthwhile to update the code to save the files with unique names based on the query time, e.g. edb_exploration_20190516_204343.csv. Then there could be a cron job that cleans out that directory every day, hour, five minutes, etc.

laurenmarietta avatar May 29 '19 18:05 laurenmarietta

Potentially elegant solution using Django to dynamically generate CSVs and return them with an HTTP response: https://docs.djangoproject.com/en/2.2/howto/outputting-csv/

laurenmarietta avatar May 29 '19 18:05 laurenmarietta

Unfortunately, I don't think I will be able to fulfill this assignment.

Johannes-Sahlmann avatar Dec 03 '19 18:12 Johannes-Sahlmann

This issue is tracked on JIRA as JWQL-238.

stscijgbot-jwql avatar May 13 '24 19:05 stscijgbot-jwql