On 4/13/2012 9:31 AM, John Caron wrote:
On 4/13/2012 8:12 AM, Lorenzo Bigagli wrote:
I am creating a temporary netCDF file by means of the netCDF Java
API, to use it during some intermediate processing.
How can I delete it, afterwards?
Is there something like the java.io.delete() method, or any plan to
implement such a mechanism?
Dott. Lorenzo Bigagli
Consiglio Nazionale delle Ricerche
Istituto di Metodologie per l'Analisi Ambientale (CNR-IMAA)
i: Area della Ricerca di Potenza, Contrada Santa Loja
Zona Industriale, 85050 Tito Scalo (PZ), Italia
t: +39 0971 427221
f: +39 0971 427222
netcdf-java mailing list
For list information or to unsubscribe, visit:
Hi Lorenzo :
have a look at java.io.File.delete and java.io.File.createTempFile
sorry, i didnt explain that very well. after you close the file, use
File.delete() on it.
File.createTempFile() is just a way to generate a temporary file to
I will consider adding some convenience routines for this when i get a