ExoCTK / exoctk

The Exoplanet Characterization Tool Kit
BSD 3-Clause "New" or "Revised" License
38 stars 22 forks source link

Fortney grid models can't be downloaded #351

Closed nespinoza closed 3 years ago

nespinoza commented 4 years ago

Hi everyone!

On the Forward Modeling part of ExoCTK's web-version --- and the Fortney grid in particular --- it appears the button on the lower left corner to save the transmission spectrum ("Save File") is not working. When pressed, you are sent to "https://exoctk.stsci.edu/visib_result" with a "Bad Request" output.

Working example of this failing, here: https://exoctk.stsci.edu/fortney?ptemp=2000.0&pchem=eqchem&cloud=0&pmass=10.4296&m_unit=M_jup&refrad=1.165&r_unit=R_jup&rstar=1.23&rstar_unit=R_sun (try clicking the "Save File" button).

I'm assigning Medium Priority to this because this might be important for some users writing Cycle 1 JWST proposals --- however, I'll let @bourque, @hover2pi or @kevin218 assign this to someone with the web-interface expertise that can solve/take a look at this.

Néstor

PS: If any interested ExoCTK users are reading this: do not despair! Easy way of hacking your way to getting the spectrum: (1) right click on the page above, (2) "View page source" (in Chrome at least --- whatever the analog is for other browsers) (3) on the page source code, search for the line (CTRL+F) that reads form action="/visib_result" method="post", (4) the model (wavelength and transit depth) will be below that line.

jaymedina commented 3 years ago

@nespinoza I just ran a test to a fix that seems to be working. Will make a PR now.