Hai All<br><br>I have a problem in opening an ocean current data in NetCDF format, downloaded from URL<br clear="all"><a href="http://www.oscar.noaa.gov/datadisplay/index.html">http://www.oscar.noaa.gov/datadisplay/index.html</a><br>
<br>It is a 1degree resolution file with 400 longitude points. <br>It is given in the documentation of the data that<br><br>'Longitude extends from 20.5 E to 419.5 E to avoid a break in major ocean basins. <br>Data repeats in overlap region.'<br>
<br>Dimensions of the data is as follows<br><br>*****************************************************************************************<br> time = 12 ;<br> depth = 1 ;<br> lat = 120 ;<br> lon = 400 ;<br>
<br> lat = 59.5, 58.5, 57.5, 56.5,.................................<br> ................................................................................., -57.5, -58.5, -59.5 ;<br><br> lon = 20.5, 21.5, 22.5, 23.5,..................... <br>
..............., 357.5,358.5, 359.5, 360.5, 361.5, 362.5, 363.5, 364.5, <br> 365.5, 366.5, 367.5, 368.5, 369.5, 370.5, 371.5, 372.5, 373.5, 374.5,<br> 375.5, 376.5, 377.5, 378.5, 379.5, 380.5, 381.5, 382.5, 383.5, 384.5,<br>
385.5, 386.5, 387.5, 388.5, 389.5, 390.5, 391.5, 392.5, 393.5, 394.5,<br> 395.5, 396.5, 397.5, 398.5, 399.5, 400.5, 401.5, 402.5, 403.5, 404.5,<br> 405.5, 406.5, 407.5, 408.5, 409.5, 410.5, 411.5, 412.5, 413.5, 414.5, <br>
415.5, 416.5, 417.5, 418.5, 419.5 ;<br>*****************************************************************************************<br><br>While trying to open the file in GrADS using sdfopen following error message is displayed<br>
------------------------------------------------------------------------------------<br>Scanning self-describing file: <a href="http://oscar-4cff2332a2540_1995.nc">oscar-4cff2332a2540_1995.nc</a><br>gadsdf: SDF file has no discernable X coordinate.<br>
------------------------------------------------------------------------------------<br><br>I also tried to open the file using a control file in which I defined longitude as follows<br><br> DSET <a href="http://oscar-4cff2332a2540_1995.nc">oscar-4cff2332a2540_1995.nc</a><br>
XDEF lon 400 LEVELS 20.5, 21.5, 22.5, 23.5, .........................<br> ..........................................................................................................................<br> .............., 355.5, 356.5, 357.5, 358.5, 359.5,.5,1.5,2.5, 3.5,............<br>
.....................................................................,55.5,56.5,57.5,58.5,59.5<br><br><br>I couldn't open the file using this method also.<br>While trying to open the file following error message is displayed<br>
<br>------------------------------------------------------------------------------------<br>ga-> xdfopen oscar-4cff2332a2540_1995.ctl<br>Scanning Descriptor File: oscar-4cff2332a2540_1995.ctl<br>Open Error: Unexpected EOF reading descriptor file<br>
EOF occurred reading LEVELS values<br> --> The invalid description file record is: <br> --> 46.5,47.5,48.5,49.5,50.5,51.5,52.5,53.5,54.5,55.5,56.5,57.5,58.5,59.5<br><br> The data file was not opened.<br>ga-><br>
------------------------------------------------------------------------------------<br><br>Somebody please give me a suggestion to solve this problem.<br><br>Thanking you<br><br>Martin V. Mathew<br>J.R.F.<br>Centre for Oceans, Rivers, Atmosphere and Land Sciences (CORAL)<br>
IIT Kharagpur<br>India.<br><br>