Questions about Pythia cookbooks

Really excited about the work going on with project Pythia! I have a couple questions related to your cookbooks, which I wasn’t able to find answers to in the contributing guides:

  1. Whats your preferred way to suggest a cookbook topic? In particular, to find out whether Pythia reviewers would be favorable to a proposed cookbook prior to starting work on it.
  2. Related to the solution to the expensive, reproducible notebook problem described in Statement of Need: Integrating JupyterBook and JupyterHubs via CI - #14 by brian-rose (which is great!), is the Binder-Hub used for the HRRR-AWS Cookbook available for any contributed cookbook to beta-test or only for internal collaborators (similar to @weiji14’s question at Statement of Need: Integrating JupyterBook and JupyterHubs via CI - #16 by weiji14)?
1 Like

These are great questions @maxrjones! I think we should put improvements to contributors guides on the agenda for an upcoming Pythia meeting.

But briefly, here’s my $0.02:

  1. This forum! We are trying to establish a stronger Pythia presence here on the discourse, and encouraging people to use this forum as first point of contact. But dropping in to a meeting is always welcome too!
  2. At the moment that BinderHub is open to anyone, and should be suitable for testing expensive cookbooks. But it is definitely not a stable long-term resource. On the other hand, the Cookbook infrastructure doesn’t care what Binder service you point toward, so it should be relatively painless to migrate if a more stable solution comes along.

I hope this helps!

1 Like

Super helpful, thanks! I’ll drop in to the next education meeting for a couple more specific questions and will keep in mind that future cookbooks can be proposed here.

Good morning!
I watched the xarray tutorials by Anderson Banihirwe. Unfortunately several cells like

ds.tos.sel(lon=310, lat=50, method=‘nearest’).plot();

run into errors like

ConversionError: Failed to convert value(s) to axis units: (cftime.DatetimeNoLeap(2000, 1, 1, 0, 0, 0, 0), cftime.DatetimeNoLeap(2010, 1, 1, 0, 0, 0, 0))

I assume from stackoverflow research, that some conversion is necessary, but did not understand how to do it.

Thank you, best regards
Uli

Hi @UliWoe , are you using the notebook referred to in this section of our Pythia Foundations chapter on Xarray?

You might want to check what version of xarray you are using in your Conda environment. There were a couple of versions in the latter half of 2022 that caused cftime-related errors in this and other notebooks. More recent Xarray releases have resolved this problem.

Let me know if you have any other questions!

Kevin