<div dir="ltr">Dear gradsusr community,<div><br></div><div>I am attempting to create a zonal mean plot of a variable (Q), which has 26 levels.  </div><div><br></div><div>The vertical coordinates are &quot;hybrid sigma pressure.&quot;  I have created a data descriptor file and entered the vertical coordinates in the following manner: ZDEF 26 levels L1 L2 ... L26.</div><div><br></div><div>I have reviewed the GrADS documentation, and it seems that several examples suggest that the vertical coordinates should be in pure pressure coordinates and that GrADS may not read these hybrid coordinates.</div><div><br></div><div>The relevant ncdump infomration is provided below.  Just below the dimensions, you can see that the formula from which the sigma coordinates are calculated from actual pressure and surface pressure are provided.</div><div><br></div><div>Has anyone attempted to plot hybrid sigma pressure coordinates in GrADS before?  If so, would someone be able to provide an explanation of how to convert the vertical coordinate into something GrADS will read?</div><div><br></div><div>Thanks so much!</div><div>Corey</div><div><br></div><div>ncdump -c <a href="http://q.corey30.001.cam.2020-01-2089-12.nc">q.corey30.001.cam.2020-01-2089-12.nc</a><br></div><div>
<p class=""><span class="">netcdf q.corey30.001.cam.2020-01-2089-12 {</span></p>
<p class=""><span class="">dimensions:</span></p>
<p class=""><span class=""><span class="">        </span>lev = 26 ;</span></p>
<p class=""><span class=""><span class="">        </span>time = UNLIMITED ; // (840 currently)</span></p>
<p class=""><span class=""><span class="">        </span>lat = 192 ;</span></p>
<p class=""><span class=""><span class="">        </span>lon = 288 ;</span></p>
<p class=""><span class=""><span class="">        </span>nbnd = 2 ;</span></p>
<p class=""><span class="">variables:</span></p>
<p class=""><span class=""><span class="">        </span>double lev(lev) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lev:long_name = &quot;hybrid level at midpoints (1000*(A+B))&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lev:units = &quot;level&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lev:positive = &quot;down&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lev:standard_name = &quot;atmosphere_hybrid_sigma_pressure_coordinate&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lev:formula_terms = &quot;a: hyam b: hybm p0: P0 ps: PS&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span>double time(time) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>time:long_name = &quot;time&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>time:units = &quot;days since 2004-01-01 00:00:00&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>time:calendar = &quot;noleap&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>time:bounds = &quot;time_bnds&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span>double lat(lat) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lat:long_name = &quot;latitude&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lat:units = &quot;degrees_north&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span>double lon(lon) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lon:long_name = &quot;longitude&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>lon:units = &quot;degrees_east&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span>double time_bnds(time, nbnd) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>time_bnds:long_name = &quot;time interval endpoints&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span>float Q(time, lev, lat, lon) ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>Q:mdims = 1 ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>Q:units = &quot;kg/kg&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>Q:long_name = &quot;Specific humidity&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>Q:cell_methods = &quot;time: mean&quot; ;</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">// global attributes:</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:Conventions = &quot;CF-1.0&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:source = &quot;CAM&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:case = &quot;corey30&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:title = &quot;UNSET&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:logname = &quot;cgabriel&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:host = &quot;ys0861&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:Version = &quot;$Name$&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:revision_Id = &quot;$Id$&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:initial_file = &quot;/glade/p/acd/tilmes/inputdata/init/ccmi/b.e11.TSREFC2.f19.f19.ccmi23.1deg_26L.001&quot; ;</span></p>
<p class=""><span class=""><span class="">        </span><span class="">        </span>:topography_file = &quot;/glade/p/cesmdata/cseg/inputdata/atm/cam/topo/<a href="http://USGS-gtopo30_0.9x1.25_remap_c051027.nc">USGS-gtopo30_0.9x1.25_remap_c051027.nc</a>&quot;</span></p></div></div>