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

Refactor catalog page #223

Merged
merged 4 commits into from
Oct 12, 2022
Merged

Refactor catalog page #223

merged 4 commits into from
Oct 12, 2022

Conversation

andersy005
Copy link
Member

@andersy005 andersy005 commented Oct 11, 2022

This is my attempt to revamp the catalog page. In my opinion, the recipe's meta.yaml needs more metadata. On the catalog page, metadata such as a thumbnail image, tags, temporal extent, and spatial extent would be helpful. Among the features that the extra metadata would enable would be:

Current PR' version: https://pangeo-forge-iwuq4d8ar-pangeo-forge.vercel.app/catalog

src/pages/catalog.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@katamartin katamartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking great! Let me know if you run into any hiccups with the gradient stuff, happy to pair quickly to polish that up :)

src/pages/catalog.js Outdated Show resolved Hide resolved
src/pages/catalog.js Outdated Show resolved Hide resolved
src/pages/catalog.js Outdated Show resolved Hide resolved
@rabernat
Copy link

Wow quick work here Anderson! The new page looks great!

In my opinion, the recipe's meta.yaml needs more metadata.

Agree. Please feel free to propose revisions to the meta.yaml spec.

thumbnail image, tags, temporal extent, and spatial extent would be helpful.

These could all probably be generated from the Zarr data using various existing conventions (CF, ACDD, etc). Thumbnail could be created by xarray.

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

Successfully merging this pull request may close these issues.

3 participants