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

IDV bundle file creation

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: IDV bundle file creation
  • Date: Wed, 08 Oct 2003 16:40:16 -0600

Kalika,

You can look at the XML encoding of a bundle file by saving a bundle
file using the File->Save as menu selection, and saving a file with
extension .xidv.  Then look at that file with any normal editor, or
print it, to read the XML.

You can save a "jnlp file" with the same menu selection and using a file
extension of .jnlp. That file also can be viewed in an editor but the
bundle information part of it is base64-encoded xml (using
org.apache.xerces.utils.Base64) and is not human-readable.

Both kinds of files are written by the method doSave(String filename) in
the class 
ucar/unidata/idv/IntegratedDataViewer.java which makes calls on code in
ucar/unidata/xml/XmlEncoder.java and other classes.

Stuart Wier

> 
> Hi
> 
> I want to look into bundle files. How exactly a bundle file is created ? I
> would like to look into that code , also like to study various elelemts in
> xml format in a bundle file
> 

-- 
****************************************************************************
Unidata User Support                                    UCAR Unidata
Program
303 497 8643                                                  P.O. Box
3000
address@hidden                                   Boulder, CO
80307
----------------------------------------------------------------------------
Unidata WWW Service             
http://my.unidata.ucar.edu/content/support
****************************************************************************