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

Use docker to allow running in a codesapce #51

Open
bpurinton opened this issue Oct 25, 2024 · 2 comments
Open

Use docker to allow running in a codesapce #51

bpurinton opened this issue Oct 25, 2024 · 2 comments

Comments

@bpurinton
Copy link
Contributor

@ShashankBice on slack:

Hey Ben, using the asp_plot library, how would you feel about a docker image on dockerhub, so that users can run from github code space directly? I can do that next week. The reason I ask is because I can not plot the basemaps on rfe, and dealing with the throttle on pfe has become a pain with their new code to stop processing, so something like codespace would be useful for me to just plot results for the jitter where i need to just provide the camera files which are small.

This is a good idea, I can also more quickly implement an option on the CLI to skip basemaps.

@bpurinton
Copy link
Contributor Author

On cc5c273 I added an --add_basemap and --plot_icesat boolean option to the asp_plot CLI.

But I still like the idea of docker image + running in a codespace

@bpurinton
Copy link
Contributor Author

@ShashankBice, I just want to be sure I understand the requirements for this. Are you wanting a .devcontainer.json like this one in asp_tutorials? So, added to this repo would be a devcontainer, and a link to open the repo in a codespace, and in that codespace in the browser, asp_plot would be pre-installed with all of its dependencies. Then a user could just drag and drop or otherwise upload camera files to the codespace VSCode running in the browser and run the tools?

The problem I see is that asp_plot, aside from the camera_optimization tools, uses a lot of the very large ASP output files for plotting that are not so easy to upload into a codespace.

So is the intention of the codespace only to run before/after camera optimization plots? Or do you envision a place to run the full asp_plot suite of plots?

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

No branches or pull requests

1 participant