From da098e464273a91b21fedffbaf187001417880cc Mon Sep 17 00:00:00 2001 From: rezmitt96 Date: Tue, 28 Apr 2026 03:09:22 +0800 Subject: [PATCH] DOC: Add comment clarifying temperature units in Kelvin --- examples/cross_section.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/cross_section.py b/examples/cross_section.py index b98cb2ef4c9..cd0b4a6707a 100644 --- a/examples/cross_section.py +++ b/examples/cross_section.py @@ -50,6 +50,7 @@ # For this example, we will be plotting potential temperature, relative humidity, and # tangential/normal winds. And so, we need to calculate those, and add them to the dataset: +# Temperature is in Kelvin for the NARR dataset cross['Potential_temperature'] = mpcalc.potential_temperature( cross['isobaric'], cross['Temperature']