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: Lauri Myllyvirta > Email Address: address@hidden > Organization: Greenpeace > Package Version: 3.1u1 build date:2012-11-30 17:36 UTC > Operating System: Windows 7 > Hardware: Java: home: C:\Program Files\IDV_3.1u1\jre version: 1.6.0_31 > j3d:1.5.2 fcs (build4) > Description of problem: Hello, > > thank you for an excellent piece of software. I have been using the IDV > to visualize atmospheric dispersion model runs (MSC-W model), that are > generated in netCDF format. What I have done is import the netCDF data > to IDV, calculate gridded differences in baseline and scenario run > concentrations, and average the differences over time to get a > dispersion map. So far so good. When I try to export the results to > Excel in order to combine this data with population data, I get the > error below. I see the data that I need in the data table display, I > can switch between the native coordinates (50x50km grid) and lat-long > coordinates etc, but cannot find a way to export without errors. I > don't really need the data in a valid grid, I just need the raw table. > > Writing grid to xls file: C:\Users\lmyllyvi\Documents\IDV\gerze > Gridded2DSet: samples do not form a valid grid (6,109) > Hi Lauri, Not very sure what is wrong here, could you upload a sample file here: http://motherlode.ucar.edu/repository/alias/idvupload Yuan > Thank you so much for any help. Please instruct what files to pass on. > The original input files are about 1 Gb each. > > Best, > > Lauri Myllyvirta > > ****************** > Stack trace: > visad.SetException: Gridded2DSet: samples do not form a valid grid (6,109) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:171) > at visad.GriddedSet.create(GriddedSet.java:202) > at visad.GriddedSet.create(GriddedSet.java:130) > at ucar.visad.Util.newSampledSet(Util.java:905) > at ucar.visad.Util.newSampledSet(Util.java:862) > at ucar.visad.Util.newSampledSet(Util.java:830) > at ucar.visad.Util.convertDomain(Util.java:708) > at ucar.unidata.data.grid.GridUtil.writeGridToXls(GridUtil.java:5570) > 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._pyx95.writeGridToXls$36(<string>:332) > at org.python.pycode._pyx95.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._pyx110.f$0(<string>:1) > at org.python.pycode._pyx110.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:782) > 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:205) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:162) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:143) > at > ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:284) > at > ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3176) > at > ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3158) > at > ucar.unidata.idv.control.GridTableControl.setData(GridTableControl.java:125) > at ucar.unidata.idv.control.GridTableControl.init(GridTableControl.java:108) > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1419) > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1102) > 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:1250) > > > Ticket Details =================== Ticket ID: RTE-857264 Department: Support IDV Priority: Normal Status: Open