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.
Andrea- To merge multiple files, the names of the variables have to be the same in all. So, you could not have codebook02 in one and codebook03 in the next. If that is not the case, please send an additional sample file so we can track down the problem further. Don Murray > Full Name: Andrea Pellegrini > Email Address: address@hidden > Organization: ENEA/PNRA > Package Version: 2.8u1 build date:2010-02-02 22:30 UTC > Operating System: Windows 7 > Hardware: Java: home: C:\Program Files\IDV_2.8u1\jre version: 1.6.0_17 > j3d:1.5.2 fcs (build4) > Description of problem: > > I wanted to plot gridded data stored in a CSV file (latitude, > longitude,500 hPa Geopotential), with proper headings in VisAD format. > Adding one file at time - as 'Data Source' - is OK. When I try to load > 2 or more files as data sources, the error message appears: > > Creating display: Contour Plan View > FieldImpl.setSample: bad range type > > Attached is an example of CSV file. Please, note that the variable is > named 'codebookXX' and not 'geopotential' because it is the result of a > SOM. > > Thank you, > > A. Pellegrini > > ****************** > Stack trace: > visad.TypeException: FieldImpl.setSample: bad range type > at visad.FieldImpl.setSample(FieldImpl.java:734) > at visad.FieldImpl.setSample(FieldImpl.java:713) > at ucar.unidata.data.point.PointObFactory.mergeData(PointObFactory.java:1897) > at > ucar.unidata.data.point.PointDataSource.getDataInner(PointDataSource.java:1154) > at > ucar.unidata.data.point.TextPointDataSource.getDataInner(TextPointDataSource.java:2402) > at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:2235) > at ucar.unidata.data.DirectDataChoice.getData(DirectDataChoice.java:332) > at ucar.unidata.data.DataChoice.getData(DataChoice.java:637) > at ucar.unidata.data.DataInstance.getData(DataInstance.java:239) > at ucar.unidata.data.DataInstance.getData(DataInstance.java:203) > at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:202) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:159) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:140) > at > ucar.unidata.idv.control.PlanViewControl.doMakeDataInstance(PlanViewControl.java:1306) > at > ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3040) > at > ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3022) > at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:577) > at > ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:112) > at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:434) > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1302) > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1003) > at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:987) > at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:912) > at ucar.unidata.util.Misc$3.run(Misc.java:1096) > > > Ticket Details =================== Ticket ID: BUI-503073 Department: Support IDV Priority: Normal Status: Open