<div>List,</div>
<div> </div>
<div>I recently upgraded to 1.9b4 because I was having problems opening xdf files in 1.8sl11. Every time I opened an XDF file that pointed to a netcdf file - I could display a variable only once, then it would core dump and die.
1.9b4 solved this problem, however a new problem exists. I am attempting to plot wind speed/direction and wave heights over Lake Erie. I'm successful in plotting wave height, however neither wind speed nor direction seem to want to plot. The wind speed is simply the magnitude of the wind, the direction is obviously the direction - it's not broken down into u or v components - not a concern at this point. It seems as if GrADS is having a hard time finding these variables in the netcdf file in the 1st place...this is the error I get...
</div>
<div> </div>
<div>
<p>Couldn't find variable Wind_Mag_SFC (aliased to speed) in SDF file.<br>Data Request Error: Error for variable 'speed'<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression <br> Expression = speed</p>
<p>I've included my xdf file and the headers of my netcdf file below...unless I missed something - Wind_Mag_SFC is clearly defined in the netcdf file. I get the same error for direction - that it's not able to find Wind_Dir_SFC.
</p>
<p>The strange thing is that if I open this xdf file in 1.8sl11 - it works fine - except for the nasty core dump problem. The file opens, I can plot 'speed' or 'direction' just fine. Is there something that needs to be added to my xdf file now that I'm using
1.9b4? </p>
<p> </p>
<p>Any help would be appreciated!</p>
<p> </p>
<p>Thanks!</p>
<p>Dan Leins</p>
<p>ncdump -h </p>
<p>netcdf marine_cle {<br>dimensions:<br> DIM_48 = 48 ;<br> DIM_41 = 41 ;<br> DIM_76 = 76 ;<br> DIM_138 = 138 ;<br> DIM_104 = 104 ;<br>variables:<br> float Wind_Mag_SFC(DIM_48, DIM_41, DIM_76) ;<br> Wind_Mag_SFC:validTimes = 1133006400, 1133010000, 1133010000, 1133013600, 1133013600, 1133017200, 1133017200, 1133020800, 1133020800, 1133024400, 1133024400, 1133028000, 1133028000, 1133031600, 1133031600, 1133035200, 1133035200, 1133038800, 1133038800, 1133042400, 1133042400, 1133046000, 1133046000, 1133049600, 1133049600, 1133053200, 1133053200, 1133056800, 1133056800, 1133060400, 1133060400, 1133064000, 1133064000, 1133067600, 1133067600, 1133071200, 1133071200, 1133074800, 1133074800, 1133078400, 1133078400, 1133082000, 1133082000, 1133085600, 1133085600, 1133089200, 1133089200, 1133092800, 1133092800, 1133096400, 1133096400, 1133100000, 1133100000, 1133103600, 1133103600, 1133107200, 1133107200, 1133110800, 1133110800, 1133114400, 1133114400, 1133118000, 1133118000, 1133121600, 1133121600, 1133125200, 1133125200, 1133128800, 1133128800, 1133132400, 1133132400, 1133136000, 1133136000, 1133139600, 1133139600, 1133143200, 1133143200, 1133146800, 1133146800, 1133150400, 1133150400, 1133154000, 1133154000, 1133157600, 1133157600, 1133161200, 1133161200, 1133164800, 1133164800, 1133168400, 1133168400, 1133172000, 1133172000, 1133175600, 1133175600, 1133179200 ;
<br> Wind_Mag_SFC:descriptiveName = "Surface Wind Magnitude" ;<br> Wind_Mag_SFC:gridSize = 76, 41 ;<br> Wind_Mag_SFC:domainOrigin = 65.3125, 34.625 ;<br> Wind_Mag_SFC:domainExtent = 4.6875, 2.5 ;<br> Wind_Mag_SFC:minMaxAllowedValues = 0., 125. ;
<br> Wind_Mag_SFC:gridType = "VECTOR" ;<br> Wind_Mag_SFC:databaseID = "CLE_GRID__Official_00000000_0000" ;<br> Wind_Mag_SFC:siteID = "CLE" ;<br> Wind_Mag_SFC:units = "kts" ;<br>
Wind_Mag_SFC:level = "SFC" ;<br> Wind_Mag_SFC:timeConstraints = 0, 3600, 3600 ;<br> Wind_Mag_SFC:precision = 0 ;<br> Wind_Mag_SFC:rateDependent = 0 ;<br> Wind_Mag_SFC:latLonLL = -133.458999633789, 12.1899995803833
;<br> Wind_Mag_SFC:latLonUR = -49.3849983215332, 57.2900009155273 ;<br> Wind_Mag_SFC:gridPointLL = 1, 1 ;<br> Wind_Mag_SFC:gridPointUR = 93, 65 ;<br> Wind_Mag_SFC:projectionType = "LAMBERT_CONFORMAL" ;<br> Wind_Mag_SFC:latLonOrigin = -95., 25. ;
<br> Wind_Mag_SFC:stdParallelOne = 25. ;<br> Wind_Mag_SFC:stdParallelTwo = 25. ;<br> Wind_Mag_SFC:fillValue = -30000. ;<br> float Wind_Dir_SFC(DIM_48, DIM_41, DIM_76) ;<br> Wind_Dir_SFC:validTimes = 1133006400, 1133010000, 1133010000, 1133013600, 1133013600, 1133017200, 1133017200, 1133020800, 1133020800, 1133024400, 1133024400, 1133028000, 1133028000, 1133031600, 1133031600, 1133035200, 1133035200, 1133038800, 1133038800, 1133042400, 1133042400, 1133046000, 1133046000, 1133049600, 1133049600, 1133053200, 1133053200, 1133056800, 1133056800, 1133060400, 1133060400, 1133064000, 1133064000, 1133067600, 1133067600, 1133071200, 1133071200, 1133074800, 1133074800, 1133078400, 1133078400, 1133082000, 1133082000, 1133085600, 1133085600, 1133089200, 1133089200, 1133092800, 1133092800, 1133096400, 1133096400, 1133100000, 1133100000, 1133103600, 1133103600, 1133107200, 1133107200, 1133110800, 1133110800, 1133114400, 1133114400, 1133118000, 1133118000, 1133121600, 1133121600, 1133125200, 1133125200, 1133128800, 1133128800, 1133132400, 1133132400, 1133136000, 1133136000, 1133139600, 1133139600, 1133143200, 1133143200, 1133146800, 1133146800, 1133150400, 1133150400, 1133154000, 1133154000, 1133157600, 1133157600, 1133161200, 1133161200, 1133164800, 1133164800, 1133168400, 1133168400, 1133172000, 1133172000, 1133175600, 1133175600, 1133179200 ;
<br> Wind_Dir_SFC:descriptiveName = "Surface Wind Direction" ;<br> Wind_Dir_SFC:gridSize = 76, 41 ;<br> Wind_Dir_SFC:domainOrigin = 65.3125, 34.625 ;<br> Wind_Dir_SFC:domainExtent = 4.6875, 2.5 ;<br> Wind_Dir_SFC:minMaxAllowedValues = 0., 360. ;
<br> Wind_Dir_SFC:gridType = "VECTOR" ;<br> Wind_Dir_SFC:databaseID = "CLE_GRID__Official_00000000_0000" ;<br> Wind_Dir_SFC:siteID = "CLE" ;<br> Wind_Dir_SFC:units = "degrees" ;
<br> Wind_Dir_SFC:level = "SFC" ;<br> Wind_Dir_SFC:timeConstraints = 0, 3600, 3600 ;<br> Wind_Dir_SFC:precision = 0 ;<br> Wind_Dir_SFC:rateDependent = 0 ;<br> Wind_Dir_SFC:latLonLL = -133.458999633789, 12.1899995803833
;<br> Wind_Dir_SFC:latLonUR = -49.3849983215332, 57.2900009155273 ;<br> Wind_Dir_SFC:gridPointLL = 1, 1 ;<br> Wind_Dir_SFC:gridPointUR = 93, 65 ;<br> Wind_Dir_SFC:projectionType = "LAMBERT_CONFORMAL" ;<br> Wind_Dir_SFC:latLonOrigin = -95., 25. ;
<br> Wind_Dir_SFC:stdParallelOne = 25. ;<br> Wind_Dir_SFC:stdParallelTwo = 25. ;<br> Wind_Dir_SFC:fillValue = -30000. ;<br> char Wind_SFC_GridHistory(DIM_48, DIM_138) ;<br> float WaveHeight_SFC(DIM_48, DIM_41, DIM_76) ;
<br> WaveHeight_SFC:validTimes = 1133006400, 1133010000, 1133010000, 1133013600, 1133013600, 1133017200, 1133017200, 1133020800, 1133020800, 1133024400, 1133024400, 1133028000, 1133028000, 1133031600, 1133031600, 1133035200, 1133035200, 1133038800, 1133038800, 1133042400, 1133042400, 1133046000, 1133046000, 1133049600, 1133049600, 1133053200, 1133053200, 1133056800, 1133056800, 1133060400, 1133060400, 1133064000, 1133064000, 1133067600, 1133067600, 1133071200, 1133071200, 1133074800, 1133074800, 1133078400, 1133078400, 1133082000, 1133082000, 1133085600, 1133085600, 1133089200, 1133089200, 1133092800, 1133092800, 1133096400, 1133096400, 1133100000, 1133100000, 1133103600, 1133103600, 1133107200, 1133107200, 1133110800, 1133110800, 1133114400, 1133114400, 1133118000, 1133118000, 1133121600, 1133121600, 1133125200, 1133125200, 1133128800, 1133128800, 1133132400, 1133132400, 1133136000, 1133136000, 1133139600, 1133139600, 1133143200, 1133143200, 1133146800, 1133146800, 1133150400, 1133150400, 1133154000, 1133154000, 1133157600, 1133157600, 1133161200, 1133161200, 1133164800, 1133164800, 1133168400, 1133168400, 1133172000, 1133172000, 1133175600, 1133175600, 1133179200 ;
<br> WaveHeight_SFC:descriptiveName = "Wave Height" ;<br> WaveHeight_SFC:gridSize = 76, 41 ;<br> WaveHeight_SFC:domainOrigin = 65.3125, 34.625 ;<br> WaveHeight_SFC:domainExtent = 4.6875, 2.5 ;<br> WaveHeight_SFC:minMaxAllowedValues = 0., 40. ;
<br> WaveHeight_SFC:gridType = "SCALAR" ;<br> WaveHeight_SFC:databaseID = "CLE_GRID__Official_00000000_0000" ;<br> WaveHeight_SFC:siteID = "CLE" ;<br> WaveHeight_SFC:units = "ft" ;
<br> WaveHeight_SFC:level = "SFC" ;<br> WaveHeight_SFC:timeConstraints = 0, 3600, 3600 ;<br> WaveHeight_SFC:precision = 1 ;<br> WaveHeight_SFC:rateDependent = 0 ;<br> WaveHeight_SFC:latLonLL = -133.458999633789
, 12.1899995803833 ;<br> WaveHeight_SFC:latLonUR = -49.3849983215332, 57.2900009155273 ;<br> WaveHeight_SFC:gridPointLL = 1, 1 ;<br> WaveHeight_SFC:gridPointUR = 93, 65 ;<br> WaveHeight_SFC:projectionType = "LAMBERT_CONFORMAL" ;
<br> WaveHeight_SFC:latLonOrigin = -95., 25. ;<br> WaveHeight_SFC:stdParallelOne = 25. ;<br> WaveHeight_SFC:stdParallelTwo = 25. ;<br> WaveHeight_SFC:fillValue = -30000. ;<br> char WaveHeight_SFC_GridHistory(DIM_48, DIM_104) ;
<br> short Topo(DIM_41, DIM_76) ;<br> Topo:descriptiveName = "Topography" ;<br> Topo:gridSize = 76, 41 ;<br> Topo:domainOrigin = 65.3125, 34.625 ;<br> Topo:domainExtent = 4.6875, 2.5 ;<br> Topo:units = "ft" ;
<br> Topo:latLonLL = -133.458999633789, 12.1899995803833 ;<br> Topo:latLonUR = -49.3849983215332, 57.2900009155273 ;<br> Topo:gridPointLL = 1, 1 ;<br> Topo:gridPointUR = 93, 65 ;<br> Topo:projectionType = "LAMBERT_CONFORMAL" ;
<br> Topo:latLonOrigin = -95., 25. ;<br> Topo:stdParallelOne = 25. ;<br> Topo:stdParallelTwo = 25. ;<br> float latitude(DIM_41, DIM_76) ;<br> latitude:descriptiveName = "latitude" ;<br> latitude:gridSize = 76, 41 ;
<br> latitude:domainOrigin = 65.3125, 34.625 ;<br> latitude:domainExtent = 4.6875, 2.5 ;<br> latitude:units = "degrees" ;<br> latitude:latLonLL = -133.458999633789, 12.1899995803833 ;<br> latitude:latLonUR = -
49.3849983215332, 57.2900009155273 ;<br> latitude:gridPointLL = 1, 1 ;<br> latitude:gridPointUR = 93, 65 ;<br> latitude:projectionType = "LAMBERT_CONFORMAL" ;<br> latitude:latLonOrigin = -95., 25. ;<br> latitude:stdParallelOne = 25. ;
<br> latitude:stdParallelTwo = 25. ;<br> float longitude(DIM_41, DIM_76) ;<br> longitude:descriptiveName = "longitude" ;<br> longitude:gridSize = 76, 41 ;<br> longitude:domainOrigin = 65.3125, 34.625 ;<br> longitude:domainExtent =
4.6875, 2.5 ;<br> longitude:units = "degrees" ;<br> longitude:latLonLL = -133.458999633789, 12.1899995803833 ;<br> longitude:latLonUR = -49.3849983215332, 57.2900009155273 ;<br> longitude:gridPointLL = 1, 1 ;
<br> longitude:gridPointUR = 93, 65 ;<br> longitude:projectionType = "LAMBERT_CONFORMAL" ;<br> longitude:latLonOrigin = -95., 25. ;<br> longitude:stdParallelOne = 25. ;<br> longitude:stdParallelTwo = 25. ;</p>
<p>// global attributes:<br> :creationTime = 1133019093 ;<br> :creationTimeString = "Sat Nov 26 15:31:33 2005" ;<br> :fileFormatVersion = "20010816" ;<br> :startProcTime = "20051126_1200" ;
<br> :endProcTime = "20051128_1200" ;<br>}<br></p>
<p> </p>
<p>This is my xdf file....</p>
<p>DSET ^marine_cle.cdf<br>TITLE Sample dataset<br>UNDEF -30000.0<br>XDEF DIM_76 76 LINEAR -83.76 0.06<br>YDEF DIM_41 41 LINEAR 41.40 0.035<br>TDEF DIM_48 48 LINEAR 12z26NOV2005 1hr<br>VARS 3<br>WaveHeight_SFC=>height 1 99 height
<br>Wind_Mag_SFC=>speed 1 99 speed<br>Wind_Dir_SFC=>direction 1 99 direction<br>ENDVARS<br></p>
<p> </p></div>