[ncl-talk] unit confusion for grad_Latlon_cfd operator

Dennis Shea shea at ucar.edu
Wed Jun 12 09:11:08 MDT 2019


You mean: *grad_latlon_cfd*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/grad_latlon_cfd.shtml>

Than answer is /meter

>From Example 1:

  gradLatLon  = *grad_latlon_cfd* (T, T&lat T&lon, True, False)

  T_grad_lat  = gradLatLon*[0]*    ; for clarity; explicitly extract
variables from returned 'list'
  T_grad_lon  = gradLatLon*[1]*
  *delete* <http://www.ncl.ucar.edu/Document/Functions/Built-in/delete.shtml>(gradLatLon)

; replace the generic attributes with more specific attributes

  T_grad_lon at long_name = "longitudinal gradient (derivative)"
  T_grad_lat at long_name = "latitudinal gradient (derivative)"
  T_grad_lat at units     = *"K/m"*
  T_grad_lon at units     = *"K/m"*

====

Also: I see a documentation error in Example 2

SST_grad_lat at units = "C/km"

should be

SST_grad_lat at units = "C/m"


On Wed, Jun 12, 2019 at 1:20 AM USHNANSHU DUTTA <ushnanshudutta at gmail.com>
wrote:

>
> Hello ,
> Can anybody confirm that whether this function *grad_Latlon_cfd* compute
> the gradient in /deg unit or in /meter unit?
>
>
> --
> Ushnanshu Dutta
> Research Fellow
> Indian Institute of Tropical Meteorology
> Pune,411008
> Mob: 9405022799
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190612/0c586c9b/attachment.html>


More information about the ncl-talk mailing list