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

[IDV #PZG-934478]: xml



Greetings Amir,

I don't think the IDV will be able to read the xml file without building a 
custom reader within netCDF Java. For more information on how to approach 
writing a reader for netCDF Java (called an I/O Service Provider, or IOSP), 
please see

http://www.unidata.ucar.edu/software/netcdf-java/tutorial/IOSPoverview.html

Cheers,

Sean

> hi sean
> 'this file is a xml data of tehran radar and i want to use it for data
> assimilation.
> thancks lot
> 
> address@hidden> wrote:
> 
> > Greetings Amir,
> >
> > There seems to be an issue with the file you are trying to open. Did you
> > download this file from the internet, or is this a file you produced
> > yourself?
> >
> > Cheers,
> >
> > Sean
> >
> > > Full Name: amir
> > > Email Address: address@hidden
> > > Organization: ut
> > > Package Version: 3.0u2 build date:2012-02-10 17:21 UTC
> > > Operating System: Windows XP
> > > Hardware: Java: home: C:\Program Files\IDV_3.0u2\jre version: 1.6.0_20
> > j3d:1.5.2 fcs (build4)
> > > Description of problem: There was an error loading the data:
> > > Error creating data source:file.imagexml with: C:\Documents and
> > Settings\amha\Desktop\2009032900002000dBuZ.xml.vol
> > > Loading image xml file: C:\Documents and
> > Settings\amha\Desktop\2009032900002000dBuZ.xml.vol
> > > Error parsing xml: C:\Documents and
> > Settings\amha\Desktop\2009032900002000dBuZ.xml.vol
> > > The markup in the document following the root element must be
> > well-formed.
> > > The markup in the document following the root element must be
> > well-formed. line:282 column:2
> > >
> > >
> > > ******************
> > > Stack trace:
> > > java.lang.IllegalStateException: Error parsing xml: C:\Documents and
> > Settings\amha\Desktop\2009032900002000dBuZ.xml.vol
> > > The markup in the document following the root element must be
> > well-formed.
> > > The markup in the document following the root element must be
> > well-formed. line:282 column:2
> > >
> > > at ucar.unidata.xml.XmlUtil.getDocument(XmlUtil.java:1337)
> > > at ucar.unidata.xml.XmlUtil.getRoot(XmlUtil.java:1283)
> > > at
> > ucar.unidata.data.imagery.ImageXmlDataSource.doMakeDataChoices(ImageXmlDataSource.java:308)
> > > at
> > ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1839)
> > > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> > > at
> > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980)
> > > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897)
> > > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831)
> > > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1804)
> > > at
> > ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> > > at
> > ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> > > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> > > at
> > ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > > at java.lang.reflect.Method.invoke(Unknown Source)
> > > at ucar.unidata.util.Misc$2.run(Misc.java:1062)
> > > at ucar.unidata.util.Misc$3.run(Misc.java:1090)
> > >
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: PZG-934478
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: PZG-934478
Department: Support IDV
Priority: Normal
Status: Open