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

[IDV #EFE-712048]: Probelm loading WRF output

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.


  • Subject: [IDV #EFE-712048]: Probelm loading WRF output
  • Date: Mon, 15 Sep 2014 14:21:26 -0600

> Full Name: Stephanie Phelps
> Email Address: address@hidden
> Organization: University of Virginia
> Package Version: 5.0 build date:2014-06-01 23:09 UTC
> Operating System: Mac OS X
> Hardware: Java: home: /Applications/IDV_5.0/jre.bundle/Contents/Home version: 
> 1.7.0_51 j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: What I did was run a 30-hour simulation in WRF.  I've 
> done this a number of times but for some reason the results from this run are 
> giving me the following error.  The only thing I have changed for this run is 
> the day that I am simulating.  I have been able to successfully load WRF data 
> into IDV using the exact same process a number of times.
> 
> There was an error loading the data:
> Error creating data source:aggregated.wrfnetcdf.grid with: 
> /Users/stephaniephelps/Desktop/WRF/WRF_Output/run_10_21/wrfout_d03_2012-10-21_12:00:00
> Grid data source failed making data set: 
> /Users/stephaniephelps/Desktop/WRF/WRF_Output/run_10_21/wrfout_d03_2012-10-21_12:00:00
> Variable name (PB) must be unique within Group
> 

Stephanie,
    The error message indicates that there are duplicated variable names, and 
the CF convention requires the unique naming for each variable. Could you 
double check? 
If you think this is no the problem as you can do the previous output in the 
IDV, please upload a sample file here:

http://motherlode.ucar.edu/repository/alias/idvupload


Yuan
> ******************
> Stack trace:
> java.lang.IllegalArgumentException: Variable name (PB) must be unique within 
> Group
> at ucar.nc2.Group.addVariable(Group.java:564)
> at ucar.nc2.NetcdfFile.addVariable(NetcdfFile.java:1663)
> at ucar.nc2.iosp.netcdf3.N3header.read(N3header.java:261)
> at ucar.nc2.iosp.netcdf3.N3iosp.open(N3iosp.java:422)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1521)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:813)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:422)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:699)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:421)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:516)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:117)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1156)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1178)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:502)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1602)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1804)
> 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(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at ucar.unidata.util.Misc$2.run(Misc.java:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 

Ticket Details
===================
Ticket ID: EFE-712048
Department: Support IDV
Priority: Normal
Status: Closed