[ncl-talk] Extra-numeric data types

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Apr 22 16:14:27 MDT 2016


Dave B,

That is good news.  Thank you.  At the moment I am interested in min/max
family functions, and it looks like many of those are updated.

--Dave A.


On Fri, Apr 22, 2016 at 4:00 PM, David Brown <dbrown at ucar.edu> wrote:

> Hi Dave,
> For the functions you mention, this is actually a documentation issue.
> These built-in functions have support for all numeric types:
>
> fspan
> ispan
> maxind
> minind
> max
> min
> dim_max
> dim_min
> dim_max_n
> dim_min_n
> isnumeric
> isenumeric
> issnumeric
> filedimdef
> sinh
> cosh
> tanh
> sin
> cos
> tan
> asin
> acos
> atan
> atan2
> ceil
> floor
> fabs
> log
> exp
> log10
> sqrt
> -----
> sprinti supports all integer types.
>
> Apparently the docs need updating. And clearly there are still many
> functions that have not been updated.
>  -dave
>
>
> On Fri, Apr 22, 2016 at 3:10 PM, Dave Allured - NOAA Affiliate
> <dave.allured at noaa.gov> wrote:
> > NCL team,
> >
> > Extra-numeric data types (ubyte, ushort, uint, ulong, int64, and uint64)
> > were added to NCL six years ago.  I noticed that a number of generic NCL
> > library functions do not currently support extra-numeric types.  In
> > particular I was just looking through the min/max and dim_min/dim_max
> > families.
> >
> > Do you have any plans for phasing in more support for extra-numeric
> types in
> > the NCL function library?
> >
> > This is only a curiosity right now.  I do not have any pressing current
> > need.  However, I like to support all possible data types when writing
> > generic code, and currently I am constrained in this regard by the NCL
> > function library.
> >
> > --Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160422/ecc9ac5e/attachment.html 


More information about the ncl-talk mailing list