We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cd98f commit f9c0158Copy full SHA for f9c0158
pysonde/readers/readers.py
@@ -137,15 +137,15 @@ def check_TU_sensor(self, snd):
137
a mismatch between T, Td and RH
138
"""
139
idx = np.where(
140
- snd.Temperature == snd.Dewpoint
+ snd.temperature == snd.dew_point
141
) # might need conversion to kelvin
142
_snd = snd.iloc[idx]
143
idx_pd = _snd.index
144
if np.any(
145
- snd.loc[idx_pd, "Humidity"] != 100
+ snd.loc[idx_pd, "humidity"] != 100
146
): # might need conversion to percent
147
logging.warning("Humidity mismatch, setting Td to nan")
148
- snd.loc[idx_pd, "Dewpoint"] = np.nan
+ snd.loc[idx_pd, "dew_point"] = np.nan
149
return snd
150
151
def read(self, cor_file, bufr_file=None, round_like_bufr=False):
0 commit comments