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

[IDV #HJI-297923]: Loading CF/Radial Convention files in IDV



Louise,

Try selecting a "Data Source Type" of "Radar files (NEXRAD/DORADE/UF)", in the
IDV Dashboard, Data Choosers Tab.

Let us know how it goes.

Best,

Unidata IDV Support


> Hi,
> 
> I downloaded IDV 5.2 and I am trying to display the example CF/Radial dataset 
> from :
> 
> http://www.ral.ucar.edu/projects/titan/docs/radial_formats/index.html
> 
> I've tried the classic version of the file in the Netcdf 4.6 Tools 
> (toolsUI-4.6.4), and the radial data is imported correctly.
> 
> I've tried opening both the netCDF class and netCDF 4 versions of the 
> datasets, but hen I try to open the data source, it recognizes it as  a 
> netCDF Radar Sweep file, but when I click "Add Source," I get the following 
> error:
> 
> java.lang.NullPointerException
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.loadData(NetcdfSweepfileAdapter.java:338)
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.init(NetcdfSweepfileAdapter.java:144)
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.<init>(NetcdfSweepfileAdapter.java:130)
> at 
> ucar.unidata.data.radar.NetcdfRadarDataSource.makeRadarAdapter(NetcdfRadarDataSource.java:132)
> at ucar.unidata.data.radar.RadarDataSource$1.run(RadarDataSource.java:298)
> 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.data.radar.RadarDataSource.makeAdapters(RadarDataSource.java:320)
> at 
> ucar.unidata.data.radar.RadarDataSource.getAdapters(RadarDataSource.java:252)
> at 
> ucar.unidata.data.radar.RadarDataSource.getRadarAdapters(RadarDataSource.java:637)
> at 
> ucar.unidata.data.radar.NetcdfRadarDataSource.doMakeDataChoices(NetcdfRadarDataSource.java:107)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1855)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1573)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1979)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1896)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1830)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1803)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> 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.util.Misc$2.run(Misc.java:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> I have been exporting my own data to files according to the CF/Radial 
> convention and I get the same error when I try to load those files. The web 
> page on Radial data:
> 
> http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/tutorial/RadialDatatype.html
> 
> suggests that IDV can read data in the same format. I am also creating my own 
> reader and I can successfully import it as a RadialDatasetSweep as shown in 
> the code on the same page.
> 
> I would appreciate any suggestions for being able to visualize my data.
> 
> Thanks.
> 
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: HJI-297923
Department: Support IDV
Priority: Normal
Status: Closed