[netcdfgroup] netcdf4 -problems

Henry Butowsky henryb at ntlworld.com
Mon Jan 14 04:54:13 MST 2008


Hi all,
Not sure if this a bug or a feature in netcdf4 (hdf5 files)
    After my script has written variables to output I then add  the 
attributes:
   
    With the following code executed in define mode
    
*(void)nco_put_att(out_id,var_id,"_FillValue",var_ref->type,1,var_ref->mss_val.vp);            
*

     I get the the error message:

    * nco_err_exit(): ERROR Error code is -122. Translation into English 
with nc_strerror(-122) is "Attempt to define fill   value when data 
already exists."
*
    Regards Henry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/attachments/20080114/b3cf6a5b/attachment.html 


More information about the netcdfgroup mailing list