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

Create a table or a simple page and publish as gh-pages #5

Closed
MathewBiddle opened this issue Jul 12, 2022 · 12 comments
Closed

Create a table or a simple page and publish as gh-pages #5

MathewBiddle opened this issue Jul 12, 2022 · 12 comments

Comments

@MathewBiddle
Copy link
Contributor

I never tried to overwrite the same notebook, need to test it first. The rest looks good. BTW, are you saving some results and publishing? What is the format? You can probably create a table or a simple page and publish as gh-pages to keep the notebook untouched.

Originally posted by @ocefpaf in #2 (comment)

I think this would be a great idea. Might want to move this over to the IOOS org and rename the repo ioos_metrics or something along those lines.

@MathewBiddle
Copy link
Contributor Author

@ocefpaf I started tinkering with this over the last few days. Right now, I've got a process[1] that converts the csv files in gts[2] and writes them as html tables to deploy/ [3]. I did not commit the html tables because I'd like to have those added via GHA when we deploy the site, similar to [4].

I'm a little stuck at the moment as I'm not sure where to put those tables on a website.

[1] - https://github.com/MathewBiddle/ioos_by_the_numbers/blob/website_dev/website/create_catalog_landing_page.py
[2] - https://github.com/MathewBiddle/ioos_by_the_numbers/tree/website_dev/gts
[3] - https://github.com/MathewBiddle/ioos_by_the_numbers/tree/website_dev/website/deploy
[4] - https://github.com/MathewBiddle/CEFI-info-hub-list/blob/main/.github/workflows/website_create_and_deploy.yml

@MathewBiddle
Copy link
Contributor Author

created a test website for regional gts metrics:

https://mathewbiddle.github.io/ioos_by_the_numbers/gts_regional.html

Website generated from https://github.com/MathewBiddle/ioos_by_the_numbers/blob/main/website/create_gts_regional_landing_page.py

@MathewBiddle
Copy link
Contributor Author

added atn GTS metrics page: https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html

@MathewBiddle
Copy link
Contributor Author

started playing around with embedding a plotly plot into the webpage:

https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html

@ocefpaf
Copy link
Member

ocefpaf commented May 26, 2023

Looks great BTW.

@MathewBiddle
Copy link
Contributor Author

@ocefpaf @mwengren - should we move this repository to the IOOS org, and rename it ioos_metrics ?

@MathewBiddle
Copy link
Contributor Author

@ocefpaf I made a similar chart for the GTS Regional metrics https://mathewbiddle.github.io/ioos_by_the_numbers/gts_regional.html

@ocefpaf
Copy link
Member

ocefpaf commented Jun 12, 2023

@ocefpaf @mwengren - should we move this repository to the IOOS org, and rename it ioos_metrics ?

+1

@mwengren
Copy link
Member

Sure, moving it over to IOOS org makes sense. Looks good!

Once it's finalized, should we link to it from IOOS.us or ioos.github.io. Not sure where it should go in the latter - we still have to make some updates to the menu bar and landing page at ioos.github.io per: ioos/documentation-theme-jekyll#10 (comment) when there's time.

BTW, we were discussing during a meeting about Condastats and the IOOS packages (ioos_qc, compliance-checker, etc). I don't know if it's worthy of adding as an official IOOS 'by the numbers' metric, but this is my notebook from ~3 years ago when I was experimenting with the plotting the condastats output. Part of it is just some Pandas experimentations I did to understand Pandas and try to reformat the data for plotting, but getting output from the package for some of the IOOS packages was straightforward. Not sure what the data looks like after 2020. I'd be curious to see if ioos_qc had any uptick though.

@MathewBiddle
Copy link
Contributor Author

Moved https://github.com/ioos/ioos_metrics

Updating website now.

@MathewBiddle
Copy link
Contributor Author

Website has been moved as well. https://ioos.github.io/ioos_metrics/index.html

@mwengren I created a new issue for condastats. Great idea!

Closing.

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

3 participants