python-training
python-training copied to clipboard
Notebooks teaching Python for use meteorology and atmospheric and climate sciences.
As revealed by [this StackOverflow question](https://stackoverflow.com/questions/71015677/got-typeerror-got-an-unexpected-keyword-argument-dim-order-when-calculating-t/) the [MetPy Case Study workshop notebook](https://unidata.github.io/python-training/workshop/MetPy_Case_Study/metpy-case-study/) uses out-of-date API for `mpcalc.advection` (like https://github.com/Unidata/python-training/issues/125), but also has a now-horrifying amount of boiler-plate code for things...
As discovered in https://stackoverflow.com/questions/68477310/issue-using-mpcalc-advection-to-calculate-advection-of-a-scalar-field, the [QG analysis notebook](https://unidata.github.io/python-training/workshop/MetPy_Advanced/qg-analysis/) appears to use pre-MetPy 1.0 API for advection. So, this looks like it was another notebook unfortunately missed in the updates of...
added quick tutorials for pandas, NumPy and SciPy.
``` HTTPError: 404 Client Error: 404 for url: https://thredds.ucar.edu/thredds/catalog/satellite/WV/WEST-CONUS_4km/current/catalog.xml ``` Looping @wendiflynn into the conversation.
Even when I find a valid timestamp (invalid timestamp yields `404`) I get an error in the second cell. For example: `Server Error (500: java.lang.IllegalStateException: No records found in dataset...
Capturing a thought to include more international or non-US domain examples in the gallery and other materials
https://unidata.github.io/python-training/python/intro-to-python/ Link is broken under Beginning Python Concepts > Control Flow > Functions
macOS Big Sur 11.2.3, Python 3.8, metpy 1.0. The temperature conversion to degrees celsius results in an attribute error: 'DataArray' object has no attribute 'to' and 'DataArray' object has no...
Fixes #117. Adds an example of making the wrong assumption about how cat.datasets works as part of teaching the API. Also changes the description of how filtering by time works...