Skip to content

Commit

Permalink
Update epfd_script.py
Browse files Browse the repository at this point in the history
Added tendency scaling for EP flux divergence.
  • Loading branch information
kuchaale committed Jun 1, 2015
1 parent 1e0c33a commit af90098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epfd_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ 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))
Fp_int = Fp_int*np.reshape(np.cos(phi),(1,1,nlat))
Fphi_int = Fphi_int/a

Fp_int = Fp_int/1.0e4
Fp_int = Fp_int/1.0e5
Fphi_int = Fphi_int/PI

if scale_by_sqrt_p:
Expand Down

0 comments on commit af90098

Please sign in to comment.