Closed MathewBiddle closed 1 year ago
Looks like fisheries has a website that could be a good starting point for this. Below are some references:
@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
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
added atn GTS metrics page: https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html
started playing around with embedding a plotly plot into the webpage:
https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html
Looks great BTW.
@ocefpaf @mwengren - should we move this repository to the IOOS org, and rename it ioos_metrics
?
@ocefpaf I made a similar chart for the GTS Regional metrics https://mathewbiddle.github.io/ioos_by_the_numbers/gts_regional.html
@ocefpaf @mwengren - should we move this repository to the IOOS org, and rename it
ioos_metrics
?
+1
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: https://github.com/ioos/documentation-theme-jekyll/issues/10#issue-1603274792 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.
Moved https://github.com/ioos/ioos_metrics
Updating website now.
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.
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 https://github.com/MathewBiddle/ioos_by_the_numbers/issues/2#issuecomment-1181041633_
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.