Skip to content
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

Issue on page /tutorials/W1D2_StateoftheClimateOceanandAtmosphereReanalysis/student/W1D2_Tutorial6.html #211

Open
joaoambiente opened this issue Jul 18, 2023 · 0 comments

Comments

@joaoambiente
Copy link

Cell contents such as this one would benefit from more thorough explanations about what is being done.
Also, the dA coordinate is mentioned but dX is used.

# plot a zonal mean slice of this data. we take a mean just in longitudes by dividing the dA coordinate by the
fig, ax = plt.subplots(figsize=(8, 6))
(
    ((subset_theta - 273.15) * subset_theta.dX).sum("longitude")
    / (subset_theta.dX.sum("longitude"))
).plot(ax=ax)
ax.set_title("Global zonal mean of temperature (C)")

In this example, the comment is simply incomplete.
Please watch out for other cells with incomplete comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant