intake / intake-esm

An intake plugin for parsing an Earth System Model (ESM) catalog and loading assets into xarray datasets.
https://intake-esm.readthedocs.io
Apache License 2.0
130 stars 42 forks source link

Add a callout to the collection repr #647

Open jbusecke opened 5 months ago

jbusecke commented 5 months ago

Is your feature request related to a problem? Please describe. I am currently restructuring the Pangeo/ESGF CMIP6 Cloud Data and would like for everyone to slowly migrate their workflows to this new catalog. Now I can change the documentation of the main entry points (docs/gh repos/...) but it is impossible to hunt down every instance of the 'legacy' catalog and replace it.

Describe the solution you'd like I do however have access to that legacy json file, and am wondering if there is a way to add a 'message' item, which would then be displayed as a red callout when calling the collection html repr? That way everyone who access the legacy catalog and runs a recent intake-esm version would get alerted that there is a new catalog whenever they rerun their code.

Would this be doable/resonable?

mgrover1 commented 4 months ago

Thanks for opening the issue here - I like this idea!! Would you be interested in drafting a PR here?

jbusecke commented 4 months ago

Currently very limited in time, but could try to take a swing in late March!