diff --git a/epfd_script.py b/epfd_script.py index 4d157ae..8f4e011 100644 --- a/epfd_script.py +++ b/epfd_script.py @@ -102,7 +102,7 @@ def interp(lev, data, lev_int): V_res_int = np.copy(V_res) O_res_int = np.copy(O_res) -Fdiv_int /= np.reshape(np.cos(phi),(1,1,nlat)) +Fdiv_int /= np.reshape(a*np.cos(phi),(1,1,nlat)) Fp_int = Fp_int*np.reshape(np.cos(phi),(1,1,nlat)) Fphi_int = Fphi_int/a