[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #LHS-725131]: NetcdfFileWriter needs to rename original file?

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.


  • Subject: [netCDFJava #LHS-725131]: NetcdfFileWriter needs to rename original file?
  • Date: Fri, 31 Mar 2017 17:21:40 -0600

Hi Matthew,

I've created a GitHub issue that explains the situation pretty well [1].

There's no good reason for the current behavior, other than it was much more 
convenient to stage the edits in the CDM objects.

You don't see this behavior in Python or Matlab because they make the edits 
directly to the file using the native C library, rather than staging the edits 
in an intermediate data model and then completely rewriting.

Thanks for bringing this to our attention,
-Christian

[1] https://github.com/Unidata/thredds/issues/791

Ticket Details
===================
Ticket ID: LHS-725131
Department: Support netCDF Java
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.