<meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I am having problems defining the ydef for the tos variable with the ocean CCSM model. I have tried defining explicitly for all y levels and also with various definitions of the gaussian grid according the the grads site. Below is the relavent portions of the ncdump file from the netcdf file. Below that is the concatenated ydef latitudes. I am using <span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; ">GrADS 2.0.a8 on a Mac OS X 10.6.7. </span><div>

<br></div><div><div>netcdf tos_O_MO_pmip2_0k_oa_CCSM-mocat-0050 {</div><div>dimensions:</div><div><span style="white-space: pre-wrap; ">        </span>lon = 320 ;</div><div><span style="white-space: pre-wrap; ">        </span>lat = 395 ;</div>

<div><span style="white-space: pre-wrap; ">        </span>bnds = 2 ;</div><div><span style="white-space: pre-wrap; ">        </span>time = UNLIMITED ; // (600 currently)</div><div><div>variables:</div><div><span style="white-space: pre-wrap; ">        </span>double lon_bnds(lon, bnds) ;</div>

<div><span style="white-space: pre-wrap; ">        </span>double lat_bnds(lat, bnds) ;</div><div><span style="white-space: pre-wrap; ">        </span>double time_bnds(time, bnds) ;</div><div><span style="white-space: pre-wrap; ">        </span>double time(time) ;</div>

<div><span style="white-space: pre-wrap; ">                </span>time:bounds = &quot;time_bnds&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>time:units = &quot;days since 0000-1-1&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>time:axis = &quot;T&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>time:standard_name = &quot;time&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>time:calendar = &quot;noleap&quot; ;</div><div><span style="white-space: pre-wrap; ">        </span>double lat(lat) ;</div>

<div><span style="white-space: pre-wrap; ">                </span>lat:long_name = &quot;Latitude&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lat:units = &quot;degrees_north&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lat:axis = &quot;Y&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>lat:standard_name = &quot;latitude&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lat:bounds = &quot;lat_bnds&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lat:_FillValue = -9999. ;</div>

<div><span style="white-space: pre-wrap; ">        </span>double lon(lon) ;</div><div><span style="white-space: pre-wrap; ">                </span>lon:long_name = &quot;Longitude&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lon:units = &quot;degrees_east&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>lon:axis = &quot;X&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lon:standard_name = &quot;longitude&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>lon:bounds = &quot;lon_bnds&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>lon:_FillValue = -9999. ;</div><div><span style="white-space: pre-wrap; ">        </span>float tos(time, lat, lon) ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:comment = &quot;Created using NCL code CCSM_ocnm_2cfPMIP.ncl on\n&quot;,</div>

<div><span style="white-space: pre-wrap; ">                        </span>&quot; machine tempest&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:missing_value = 1.e+20f ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:long_name = &quot;sea_surface_temperature&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>tos:cell_methods = &quot;time: mean (interval: 1 month)&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:history = &quot;Interpolated to regular grid from dipole grid,\n&quot;,</div>

<div><span style="white-space: pre-wrap; ">                        </span>&quot;TEMP+273.15&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:units = &quot;K&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:original_units = &quot;C&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>tos:original_name = &quot;TEMP&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:standard_name = &quot;sea_surface_temperature&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>tos:_FillValue = 1.e+20f ;</div>

<div><br></div><div>// global attributes:</div><div><span style="white-space: pre-wrap; ">                </span>:table_id = &quot;Table O1&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>:title = &quot;model output prepared for PMIP2&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>:institution = &quot;NCAR (National Center for Atmospheric \n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot;Research, Boulder, CO, USA)&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>:source = &quot;CCSM3.0, version beta14 (2004): \n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot;atmosphere: CAM3.0, T42L18;\n&quot;,</div><div>

<span style="white-space: pre-wrap; ">                        </span>&quot;ocean     : POP1.4.3 (modified), gx1v3\n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot;sea ice   : CSIM5.0, gx1v3;\n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot;land      : CLM3.0, T42&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>:contact = &quot;<a href="mailto:ottobli@ucar.edu" target="_blank" style="color: rgb(36, 70, 107); ">ottobli@ucar.edu</a>&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>:project_id = &quot;PMIP 2&quot; ;</div>

<div><span style="white-space: pre-wrap; ">                </span>:Conventions = &quot;CF-1.0&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>:references = &quot;Otto-Bliesner, B.L., et al., 2005:\n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot; Climate Sensitivity of Moderate and Low Resolution \n&quot;,</div>

<div><span style="white-space: pre-wrap; ">                        </span>&quot; Versions of CCSM3 to Preindustrial Forcings\n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot; Journal of Climate\n&quot;,</div><div><span style="white-space: pre-wrap; ">                        </span>&quot; \n&quot;,</div>

<div><span style="white-space: pre-wrap; ">                        </span>&quot; Main website: <a href="http://www.ccsm.ucar.edu/" target="_blank" style="color: rgb(36, 70, 107); ">http://www.ccsm.ucar.edu</a>&quot; ;</div><div><span style="white-space: pre-wrap; ">                </span>:acknowledgment = &quot; Any use of CCSM data should acknowledge the contribution\n&quot;,</div>

</div><div><br></div><div>ydef latitudes: <span style="font-family: Helvetica; font-size: 12px; ">-79.4876251220703 -78.9534149169922 -78.9534149169922...</span><span style="font-family: Helvetica; font-size: 12px; ">89.9524383544922 89.9524383544922 90 </span></div>

</div><div><span style="font-family: Helvetica; font-size: 12px; "><br></span></div></span><br clear="all"><br>-- <br>Dustin E. Pittman<br>1st Year Graduate Student<br>University of California, Los Angeles<br>Department of Atmospheric and Oceanic Sciences<br>

574.248.1016<br><a href="mailto:dpittman@ucla.edu" target="_blank">dpittman@atmos.ucla.edu</a><br>