spacetelescope / roman_tools

Instructions and tutorials for Roman software tools distributed by STScI for the science community
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

How to use Docker with new Pandeia? #26

Closed ariedel closed 5 years ago

ariedel commented 5 years ago

Problem: The ssbweb machine is being decommissioned, and all ETC files on there have been removed. This means you cannot download the data files for Pandeia v1.2.2 as currently listed.

However, there's also a problem with the new arrangement: The files are now in a folder on the STScI Box, and you cannot curl or wget files from Box, so a Docker installation won't work.

The Pandeia data files for WFIRST are about 50 MiB compressed, and COULD be uploaded and served from this package, if Docker could use them from a local folder.

Thoughts? @robelgeda @k-gilbert

ariedel commented 5 years ago

Actually, you CAN wget a file from Box; you just need a direct link (click share, set so that everyone with the link can download, and click "link settings". The URL is at the bottom of the window.

wget https://stsci.box.com/shared/static/foiyf5hwe4m4paqiztxbrbl5og3yksz7.gz will get you the pandeia data for v1.3.1. The name is ugly, but it's a gzip'd tarball that decompresses properly.

This stackoverflow post suggests you might need to use -L to follow an HTML redirect.

ariedel commented 5 years ago

This is now implemented in Code PR #27; I'm closing this.