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

[netCDFJava #IPF-403954]: NetcdfFile.sync()

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 #IPF-403954]: NetcdfFile.sync()
  • Date: Thu, 16 May 2013 15:20:06 -0600

> In CDM 4.2, we were calling the sync() method on NetcdfFile and
> NetcdfDataset - presumably to get any file updates that may have
> occurred on continually updating files.  This method does not seem to
> exist in CDM 4.3.  Is this no longer necessary or is there another
> method we should be calling as a replacement.
> 
> Don
> --
> Don Murray
> NOAA/ESRL/PSD and CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> 
> 

It turns out we cant get sync() right most of the time, so its been removed.
The obvious thing to do is check for lastModified date, and reopen if needed.

John

Ticket Details
===================
Ticket ID: IPF-403954
Department: Support netCDF Java
Priority: Normal
Status: Open