<div dir="ltr"><div><div><div>Dear Users,<br><br></div>I am trying to plot an ocean data file which is a part of CFS High Resolution Initial Conditions (<a href="http://nomads.ncdc.noaa.gov/data.php">http://nomads.ncdc.noaa.gov/data.php</a>). <br><br></div><div>File: <a href="http://ocnanl.gdas.1985050100.ocean_temp_salt.res.nc">ocnanl.gdas.1985050100.ocean_temp_salt.res.nc</a> (uploaded to ncl ftp link) or download from: <a href="https://copy.com/7bVgOvDfQKDjcg07">https://copy.com/7bVgOvDfQKDjcg07</a><br></div><div><br>Unfortunately, printVarSummary shows that the variable &quot;temp&quot; I&#39;m trying to plot does not have coordinate information, however, nlat, nlon are provided. So I used fspan (and tried other functions also) to attach coordinates, but the resulting plot is messed up. The plot and ncl script are attached.<br><br></div></div><div>Can you please help me in defining the lat long coordinate information for this type of data?<br><br></div><div>I am completely new to NCL, infact just started last week.<br><br></div><div>NCl Version: 6.3.0<br></div><div>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4<br>===================================================================<br></div><div>a = addfile(&quot;<a href="http://ocnanl.gdas.1985050100.ocean_temp_salt.res.nc">ocnanl.gdas.1985050100.ocean_temp_salt.res.nc</a>&quot;,&quot;r&quot;)<br>data = a-&gt;temp(:,:,:,:)<br><br>printVarSummary(data):<br><br>Variable: data<br>Type: double<br>Total Size: 94464000 bytes<br>            11808000 values<br>Number of Dimensions: 4<br>Dimensions and sizes:    [Time | 1] x [zaxis_1 | 40] x [yaxis_1 | 410] x [xaxis_1 | 720]<br>Coordinates: <br>            Time: [   1..   1]<br>            zaxis_1: [ 1..40]<br>            yaxis_1: [ 1..410]<br>            xaxis_1: [ 1..720]<br>Number Of Attributes: 2<br>  long_name :    temp<br>  units :    none<br>===================================================================<br></div><div><br>Thanks<br><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2"><br></font></div><font size="2">Vimal Koul</font></div></div></div></div></div></div></div>
</div></div></div></div></div></div>