Re: NetCDF

Hi Ethan,
 
> Anyway, I'm visualizing real time data here (Time -> value1, value2, ...,
> valueN).  But I would like to store the data as it comes, into a netCDF
> file. Bill has already given very useful on displaying data as it comes
> (Thanks!). Is there a simple class library out there that can help me do
> this? I just want a no frills class, just good enough to store the file,
> and have VisAD read it again. Or would it be easiest to simply fill my 
> data object with the new data, and when I want to save, just use
> plain.save?
>   
> The latter approach seems great if I had a .nc file to start with. But
> the problem is I don't have one. My historical data is still in .txt 
> and I would like to get it into a .nc so that I can get the cycle
> started. I.e. read a .nc, update with new data, and write a new .nc.
 
The latter approach will work, even though you are not starting
with a netCDF file.  That is, visad.data.netcdf.Plain.save() is
a great way to create .nc files from scratch.
 
Please let us know if you have any trouble with this.
 
Cheers,
Bill
p.s., please try to send your messages as plain text rather than
attachments, which are difficult to read with pine (which I use
when I'm away from the office).
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html



  • Follow-Ups:
    • Re: NetCDF
      • From: From: Bill Hibbard <hibbard@xxxxxxxxxxxxxxxxx>
  • References:
  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: