Skip to content

Commit

Permalink
zi: 25-75 percentiles, ctt: max. and min. values at respective levels
Browse files Browse the repository at this point in the history
  • Loading branch information
floriantornow committed Oct 26, 2023
1 parent f313ab2 commit f9b8f0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions notebooks/plotting/example_plotting.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions notebooks/plotting/functions_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ def load_kazrkollias(case='20200313',t_filter = 1.,PATH='../../data_files/',aux_
aux_dat['zdiff.25'] = np.abs(aux_dat['zf'] - np.float(p_df['zi.25']))
aux_dat['zdiff.75'] = np.abs(aux_dat['zf'] - np.float(p_df['zi.75']))
p_df['ctt'] = np.mean(aux_dat.loc[aux_dat['zdiff'] < 10,'ta']) - 273.15
p_df['ctt.25'] = np.min(aux_dat.loc[aux_dat['zdiff.25'] < 10,'ta']) - 273.15
p_df['ctt.75'] = np.max(aux_dat.loc[aux_dat['zdiff.75'] < 10,'ta']) - 273.15
p_df['ctt.25'] = np.max(aux_dat.loc[aux_dat['zdiff.25'] < 10,'ta']) - 273.15
p_df['ctt.75'] = np.min(aux_dat.loc[aux_dat['zdiff.75'] < 10,'ta']) - 273.15

return p_df

Expand Down

0 comments on commit f9b8f0b

Please sign in to comment.