[ncl-talk] Bug report: fbindirwrite
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Fri Aug 15 18:21:36 MDT 2014
NCL team,
The documentation for fbindirwrite says that the second argument may be of
any type. This fails for arguments of type character and string:
Platform = Mac OS 10.9.4, x86_64
NCAR Command Language Version 6.2.0
ncl 0> str = "abcdef"
ncl 1> fbindirwrite ("test.bin", str)
fatal:Argument type mismatch on argument (1) of (fbindirwrite) can not
coerce
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 1
ncl 0> chars = stringtochar ("abcdef")
ncl 1> fbindirwrite ("test.bin", chars)
fatal:Argument type mismatch on argument (1) of (fbindirwrite) can not
coerce
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 1
Numerics work fine. Please add this to the bug list with low priority. I
only found this while looking at that mixed types problem. Thank you.
--Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140815/616243bd/attachment.html
More information about the ncl-talk
mailing list