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.
> Full Name: hilda > Email Address: address@hidden > Organization: university of sherbrooke > Package Version: 3.0 build date:2011-08-29 16:38 UTC > Operating System: Windows Vista > Hardware: Java: home: C:\Program Files\IDV_3.0\jre version: 1.6.0_20 > j3d:1.5.2 fcs (build4) > Description of problem: Importing formulas > Error parsing xml: > F:\narr394_lat44.6_46.7_lon-73.5_-69.9_grib\narr394_lat44.6_46.7_lon-73.5_-69.9_197901.grb > Invalid byte 1 of 1-byte UTF-8 sequence. > Hilda, It looks like the IDV is complaining about the dataset, please upload a sample file here: http://motherlode.ucar.edu/repository/alias/idvupload I am on the trip this week, may not have time to check it till next week. Yuan > > ****************** > Stack trace: > java.lang.IllegalStateException: Error parsing xml: > F:\narr394_lat44.6_46.7_lon-73.5_-69.9_grib\narr394_lat44.6_46.7_lon-73.5_-69.9_197901.grb > Invalid byte 1 of 1-byte UTF-8 sequence. > > at ucar.unidata.xml.XmlUtil.getDocument(XmlUtil.java:1337) > at ucar.unidata.xml.XmlUtil.getRoot(XmlUtil.java:1283) > at ucar.unidata.idv.JythonManager.importFormulas(JythonManager.java:1674) > 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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186) > at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204) > at org.python.core.PyObject.__call__(PyObject.java:387) > at org.python.core.PyObject.__call__(PyObject.java:391) > at org.python.core.PyMethod.__call__(PyMethod.java:109) > at org.python.pycode._pyx68.f$0(<string>:1) > at org.python.pycode._pyx68.call_function(<string>) > at org.python.core.PyTableCode.call(PyTableCode.java:165) > at org.python.core.PyCode.call(PyCode.java:18) > at org.python.core.Py.runCode(Py.java:1261) > at org.python.core.Py.exec(Py.java:1305) > at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) > at ucar.unidata.idv.JythonManager.evaluateTrusted(JythonManager.java:1508) > at > ucar.unidata.idv.IntegratedDataViewer.handleFileOrUrlAction(IntegratedDataViewer.java:1559) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1659) > at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:114) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1623) > at > ucar.unidata.idv.IntegratedDataViewer.actionPerformed(IntegratedDataViewer.java:1706) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.AbstractButton.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown > Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > > Ticket Details =================== Ticket ID: STQ-362590 Department: Support IDV Priority: Normal Status: Open