Opening and Closing Plain


Greetings,

Is there a way to "unload" or close one netCDF file and then "load" or open a new netCDF file while the program is still running?

I have an application where a user can chose a radar site. When a site is chosen, it should read a terrain map (netCDF) into VisAD. If the user then wants to chose a different site, the application should unload the existing netCDF file, clear all the associated maps from VisAD implementations, and load the new netCDF file.

Currently I am using Plain, but there does not appear to be any close() method for Plain.

Any help is greatly appreciated!

-kevin.


--
+------------------------------------------------------------+
Kevin L. Manross        [KD5MYD]               (405)-366-0557
CIMMS Research Associate               kevin.manross@xxxxxxxx
[NSSL-WRDD/SWATN]           http://www.cimms.ou.edu/~kmanross

"My opinions are my own and not representative of CIMMS, NSSL,
 NOAA or any affiliates"
+------------------------------------------------------------+