The documentation is indeed unclear. What is supposed to be the case is that using nc_put_vara() or nc_put_var() assume the memory data is of the same type as the variable type, and no conversion occurs. This assumption is necessary because there is otherwise no way to know the type of the memory data. Using nc_put_vara_XXX() or nc_put_var_XXX() assumes the memory type is XXX and it should be converted (if possible) to the type of the variable before writing to disk. =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: HPO-776120 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.