[gradsusr] Calculation of zonal gradient

Lyndz olagueralyndonmark429 at gmail.com
Thu Feb 7 07:04:00 EST 2019


Dear GrADS-experts,

I am trying to calculate the zonal gradient of U-wind component using the
cdiff() function.
Below is part of the script that calculates this.


'define dx = cdiff(lon,x)*3.1416/180'
'define du = cdiff(u*cos(lat*3.1416/180),y)'
'define grad=(du/dx)*(6.37e6*cos(lat*3.1416/180))*1e-8'

 I would like to ask if this is correct. I am still confused how to get the
correct dx here.

I'll appreciate any help.

Sincerely,

--Lyndz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190207/08cd59ea/attachment.html>


More information about the gradsusr mailing list