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.
> Hi Yuan, > > I uploaded a file for testing, thanks for checking in to this. I know > that this same thing used to work in the past, but not with this > specific file. However, I also tested with some other WRFOUT files and > had the same issue. > > Thank you, > Gary Hi Gary, The problem you were experienced has been fixed in 5.1u2 or nightly. Yuan > > On 7/27/2015 6:01 PM, Unidata IDV Support wrote: > >> Full Name: Gary Lackmann > >> Email Address: address@hidden > >> Organization: NC State University > >> Package Version: 5.1u1 build date:2015-04-02 16:45 UTC > >> Operating System: Windows 7 > >> Hardware: Java: home: C:\Program Files\IDV_5.1u1\jre version: 1.7.0_51 > >> j3d:1.6.0-pre9-daily-experimental daily > >> Description of problem: Dear IDV support, > >> > >> With older versions of IDV, I could directly plot data from wrfout files. > >> It doesn't seem to work any more, even for simple 2-D quantities. > >> No matter what I try, it gives the error: > >> Couldn't get data > >> must be 2D > >> > >> I know that it is recommended to post-process and de-stagger the grid > >> first, but some of the variables are not converted, and so its > >> useful to be able to have a quick look using IDV for such quantities. > >> > >> Thank you for any assistance, > >> Gary > >> > > Hi Gary, > > I assumed you were doing aggregated wrf netcdf, it should be > > working. But, the aggregation doesn't work any more for > > grid1/2 when there are more than one time dimensions. > > > > Please upload a couple sample files here: > > > > https://motherlode.ucar.edu/repository/alias/idvupload > > > > Yuan > >> ****************** > >> Stack trace: > >> java.lang.IllegalArgumentException: must be 2D > >> at ucar.nc2.dataset.CoordinateAxis2D.doRead(CoordinateAxis2D.java:98) > >> at > >> ucar.nc2.dataset.CoordinateAxis2D.getCoordValue(CoordinateAxis2D.java:83) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.getInitialSpatialDomain(GeoGridAdapter.java:875) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.getSpatialDomainSetInner(GeoGridAdapter.java:408) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.getSpatialDomainSet(GeoGridAdapter.java:353) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.getFlatField(GeoGridAdapter.java:1233) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.readTimeStep(GeoGridAdapter.java:1560) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.access$100(GeoGridAdapter.java:113) > >> at ucar.unidata.data.grid.GeoGridAdapter$1.run(GeoGridAdapter.java:1455) > >> at visad.util.ThreadManager.runInParallel(ThreadManager.java:273) > >> at visad.util.ThreadManager.runInParallel(ThreadManager.java:245) > >> at visad.util.ThreadManager.runSequentially(ThreadManager.java:223) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.makeSequence(GeoGridAdapter.java:1470) > >> at > >> ucar.unidata.data.grid.GeoGridAdapter.getSequence(GeoGridAdapter.java:1140) > >> at > >> ucar.unidata.data.grid.GeoGridDataSource.makeFieldImpl(GeoGridDataSource.java:2099) > >> at > >> ucar.unidata.data.grid.GeoGridDataSource.getDataInner(GeoGridDataSource.java:1398) > >> at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:2390) > >> 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:243) > >> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207) > >> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:206) > >> at > >> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:163) > >> at > >> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:144) > >> at > >> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:299) > >> at > >> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3278) > >> at > >> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234) > >> at > >> ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664) > >> at > >> ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:195) > >> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489) > >> at > >> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402) > >> at > >> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085) > >> 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:1243) > >> > >> > >> > > Ticket Details > > =================== > > Ticket ID: ZFS-127838 > > Department: Support IDV > > Priority: Normal > > Status: Open > > > > -- > Dr. Gary M. Lackmann > Professor and Co-Director of Graduate Programs > Department of Marine, Earth, and Atmospheric Sciences > North Carolina State University > > Ticket Details =================== Ticket ID: ZFS-127838 Department: Support IDV Priority: Normal Status: Open