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.
> Don, > . It is the IOSP not being registered and it is John commenting > out. John's explanation is that this IOSP read the whole file to check if > it is valid and this may be a big performance problem for the library. The > solution is to find out the better way to identify if this file is grads. > Do you have any suggestion? > > John also suggest to use the ncml to register this iosp from the > IDV side. I created a plugin, you can give it a try. > > Yuan > Don, We are going to make u1 release soon for the WRF time axis bug in the CDM library. Do you want to put the ncml as a template in this release? I don't think there will be a quick fix for the IOSP. Yuan > address@hidden> wrote: > > > New Client Reply: IDV 5.1 can't read grads files > > > > Hi Yuan- > > > > The appropriate GrADS IOSP files are in the ncIDV.jar file. I think the > > IOSP is not being registered. John probably either commented out > > loading that by default, or changed the API for registering the IOSP. > > > > Attached is a small GrADS file and the ctl file. They need to be in the > > same directory (for this example) and you load in the ctl file to the IDV. > > > > Thanks for checking on this. The sooner I can get this working, the > > better. > > > > Don > > > > On 3/26/15 9:17 AM, Unidata IDV Support wrote: > > >> Full Name: Don Murray > > >> Email Address: address@hidden > > >> Organization: CU/CIRES > > >> Package Version: 5.1 build date:2015-03-11 19:53 UTC > > >> Operating System: Mac OS X > > >> Hardware: Java: home: > > /Volumes/User/dmurray/IDV_5.1/jre.bundle/Contents/Home/jre version: > > 1.7.0_67 j3d:1.6.0-pre9-daily-experimental daily > > >> Description of problem: I just tried to read a GrADS ctl file with IDV > > 5.1 and it gives the following error. It works fine in version 5.0u2. I > > suspect it's a problem with the switch to the new CDM library. This is a > > major problem for me. > > >> > > > > > > Don, > > > I believe this is a problem from the CDM library. I will ask them > > to make a fix for the IDV and I can do the update release soon. Could you > > upload a sample file for me? > > > We are working on the new unit test environment, and I think CDM team > > would also need a sample file. > > > > > > Yuan > > >> Creating data source > > >> Grid data source failed making data set: > > /Users/dmurray/data/grids/grads/gpcc.20yrann.ctl Cant read > > /Users/dmurray/data/grids/grads/gpcc.20yrann.ctl: not a valid CDM file. > > >> > > >> ****************** > > >> Stack trace: > > >> java.io.IOException: Cant read > > /Users/dmurray/data/grids/grads/gpcc.20yrann.ctl: not a valid CDM file. > > >> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:811) > > >> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:428) > > >> at > > ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:744) > > >> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:428) > > >> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:529) > > >> 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:1186) > > >> at > > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1208) > > >> at > > ucar.unidata.data.grid.GeoGridDataSource.initAfterUnpersistence(GeoGridDataSource.java:416) > > >> at > > ucar.unidata.idv.IdvPersistenceManager.makeDataSourceFromXml(IdvPersistenceManager.java:3847) > > >> at > > ucar.unidata.idv.IntegratedDataViewer.makeDataSourceFromXml(IntegratedDataViewer.java:1942) > > >> at > > ucar.unidata.idv.DataSourceHistory.process(DataSourceHistory.java:109) > > >> at ucar.unidata.idv.ui.IdvUIManager$8$1.run(IdvUIManager.java:2420) > > >> at ucar.unidata.util.Misc$3.run(Misc.java:1243) > > >> > > >> > > >> > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: CTX-855593 > > > Department: Support IDV > > > Priority: Normal > > > Status: Open > > > > > > > -- > > Don Murray > > NOAA/ESRL/PSD and CU-CIRES > > 303-497-3596 > > http://www.esrl.noaa.gov/psd/people/don.murray/ > > > > > > > > Ticket Details > > =================== > > Ticket ID: CTX-855593 > > Department: Support IDV > > Priority: Normal > > Status: Open > > Link: > > https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=25376 > > Ticket Details =================== Ticket ID: CTX-855593 Department: Support IDV Priority: Normal Status: Open