[netcdf-java] Tracking Writer.finish() progress

Christopher Mueller cmueller at asascience.com
Tue Jan 8 08:58:02 MST 2008


John et al.,

I have an application that contacts an OpENDAP server, gets a subset of an
available dataset, and then writes the desired data to a local Netcdf file.
Everything works quite well (for most datasets), however I have not been
able to find a way to keep track of the progress of the dataset as it
downloads/writes to disk.  Is there a way to do this??  I have profiled the
methods and discovered that essentially all of the processing time is within
the FileWriter.finish() call.

Does anyone have any ideas on how I can inform the user of the progress
without resorting to an indeterminate progress bar (which is what I¹m
currently using)??

Thanks in advance,
Chris

-- 
Christopher Mueller | Scientist
Applied Science Associates
70 Dean Knauss Drive | Narragansett, RI 02882 USA
p: +1 401-789-6224 | f: +1 401-789-1932
e: cmueller at asascience.com | www.asascience.com

ASA | Science. Services. Solutions

Imagination is everything.  It is the preview of life's coming attractions.
- Albert Einstein

Whether you think you can or think you can't, either way you are right. -
Henry Ford

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdf-java/attachments/20080108/29e0cb00/attachment.html 


More information about the netcdf-java mailing list