Open MathewBiddle opened 2 years ago
The main advantages of pyscript for this apo would be:
more fodder to move to pyscript. When I try to go to the Live Web App, I receive this error:
I forgot to report here but the latest version of ioos_qc
works beautifully with pyodide+pyscript. Here is a draft with a few examples. One can test it here: https://ocefpaf.github.io/ioos_qc_webapp/ioos_qc_browser.html
@Dylan-Pugh and @gp86041 it would be nice to re-write this app with pyscript only. If you want to experiment with that please ping me and I can help you out.
During this years DMAC meeting there was a presentation of QC tests ran in the cloud. That made me think of this effort, but unfortunately streamlit stopped this activity. Any continued thoughts on moving to pyscript?
Looks like it's broken
https://gp86041-ioos-qc-front-end-streamlit-file-upload-hmzvor.streamlit.app/
Above works. The app was put to sleep since no one was using it.
During this years DMAC meeting there was a presentation of QC tests ran in the cloud. That made me think of this effort, but unfortunately streamlit stopped this activity. Any continued thoughts on moving to pyscript?
@MathewBiddle I am interested in helping with this effort. The problem is my availabilities are non-existent these days. What is an ideal target deadline?
Maybe 2024 IOOS Code Sprint this spring?
That sounds good to me @MathewBiddle - I'm in the same boat as Jeff, interested but busy!
Sounds good, @MathewBiddle.
@Dylan-Pugh Looking forward to continuing working on this with you next year! I might start tiny bits here and there, but major progress will definitely be for Code Sprint.
Looking forward to it! Thinking long-term, a great first step might be to build a public API for the IOOS QC library, which is something we discussed last time. I've done something similar with this internal tool, which I contribute to sporadically:
https://github.com/Dylan-Pugh/TACT
I've found that Streamlit plays nicely with a REST API, but it would also allow us to swap the front-end at will. I have the beginnings of a GUI for QC here:
https://github.com/Dylan-Pugh/TACT/blob/master/tact/UI/streamlit/pages/4_Run_IOOS_QC.py
Is your feature request related to a problem? Please describe. Right now the web application has a dependency on streamlit.
Describe the solution you'd like Wouldn't it be nice if we didn't need to have the dependency on streamlit? @ocefpaf mentioned pyscript could be a neat solution to building this web application.
Describe alternatives you've considered Leaving the dependency on streamlit
Additional context cc: @ocefpaf