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

minor

parent b7f8ccbf
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ def get_breaks(t, threshold):
return idxs
def pressure_to_altitude(pres, temp, prof_pres, prof_temp, sfc_pres, sfc_temp, sfc_elev):
def pressure_to_altitude(pres, temp, prof_pres, prof_temp, sfc_pres, sfc_temp, sfc_elev=0):
if not np.all(np.diff(prof_pres) > 0):
raise MyGenericException("target pressure profile must be monotonic increasing")
......
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