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

[IDV #GBS-511894]: WRF from IMD not readable

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 #GBS-511894]: WRF from IMD not readable
  • Date: Fri, 05 Mar 2010 09:16:21 -0700

Hi Remi-

I'm guessing the problem is that we do not have the GRIB table for the IMD 
definitions.  If you have the table, you could try following the instructions 
on adding new tables in the IDV User's Guide at:

http://www.unidata.ucar.edu/software/IDV/docs/userguide/data/GribTables.html

Alternatively, if you could upload the file to:

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

I can take a look.  In either case, if you have a IMD specific grib table that 
you are using with wgrib, that would be helpful.

Don Murray

> Full Name: Remi Montroty
> Email Address: address@hidden
> Organization: MFI  / Indian Meteorological Department
> Package Version: 2.8u1 build date:2010-02-02 22:30 UTC
> Operating System: Linux
> Hardware: Java: home: /opt/IDV_2.8u1/jre version: 1.6.0_17 j3d:1.5.2 fcs 
> (build4)
> Description of problem: There was an error loading the data:
> Error creating data source:file.grid with: 
> /home/montrotyr/WRF_HQ.t00z_d02.048.grib1
> Grid data source failed making data set: 
> /home/montrotyr/WRF_HQ.t00z_d02.048.grib1
> 1
> 
> I am currently working at IMD, helping them visualize their model with IDV. 
> At least that was the plan but this WRF was generated on AIX supercomputer 
> and while wgrib reads it fine, IDV cannot access the file.
> It might be big-endian related, but we are not sure.
> 
> We can provide a sample file but they are 35 MB.
> 
> Thanks
> 
> 
> ******************
> Stack trace:
> java.lang.ArrayIndexOutOfBoundsException: 1
> at ucar.grib.GribReadIndex.open(GribReadIndex.java:141)
> at ucar.grib.GribReadIndex.open(GribReadIndex.java:98)
> at ucar.grib.grib1.Grib1WriteIndex.writeGribIndex(Grib1WriteIndex.java:109)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.writeIndex(GribGridServiceProvider.java:332)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.getIndex(GribGridServiceProvider.java:277)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.open(GribGridServiceProvider.java:104)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1328)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:764)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:398)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:688)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:434)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:523)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103)
> 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.initAfterCreation(GeoGridDataSource.java:471)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1565)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1992)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1909)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1843)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1816)
> 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:1068)
> at ucar.unidata.util.Misc$3.run(Misc.java:1096)
> 
> 
> 


Ticket Details
===================
Ticket ID: GBS-511894
Department: Support IDV
Priority: Normal
Status: Open