Skip to content
Snippets Groups Projects
Commit 64290210 authored by rink's avatar rink
Browse files

snapshot..

parent 39d9db92
Branches
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ def pressure_to_altitude(pres, temp, prof_pres, prof_temp, sfc_pres=None, sfc_te
prof_temp = np.array(temp_s)
i_bot = prof_pres.shape[0] - 1
if sfc_pres > prof_pres[i_bot]:
if sfc_pres > prof_pres[i_bot]: # surface below profile bottom
pres_s = pres_s + [sfc_pres]
temp_s = temp_s + [sfc_temp]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment