UCB-stat-159-s23 / site

Public website for the "Collaborative and Reproducible Data Science" course at UC Berkeley (Stat 159/259, Spring 2023 term).
https://ucb-stat-159-s23.github.io/site/
8 stars 6 forks source link

Climate and xarray Lecture + Lab06 #10

Closed facusapienza21 closed 1 year ago

facusapienza21 commented 1 year ago

This includes the contents from Chelle's lecture with the xarray tutorial modified and with more comments. It also includes the Lab06 for this Friday with the xarray practice. A version of the JupyterBook can be found here.

I am planning to make some more changes here, including the RA for next week and some small changes in both the lectures and lab for Friday, but I think this is a good starting point to integrate the xarray contents in the course website.

fperez commented 1 year ago

Spelling notes: -"assumption of obserbartions" -> "assumption of observations".

I'm sure there's more, but no worries - I know you're typing super fast while the lectures are happening, and it's very annoying to edit a doc like that without spellcheck support. I've just added the jupyterlab spellcheck package, which I hope will make this more convenient (I should have done it before!). I haven't used it myself, but let's see how it goes, hopefully it will make the environment more pleasant for all of us.

fperez commented 1 year ago

OK, with the spellcheck extension (currently only on staging), cells in the notebook with spelling errors are much easier to work with:

image

You can right-click on them to get a context menu with suggested corrections:

image

We'll get this merged into prod quickly, but in the meantime you can use the staging hub if you want to work on these and fix some of the spelling issues.

fperez commented 1 year ago

Subletting -> subsetting (in xarray notebook)

fperez commented 1 year ago

In the testing one - "Optimization is the route to all evil" -> "Premature optimization is the root of all evil" (it's a famous quote in CS).

fperez commented 1 year ago

This is great though - we'll iterate further, and it will be easier to polish this much new text with a spell checker in place :)

Thanks for the work! Merging now so you can use it in lab tomorrow and we'll continue refining. Thanks!

facusapienza21 commented 1 year ago

This is lovely @fperez! Finally I will be able to do the spell check much faster and efficient. I am terrible with this even in Spanish and I always switch characters and I don't see the difference unless I have a grammar spelling tool. Thank you!