Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Explore converting the webpage to a myst document for executable content #96

Open
MathewBiddle opened this issue Dec 4, 2024 · 2 comments

Comments

@MathewBiddle
Copy link
Contributor

MathewBiddle commented Dec 4, 2024

What should we add?

Folks who simply want to run the metrics without installing a bunch of packages locally are burdened by those requirements. Can we find a more user friendly way of making this package accessible?

Myst allows for in-browser execution of code https://mystmd.org/guide/integrating-jupyter#connecting-to-a-binder

It might be more efficient to use those services to create the webpage instead of python scripts with jinja?

Reference

cc @kbailey-noaa

@ocefpaf
Copy link
Member

ocefpaf commented Dec 4, 2024

This is tied to a binder instance can be slow and can fail sometimes. However, it is the most robust option for now. Once I move the whole stack to be WASM compatible we can use jupyterlite or something similar to run without a server. (We had this with an older version of erddapy before I moved to httpx, I don't want to move back to requests but I do want to implement a choice so we can have the best of both worlds.)

@MathewBiddle
Copy link
Contributor Author

for some reason @kbailey-noaa's tag didn't work. Fixed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants