NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

[IDV #TJZ-537267]: Read Pre-Projected grads data file problem?



> Full Name: Dave
> Email Address: address@hidden
> Organization: NMC of China
> Package Version: 5.1u2 build date:2015-04-27 16:07 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_5.1u2\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Hi:
> I have a LAPS Pre-Projected grads data, and want to read into IDV.
> But I get the fellowing errors:
> 
> There was an error loading the data:
> Error creating data source:file.grads with: E:\latest.ctl
> Grid data source failed making data set: E:\latest.ctl
> Cant read E:\latest.ctl: not a valid CDM file.
> 
> Here is the Grads ctl file:
> 

I have no expertise on grads ctr file, please check with some people from 
公共气象服务中心. As I know they use a lot LAPS model output.


Yuan
> dset ^latest
> title laps data
> undef 1e37
> options sequential
> pdef 1401 1153 lcc 32.0 108. 701.0 577.0 30.0 60.0 108. 5000. 5000.
> xdef 2201 linear 55.0 0.05
> ydef 1251 linear 0. 0.05
> zdef 17 levels 1000 975 950 925 900 875 850 800 750 700 650 600 500 400 300 
> 200 100
> tdef 1 linear 12z10AUG15 1hr
> vars 33
> ht   17 0 height(m)
> t    17 0 temperature(K)
> u    17 0 u(m/s)
> v    17 0 v(m/s)
> w    17 0 w(pa/s)
> rh   17 0 relative humidity(%)
> q    17 0 specific humidity(kg/kg)
> lps  17 0 dBZ
> lcp  17 0 fractional cloud cover pressure coord(%)
> cty  17 0 cloud type
> lwc  17 0  cloud liquid water(kg/m**3)
> ice  17 0  cloud ice(kg/m**3)
> sno  17 0 cloud snow content(kg/m**3)
> rai  17 0 rain content(kg/m**3)
> lcb  0 0 laps cloud base(meters)
> lct  0 0 laps cloud top (meters)
> us   0 0 surface u(m/s)
> vs   0 0 surface v(m/s)
> ts   0 0 surface temperature(K)
> tds  0 0 surface dewpoint temperature(K)
> ws   0 0 surface w(m/s)
> rhs  0 0 surface relative humidity(%)
> slp  0 0 MSL pressure(pa)
> ps  0 0 surface pressure(pa)
> vis  0 0 visibility(m)
> twp  0 0 integrated total precipitable water(m)
> lil   0 0 integrated liquid water
> li   0 0 Lifted Index
> pbe  0 0  Positive Bouyant Energy
> nbe  0 0 Negative Bouyant Energy
> si   0 0  Showalter Index
> kk   0 0  K Index
> lcl  0 0  Lifted Condensation Level
> endvars
> 
> 
> ******************
> Stack trace:
> java.io.IOException: Cant read E:\latest.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.initAfterCreation(GeoGridDataSource.java:511)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1572)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1979)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1896)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1830)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1803)
> 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:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 

Ticket Details
===================
Ticket ID: TJZ-537267
Department: Support IDV
Priority: Normal
Status: Closed