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

snapshot..

parent 39d9db92
No related branches found
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 ...@@ -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) prof_temp = np.array(temp_s)
i_bot = prof_pres.shape[0] - 1 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] pres_s = pres_s + [sfc_pres]
temp_s = temp_s + [sfc_temp] temp_s = temp_s + [sfc_temp]
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment