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

[IDV #CLJ-120529]: Error IDV error in loading GrADS data



> Hi Yuan,
> 
> I don't know what do you mean by invalid .ctl file. Its very much valid
> and working .ctl file. From web search i found that most of the IDV
> tickets related to GrADS file seems not resolved. I also opened a ticket
> many months ago, again about the same problem. I applied the suggested
> remedy and it didn't work, so i left using IDV.  This is my second attempt
> to use IDV but it appears   IDV has some bug or issues with GrADS data
> that have not been resolved as yet.
> 
> Cheers,
> b:)

If you feel the .ctl file is in good shape, it should work. In the Data 
Choosers, select the .grb file ( not .ctl file and assuming .ctl in the same 
folder) and select the 
Data Source Type as GrADS binary grib file, and then ...

By the way, most of the IDV tickets related to GrADS file have been resolved.


Yuan
> ----
> Basit A. Khan, Ph.D.
> Postdoctoral Research Fellow
> Division of Physical Sciences & Engineering
> Office# 3203-CU-12, Level 3, Building 1,
> King Abdullah University of Science & Technology
> 4700 King Abdullah Blvd, Box 2753, Thuwal 23955 ­6900,
> Kingdom of Saudi Arabia.
> 
> Office: +966(0)12 808 0276,  Mobile: +966(0)5 0860 3617
> E-mail: address@hidden
> 
> 
> 
> 
> Skype name: basit.a.khan
> 
> 
> 
> 
> On 10/22/14 8:44 PM, "Unidata IDV Support" <address@hidden>
> wrote:
> 
> >> Full Name: Basit
> >> Email Address: address@hidden
> >> Organization: King Abdullah Univ. of Sci. & Tech. Saudi Arabia
> >> Package Version: 5.0 build date:2014-06-01 23:09 UTC
> >> Operating System: Linux
> >> Hardware: Java: home: /home/khanb/IDV_5.0/jre version: 1.7.0_51
> >>j3d:1.6.0-pre9-daily-experimental daily
> >> Description of problem: Hi there,
> >> Further to my previous email. Details of the error + the .ctl file is
> >>attached.
> >>
> >> There was an error loading the data:
> >> Error creating data source:file.grads with:
> >>/home/khanb/neser_ncl/project/k14/basit/wrf-sims/wrf_170/auxhist7_d02_201
> >>3-06-04_ml.ctl
> >> Grid data source failed making data set:
> >>/home/khanb/neser_ncl/project/k14/basit/wrf-sims/wrf_170/auxhist7_d02_201
> >>3-06-04_ml.ctl
> >> Cant read
> >>/home/khanb/neser_ncl/project/k14/basit/wrf-sims/wrf_170/auxhist7_d02_201
> >>3-06-04_ml.ctl: not a valid CDM file.
> >>
> >
> >It is likely your ctl file is invalid.
> >
> >
> >Yuan
> >> java.io.IOException: Cant read
> >>/home/khanb/neser_ncl/project/k14/basit/wrf-sims/wrf_170/auxhist7_d02_201
> >>3-06-04_ml.ctl: not a valid CDM file.
> >> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:803)
> >> 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.jav
> >>a:1178)
> >> at
> >>ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSou
> >>rce.java:502)
> >> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1602)
> >> at
> >>ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataView
> >>er.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:65
> >>6)
> >> 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)
> >>
> >> ******************
> >> Stack trace:
> >> java.io.IOException: Cant read
> >>/home/khanb/neser_ncl/project/k14/basit/wrf-sims/wrf_170/auxhist7_d02_201
> >>3-06-04_ml.ctl: not a valid CDM file.
> >> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:803)
> >> 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.jav
> >>a:1178)
> >> at
> >>ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSou
> >>rce.java:502)
> >> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1602)
> >> at
> >>ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataView
> >>er.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:65
> >>6)
> >> 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)
> >>
> >>
> >>
> >
> >
> >Ticket Details
> >===================
> >Ticket ID: CLJ-120529
> >Department: Support IDV
> >Priority: Normal
> >Status: Closed
> >
> 
> 
> ________________________________
> 
> This message and its contents including attachments are intended solely for 
> the original recipient. If you are not the intended recipient or have 
> received this message in error, please notify me immediately and delete this 
> message from your computer system. Any unauthorized use or distribution is 
> prohibited. Please consider the environment before printing this email.
> 
> 


Ticket Details
===================
Ticket ID: CLJ-120529
Department: Support IDV
Priority: Normal
Status: Open