This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Michael, > To: address@hidden > From: Michael Eckhoff <address@hidden> > Subject: NF_PUT_VAR_REAL bug: no more > Organization: . > Keywords: 200004131531.JAA22736 In the above message, you wrote: > Thanks for you're prompt reply to > my problem. As usual, I discovered > my mistake 10 minutes after reading your > reply. Been there. Done that. :-) > I had to use NF_PUT_VAR_DOUBLE instead > of NF_PUT_VAR_REAL because my makefile > was compiling with the -r8 option > (on a dec alpha). > > The other problem I was having was similar. > A subroutine was reading the xtype as float, > and used NF_GET_VAR_REAL to retrieve bad data. Sounds familiar. > Sorry for the nuissance, but I really did try > hard to figure this out on my own. No problem. It's a complicated system. Regards, Steve Emmerson <http://www.unidata.ucar.edu>