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

[IDV #WEW-971638]: convertUnits failed



> Hi Jeff
> 
> I have a trouble with my email account of fisica.ucr.ac.cr, and I need to
> answer you with this email.
> 
> So this is my infomation
> 
> Ticket ID: AMH-901038
> Subject: WARNING: convertUnits failed
> Department: Support IDV
> Priority: Normal
> Status: Open
> 
> Now I'm generating a image with the IDV from a local file, this data is from
> the LDM the data are GINI files
> 
> Cheers
> 
> Reymer Vargas
> School of Physics
> University of Costa Rica
> 
Reymer Vargas,
       Could you upload a sample file to Unidata site:
 http://motherlode.ucar.edu/repository/alias/idvupload

And some description of what you are trying to do. I would like to take a look 
why the unit conversion fail.


Yuan
> Apr 9, 2010 11:26:52 AM ucar.nc2.dt.grid.GridCoordSys
> convertUnits
> WARNING: convertUnits
> failed
> java.lang.IllegalArgumentException: Can't convert from unit "1" to unit
> "1000.0 m"
> at
> ucar.nc2.units.SimpleUnit.convertTo(SimpleUnit.java:275)
> at
> ucar.nc2.dt.grid.GridCoordSys.convertUnits(GridCoordSys.java:558)
> at
> ucar.nc2.dt.grid.GridCoordSys.<init>(GridCoordSys.java:297)
> at
> ucar.nc2.dt.grid.GridCoordSys.makeGridCoordSys(GridCoordSys.java:253)
> at
> ucar.nc2.dt.grid.GridDataset.constructCoordinateSystems(GridDataset.java:153)
> 
> at
> ucar.nc2.dt.grid.GridDataset.<init>(GridDataset.java:133)
> at
> ucar.nc2.dt.grid.GridDataset.<init>(GridDataset.java:114)
> at
> ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:104)
> at
> ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:89)
> at
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1084)
> 
> at
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1106)
> 
> at
> ucar.unidata.data.grid.GeoGridDataSource.initAfterUnpersistence(GeoGridDataSource.java:377)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager$17.run(IdvPersistenceManager.java:3463)
> 
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:273)
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:245)
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:212)
> at
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:3472)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:3036)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager$11.run(IdvPersistenceManager.java:2858)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:2867)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagBundle(ImageGenerator.java:2145)
> 
> 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.idv.ui.ImageGenerator.processNode(ImageGenerator.java:913)
> at
> ucar.unidata.idv.ui.ImageGenerator.processChildren(ImageGenerator.java:947)
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagGroup(ImageGenerator.java:2446)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagIsl(ImageGenerator.java:2400)
> 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.idv.ui.ImageGenerator.processNode(ImageGenerator.java:913)
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFile(ImageGenerator.java:826)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFile(ImageGenerator.java:750)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFiles(ImageGenerator.java:734)
> 
> at
> ucar.unidata.idv.ArgsManager$1.run(ArgsManager.java:406)
> at
> ucar.unidata.idv.ArgsManager.runInitRunnables(ArgsManager.java:453)
> at
> ucar.unidata.idv.ArgsManager.access$000(ArgsManager.java:73)
> at
> ucar.unidata.idv.ArgsManager$3.run(ArgsManager.java:432)
> at
> ucar.unidata.util.Misc$3.run(Misc.java:1096)
> Apr 9, 2010 11:26:52 AM ucar.nc2.dt.grid.GridCoordSys
> convertUnits
> WARNING: convertUnits
> failed
> java.lang.IllegalArgumentException: Can't convert from unit "1" to unit
> "1000.0 m"
> at
> ucar.nc2.units.SimpleUnit.convertTo(SimpleUnit.java:275)
> at
> ucar.nc2.dt.grid.GridCoordSys.convertUnits(GridCoordSys.java:558)
> at
> ucar.nc2.dt.grid.GridCoordSys.<init>(GridCoordSys.java:298)
> at
> ucar.nc2.dt.grid.GridCoordSys.makeGridCoordSys(GridCoordSys.java:253)
> at
> ucar.nc2.dt.grid.GridDataset.constructCoordinateSystems(GridDataset.java:153)
> 
> at
> ucar.nc2.dt.grid.GridDataset.<init>(GridDataset.java:133)
> at
> ucar.nc2.dt.grid.GridDataset.<init>(GridDataset.java:114)
> at
> ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:104)
> at
> ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:89)
> at
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1084)
> 
> at
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1106)
> 
> at
> ucar.unidata.data.grid.GeoGridDataSource.initAfterUnpersistence(GeoGridDataSource.java:377)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager$17.run(IdvPersistenceManager.java:3463)
> 
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:273)
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:245)
> at
> visad.util.ThreadManager.runInParallel(ThreadManager.java:212)
> at
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:3472)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:3036)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager$11.run(IdvPersistenceManager.java:2858)
> 
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:2867)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagBundle(ImageGenerator.java:2145)
> 
> 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.idv.ui.ImageGenerator.processNode(ImageGenerator.java:913)
> at
> ucar.unidata.idv.ui.ImageGenerator.processChildren(ImageGenerator.java:947)
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagGroup(ImageGenerator.java:2446)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processTagIsl(ImageGenerator.java:2400)
> 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.idv.ui.ImageGenerator.processNode(ImageGenerator.java:913)
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFile(ImageGenerator.java:826)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFile(ImageGenerator.java:750)
> 
> at
> ucar.unidata.idv.ui.ImageGenerator.processScriptFiles(ImageGenerator.java:734)
> 
> at
> ucar.unidata.idv.ArgsManager$1.run(ArgsManager.java:406)
> at
> ucar.unidata.idv.ArgsManager.runInitRunnables(ArgsManager.java:453)
> at
> ucar.unidata.idv.ArgsManager.access$000(ArgsManager.java:73)
> at
> ucar.unidata.idv.ArgsManager$3.run(ArgsManager.java:432)
> at ucar.unidata.util.Misc$3.run(Misc.java:1096)
> 
> 


Ticket Details
===================
Ticket ID: WEW-971638
Department: Support IDV
Priority: Normal
Status: Open