Closed r-ford closed 1 year ago
👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: 7649a4717b909a85de5f5a90d14bf69b0c65a7ac ✅ Deployment Preview URL: https://ProjectPythia.github.io/cmip6-cookbook/_preview/36
Based on the KeyError
here, it looks like it is trying to find imbalance
in the coordinates.
@brian-rose, I'm trying to use a previous Xarray version, but it doesn't look like the execution environment gets updated during the build. Is there a way to specify that I want to update it?
@brian-rose, I'm trying to use a previous Xarray version, but it doesn't look like the execution environment gets updated during the build. Is there a way to specify that I want to update it?
Since you're using execute_notebooks: binder
, the execution environment uses the image from the main branch of the repo. This is a limitation in how we are doing things right now. Changes to the environment.yml
file in the PR will not have any effect on the Binder environment.
A simple workaround is just to merge your environment changes into main, and then test your new code. Sort of a hack, but that will accomplish what you want.
This line of code here in the cookbook actions repo is where the call to binderbot is made, and we are currently hard-coding to the main
branch.
Ok, that seemed to work. I'll just merge to see if it fixes the main branch.
Same as https://github.com/ProjectPythia/cmip6-cookbook/pull/32