[ncl-talk] Extra-numeric data types

David Brown dbrown at ucar.edu
Fri Apr 22 16:00:36 MDT 2016


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
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


More information about the ncl-talk mailing list