NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

[IDV #OTE-409048]: Trouble Converting NetCDF to Excel



> Full Name: Rebecca Boyd
> Email Address: address@hidden
> Organization: University of Denver
> Package Version: 5.0u2 build date:2014-11-12 20:09 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_5.0u2\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Writing grid to xls file: 
> C:\Users\Becca\Documents\NARCCAP\pr_RCM3_gfdl_1968010103.nc
> java.io.IOException
> 
> Hello, I am having trouble converting my NetCDF files to Excel files. Is the 
> input an existing excel file or the file I am trying to convert (couldn't get 
> it to work either way)? I am also not sure if the file is too large. I am 
> using Windows 7, 64bit, and just re-downlaoded a new version of IDV tonight, 
> 5.0u2.
> 
> Thank you.
> 

Rebecca,
       I tried on the file copied from you and see no problem. You may call me 
back on (3)4978662 to explain how you did this.


Yuan
> ******************
> Stack trace:
> java.io.IOException
> at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:610)
> at ucar.visad.data.GeoGridFlatField.readData(GeoGridFlatField.java:244)
> at visad.data.CachedFlatField.getMyValues(CachedFlatField.java:463)
> at visad.data.CachedFlatField.unpackFloats(CachedFlatField.java:602)
> at visad.FlatField.getFloats(FlatField.java:1566)
> at ucar.unidata.data.grid.GridUtil.writeGridToXls(GridUtil.java:5812)
> 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:404)
> at org.python.core.PyObject.__call__(PyObject.java:408)
> at org.python.pycode._pyx65.writeGridToXls$37(<string>:337)
> at org.python.pycode._pyx65.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:149)
> at org.python.core.PyFunction.__call__(PyFunction.java:327)
> at org.python.pycode._pyx70.f$0(<string>:1)
> at org.python.pycode._pyx70.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.__builtin__.eval(__builtin__.java:484)
> at org.python.core.__builtin__.eval(__builtin__.java:488)
> at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:190)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:795)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:243)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207)
> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:206)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:163)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:144)
> at 
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:299)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3278)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664)
> at 
> ucar.unidata.idv.control.ImagePlanViewControl.setData(ImagePlanViewControl.java:154)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085)
> at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:986)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:911)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: OTE-409048
Department: Support IDV
Priority: Normal
Status: Open