Skip to content

Commit

Permalink
Update epfd_script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kuchaale committed Jun 23, 2015
1 parent e14b4d0 commit bb885ba
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions epfd_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def interp(lev, data, lev_int):

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
Fphi_int /= a

Fp_int = Fp_int/1.0e5
Fphi_int = Fphi_int/PI
Expand Down Expand Up @@ -137,10 +137,12 @@ def interp(lev, data, lev_int):
latitude.units = 'degrees north'

levels.units = 'hPa'
fx.units = 'kg/s^2'
fy.units = 'kg/s^2'


fx.units = 'm^2/s^2'
fy.units = 'm^2/s^2'
fd.units = 'm/s^2'
oc.units = 'Pa/day'
oc.units = 'Pa/s'
vc.units = 'm/s'

t[:] = tim
Expand Down

0 comments on commit bb885ba

Please sign in to comment.