-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
merge scipy19 docs #3557
merge scipy19 docs #3557
Conversation
something that could in the long run reduce the memory usage might be conda-metachannel (blog post), but I think the integration into conda is in its early stages? |
it looks like it would be easier to do this by rebasing / cherry-picking onto master: there would not be as many conflicts as using merge would have (look at the list: 146 changed files). I'll cherry-pick and force push afterwards. |
👍 |
Sorry for creating this mess! 🤦♂️ Thank you for trying to clean it up. |
* switching out examples to use nbsphinx * added jupyter_client to doc env * added ipykernel to doc env
* switching out examples to use nbsphinx * added jupyter_client to doc env * moved gallery to notebook
* switching out examples to use nbsphinx * added jupyter_client to doc env * allow non netcdf tutorial files
* change name of test env to xarray-tests (pydata#3110) * ROMS_ocean_model example added * Allow other tutorial filename extensions (pydata#3121) * switching out examples to use nbsphinx * added jupyter_client to doc env * allow non netcdf tutorial files * Changed load to xr.tutorial.open_dataset(), and added some extra documentation. * change name of test env to xarray-tests (pydata#3110) * ROMS_ocean_model example added * Changed load to xr.tutorial.open_dataset(), and added some extra documentation. * fixed colormap issues leftover from cmocean import * Added intro paragraph to ROMS example notebook, removed comments, and added citation in whats-new.
…ydata#3199) * Adds an example of ERA5 and GRIB data to the gallery * Add markdown narrative cells to GRIB example * Update load method to use xr.tutorial * Fix load method
okay, now the cherry-picking is done and the number of touched files is down to a more reasonable 14, though I dropped the non-PR commits. I'm not sure which of these was really necessary, but I guess that's something that we will notice once we try to get CI and readthedocs to work? The original branch is still available for comparison on scipy19-docs @dcherian (or anyone else who knows a bit more about RTD than me), can you help me fix the readthedocs builds? I can't test anything as long as the environment creation fails. |
Does anyhting on this page help? It's likely we have requested extra resources for xarray. |
and now I ran into the shadowing issue we had in #3199. I think the culprit is |
maybe pip is the solution to all of these problems |
probably, but the only issue I found is this: https://pypi.org/project/iris/, which means |
How about we pip install iris master just to see if we can get things to work? |
I'm currently trying to move everything except python and iris into the pip section, let's see what kind of memory usage that gives us. Edit: that almost worked, it failed in the execution state. I'll try to install iris from github. |
iris from github would work, but cartopy has no wheels, so installing using pip fails. I'll stop investigating this for now and try to make CI pass. |
now that CI passes we only need to get the readthedocs build to work (and maybe re-apply #3464?). |
oh, and we have some warnings regarding missing document labels. Is there a way to reference labels in notebooks? |
Missing: section links in visualization_gallery.ipynb don't work yet, also the one in io.rst (it has a unicode char).
oh, and is there a reason why we merge into stable instead of master? |
I just switched it so we can tweet about binderable examples ;) |
Is that the last thing to fix? |
I would think so, but I think we can fix anything that pops up later in new PRs. |
one thing that might be done in a future PR is enabling the HTML reprs? |
Feel free to ignore since it's not a big deal relative to the benefits, but looks like this adds some recent changes on |
yeah, should we merge to stable we should probably rebase first |
@dcherian, I'd merge into master and then cherry-pick into stable? |
Should we change the base of this PR to master? Then we can choose when we push to stable? (But let's not get stuck on this, fine to just go ahead if we can't resolve) |
OK I jsut got too excited. |
ah, maybe we should move the |
Yes! there seems to be one new example entry |
would that be documentation or enhancements? |
Documentation |
Yes let's add appropriate entries for all those. |
how about
|
👍 |
done |
I think we can merge after making sure RTD still builds? |
Great work as usual @keewis ! |
* upstream/master: Add drop to api.rst under pending deprecations (pydata#3561) replace duplicate method _from_vars_and_coord_names (pydata#3565) propagate indexes in to_dataset, from_dataset (pydata#3519) Switch examples to notebooks + scipy19 docs improvements (pydata#3557) fix whats-new.rst (pydata#3554)
* upstream/master: (22 commits) Resolve the version issues on RTD (pydata#3589) Add bottleneck & rasterio git tip to upstream-dev CI (pydata#3585) update whats-new.rst (pydata#3581) Examples for quantile (pydata#3576) add cftime intersphinx entries (pydata#3577) Add pyXpcm to Related Projects doc page (pydata#3578) Reimplement quantile with apply_ufunc (pydata#3559) add environment file for binderized examples (pydata#3568) Add drop to api.rst under pending deprecations (pydata#3561) replace duplicate method _from_vars_and_coord_names (pydata#3565) propagate indexes in to_dataset, from_dataset (pydata#3519) Switch examples to notebooks + scipy19 docs improvements (pydata#3557) fix whats-new.rst (pydata#3554) Tweaks to release instructions (pydata#3555) Clarify conda environments for new contributors (pydata#3551) Revert to dev version 0.14.1 whatsnew (pydata#3547) sparse option to reindex and unstack (pydata#3542) Silence sphinx warnings (pydata#3516) Numpy 1.18 support (pydata#3537) ...
* upstream/master: (35 commits) fix plotting with transposed nondim coords. (pydata#3441) make coarsen reductions consistent with reductions on other classes (pydata#3500) Resolve the version issues on RTD (pydata#3589) Add bottleneck & rasterio git tip to upstream-dev CI (pydata#3585) update whats-new.rst (pydata#3581) Examples for quantile (pydata#3576) add cftime intersphinx entries (pydata#3577) Add pyXpcm to Related Projects doc page (pydata#3578) Reimplement quantile with apply_ufunc (pydata#3559) add environment file for binderized examples (pydata#3568) Add drop to api.rst under pending deprecations (pydata#3561) replace duplicate method _from_vars_and_coord_names (pydata#3565) propagate indexes in to_dataset, from_dataset (pydata#3519) Switch examples to notebooks + scipy19 docs improvements (pydata#3557) fix whats-new.rst (pydata#3554) Tweaks to release instructions (pydata#3555) Clarify conda environments for new contributors (pydata#3551) Revert to dev version 0.14.1 whatsnew (pydata#3547) sparse option to reindex and unstack (pydata#3542) ...
This PR tries to merge the scipy19-docs branch into master while also making sure that the readthedocs build does not fail (see #3199 and #3369).
black . && mypy . && flake8
There is also a preview page, but it currently fails because conda is taking too much memory (which the official builds do not). Does anyone know why that is?