Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
path: './_build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
_build
*.pyc

.DS_Store
Binary file added _static/.DS_Store
Binary file not shown.
Binary file added _static/thumbnails/DC_logo_vision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/Enthought.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/ProjectPythia_Blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/Xdev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/arm_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/british-columbia.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/cartopy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/climatematch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/climlablogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/cmip6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/dask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/eScience_Logo_HR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/earth-lab-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/earth_env_data_science.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/geocat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/geopandas_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/hvplot-wm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions _static/thumbnails/matplotlib.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/metpy-mondays.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/metpy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/numpy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/pandas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/plotting_earth_science.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/portland-state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/ptss-builtinpackage.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/thumbnails/ptss-cartopy.jpeg
Binary file added _static/thumbnails/ptss-dask1.jpeg
Binary file added _static/thumbnails/ptss-dask2.jpeg
Binary file added _static/thumbnails/ptss-datadict.jpeg
Binary file added _static/thumbnails/ptss-firstpackage.jpeg
Binary file added _static/thumbnails/ptss-geocatcomp.jpeg
Binary file added _static/thumbnails/ptss-geocatplot.jpeg
Binary file added _static/thumbnails/ptss-git.png
Binary file added _static/thumbnails/ptss-jupyter.jpeg
Binary file added _static/thumbnails/ptss-matplotlib.jpeg
Binary file added _static/thumbnails/ptss-numpy.jpeg
Binary file added _static/thumbnails/ptss-oop.jpeg
Binary file added _static/thumbnails/ptss-pandas.jpeg
Binary file added _static/thumbnails/ptss-txtfile.jpeg
Binary file added _static/thumbnails/ptss-writingfx.jpeg
Binary file added _static/thumbnails/ptss-xarray1.jpeg
Binary file added _static/thumbnails/ptss-xarray2.jpeg
Binary file added _static/thumbnails/rasterio-tutorial.png
Binary file added _static/thumbnails/siphon.png
Binary file added _static/thumbnails/unidata_150x150.png
Binary file added _static/thumbnails/xarray.png
Binary file added _static/thumbnails/zero-to-pandas.png
9 changes: 2 additions & 7 deletions myst.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
# See docs at: https://mystmd.org/guide/frontmatter
version: 1
extends:
- https://raw.githubusercontent.com/projectpythia-mystmd/pythia-config/main/pythia.yml
- https://raw.githubusercontent.com/projectpythia/pythia-config/main/pythia.yml
project:
id: 918580d4-663c-4ef5-93f6-7a8d01d943ed
title: Resource Gallery
# description:
keywords: []
authors: []
github: https://github.com/projectpythia-mystmd/resource-gallery
github: https://github.com/projectpythia/resource-gallery
# bibliography: []
plugins:
- pythia-gallery.mjs
toc:
- file: index.md
site:
template: book-theme
options:
hide_toc: true
hide_outline: true
4 changes: 2 additions & 2 deletions pythia-gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def render_resource(resource: dict):
#if "thumbnail" in resource:
#else:
try:
thumbnail = "https://projectpythia.org/" + resource['thumbnail']
thumbnail = "https://projectpythia.org/resource-gallery/" + resource['thumbnail']
except:
thumbnail = "https://projectpythia.org/_static/thumbnails/ProjectPythia_Blue.png"

Expand Down Expand Up @@ -95,7 +95,7 @@ def render_resource(resource: dict):

def render_resources(pool):

resources = fetch_yaml("https://raw.githubusercontent.com/ProjectPythia/projectpythia.github.io/main/portal/resource_gallery.yaml")
resources = fetch_yaml("https://raw.githubusercontent.com/ProjectPythia/resource-gallery/main/portal/resource_gallery.yaml")

return [*pool.map(render_resource, resources)]

Expand Down
Loading