<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; "></div><div style="font-family: 'times new roman', 'new york', times, serif; ">I'm not sure about the format, but you may try to open via OPeNDAP server.&nbsp;<a href="http://dapper.pmel.noaa.gov/dapper/oscar/">http://dapper.pmel.noaa.gov/dapper/oscar/</a></div><div style="font-family: 'times new roman', 'new york', times, serif; "><a href="http://dapper.pmel.noaa.gov/dapper/oscar/"></a>For example, 'sdfopen&nbsp;<span class="Apple-style-span" style="font-family: Tahoma, Arial, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span><a target="_blank"
 href="http://dapper.pmel.noaa.gov/dapper/oscar/world-filter-longterm.nc">http://dapper.pmel.noaa.gov/dapper/oscar/world-filter-longterm.nc</a>'</span></span></div><div><font class="Apple-style-span" face="Tahoma, Arial, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">I have tried this. It should work.</span></font></div><div><font class="Apple-style-span" face="Tahoma, Arial, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma, Arial, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">I hope this help you</span></font></div><div><font class="Apple-style-span" face="Tahoma, Arial, sans-serif"><span class="Apple-style-span"
 style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">John</span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp;</div><hr style="font-family: 'times new roman', 'new york', times, serif; "><a rel="nofollow" target="_blank" href="http://www.facebook.com/pages/GrADS-Tutorial/195072930513663" style="font-family: 'times new roman', 'new york', times, serif; ">GrADS Tutorial&nbsp;on Facebook</a><div style="font-family: 'times new roman', 'new york', times, serif; "><span><a target="_blank" href="http://www.wishingwork.com/grads/">http://www.wishingwork.com/grads/</a></span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span
 style="font-weight: bold;">From:</span></b> Martin V. Mathew &lt;vmartinmathew@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> gradsusr@gradsusr.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, March 29, 2011 2:22:16 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [gradsusr] Opening a file having overlapping longitude points.<br></font><br>Hai All<br><br>I have a problem in opening an ocean current data in NetCDF format, downloaded from URL<br clear="all"><a rel="nofollow" target="_blank" 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&nbsp; follows<br><br>*****************************************************************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time = 12 ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; depth = 1 ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lat = 120 ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lon = 400 ;<br>
<br>&nbsp;lat = 59.5, 58.5, 57.5, 56.5,.................................<br>&nbsp;&nbsp;&nbsp; ................................................................................., -57.5, -58.5, -59.5 ;<br><br>&nbsp;lon = 20.5, 21.5, 22.5, 23.5,..................... <br>
&nbsp;&nbsp;&nbsp; ..............., 357.5,358.5, 359.5, 360.5, 361.5, 362.5, 363.5, 364.5, <br>&nbsp;&nbsp;&nbsp; 365.5, 366.5, 367.5, 368.5, 369.5, 370.5, 371.5, 372.5, 373.5, 374.5,<br>&nbsp; &nbsp; 375.5, 376.5, 377.5, 378.5, 379.5, 380.5, 381.5, 382.5, 383.5, 384.5,<br>
&nbsp; &nbsp; 385.5, 386.5, 387.5, 388.5, 389.5, 390.5, 391.5, 392.5, 393.5, 394.5,<br>&nbsp; &nbsp; 395.5, 396.5, 397.5, 398.5, 399.5, 400.5, 401.5, 402.5, 403.5, 404.5,<br>&nbsp; &nbsp; 405.5, 406.5, 407.5, 408.5, 409.5, 410.5, 411.5, 412.5, 413.5, 414.5, <br>
&nbsp;&nbsp;&nbsp; 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:&nbsp; <a rel="nofollow" target="_blank" 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>&nbsp; DSET <a rel="nofollow" target="_blank" href="http://oscar-4cff2332a2540_1995.nc">oscar-4cff2332a2540_1995.nc</a><br>
&nbsp;&nbsp;&nbsp; XDEF lon 400 LEVELS&nbsp; 20.5, 21.5, 22.5, 23.5, .........................<br>&nbsp;&nbsp;&nbsp; ..........................................................................................................................<br>&nbsp;&nbsp;&nbsp; .............., 355.5, 356.5, 357.5, 358.5, 359.5,.5,1.5,2.5, 3.5,............<br>
&nbsp; &nbsp; .....................................................................,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-&gt; xdfopen oscar-4cff2332a2540_1995.ctl<br>Scanning Descriptor File:&nbsp; oscar-4cff2332a2540_1995.ctl<br>Open Error:&nbsp; Unexpected EOF reading descriptor file<br>
&nbsp;&nbsp; EOF occurred reading LEVELS values<br>&nbsp; --&gt; The invalid description file record is: <br>&nbsp; --&gt;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp; The data file was not opened.<br>ga-&gt;<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>
</div></div><div style="position: fixed; font-family: 'times new roman', 'new york', times, serif; "></div>


</div><br>







      </body></html>