<div dir="ltr"><div><div><a href="http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf">http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf</a><br><br></div>See the section:    Writing scalars to netCDF<br><br>=========<br><div style="font-size:18px;font-family:monospace">height   = ...</div><div style="font-size:18px;font-family:monospace">height!0 = &quot;ncl_scalar&quot;    ; &lt;=== &#39;special&#39; name<br></div><br><font size="4">rotated_pole    = ...<br></font></div><font size="4">rotated_pole!0 = &quot;ncl_scalar&quot;<br></font> </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 7:23 AM, Mark Chan <span dir="ltr">&lt;<a href="mailto:cym263@yahoo.com" target="_blank">cym263@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div dir="ltr">Dear NCL group,</div><div dir="ltr"><br></div><div dir="ltr">In the below is about the metadata of a netCDF file, in which each of the variables has the dimension info such as &quot;bnds = 2&quot;. Is it any possible in NCL scripts that some dimension info could be omitted such as &quot;skip&quot; and &quot;ncl5&quot;, so the variable &quot;rotated_pole&quot; would be as: (&quot;ncl5&quot; and &quot;skip&quot; won&#39;t show up)<br></div><div dir="ltr"><br></div><div dir="ltr">    char rotated_pole ;<br>        rotated_pole:grid_mapping_name = &quot;rotated_latitude_longitude&quot; ;<br>        rotated_pole:grid_north_pole_latitude = 90.f ;<br>        rotated_pole:grid_north_pole_longitude = -180.f ;</div><div dir="ltr"><br></div><div dir="ltr">Thanks very much in advance!<br></div><div dir="ltr"><br></div><div dir="ltr">Best regards,</div><div dir="ltr">Mark<br></div><div dir="ltr"><br></div><div dir="ltr">===netCDF metadata generated by NCL===<br></div><div>dimensions:<br>    time = UNLIMITED ; // (12 currently)<br>    rlon = 213 ;<br>    rlat = 220 ;<br>    skip = 1 ;<br>    bnds = 2 ;<br>    ncl5 = 1 ;<br>variables:<br>    double time(time) ;<br>        time:long_name = &quot;time&quot; ;<br>        time:standard_name = &quot;time&quot; ;<br>        time:units = &quot;days since 1949-12-01 00:00:00&quot; ;<br>        time:calendar = &quot;standard&quot; ;<br>        time:axis = &quot;T&quot; ;<br>        time:bounds = &quot;time_bnds&quot; ;<br>    double rlon(rlon) ;<br>        rlon:long_name = &quot;longitude in rotated pole grid&quot; ;<br>        rlon:standard_name = &quot;grid_longitude&quot; ;<br>        rlon:units = &quot;degrees&quot; ;<br>        rlon:axis = &quot;X&quot; ;<br>    double rlat(rlat) ;<br>        rlat:long_name = &quot;latitude in rotated pole grid&quot; ;<br>        rlat:standard_name = &quot;grid_latitude&quot; ;<br>        rlat:units = &quot;degrees&quot; ;<br>        rlat:axis = &quot;Y&quot; ;<br>    char rotated_pole(skip) ;<br>        rotated_pole:grid_mapping_name = &quot;rotated_latitude_longitude&quot; ;<br>        rotated_pole:grid_north_pole_latitude = 90.f ;<br>        rotated_pole:grid_north_pole_longitude = -180.f ;<br>    float tas(time, rlat, rlon) ;<br>        tas:long_name = &quot;Near-Surface Air Temperature&quot; ;<br>        tas:standard_name = &quot;air_temperature&quot; ;<br>        tas:units = &quot;K&quot; ;<br>        tas:cell_methods = &quot;time: mean&quot; ;<br>        tas:_FillValue = 1.e+20f ;<br>        tas:missing_value = 1.e+20f ;<br>        tas:coordinates = &quot;lon lat height&quot; ;<br>    double time_bnds(time, bnds) ;<br>    double height(ncl5) ;<br>        height:long_name = &quot;height&quot; ;<br>        height:standard_name = &quot;height&quot; ;<br>        height:units = &quot;m&quot; ;<br>        height:positive = &quot;up&quot; ;<br>        height:axis = &quot;Z&quot; ;<br>    double lon(rlat, rlon) ;<br>        lon:long_name = &quot;longitude&quot; ;<br>        lon:standard_name = &quot;longitude&quot; ;<br>        lon:units = &quot;degrees_east&quot; ;<br>    double lat(rlat, rlon) ;<br>        lat:long_name = &quot;latitude&quot; ;<br>        lat:standard_name = &quot;latitude&quot; ;<br>        lat:units = &quot;degrees_north&quot; ;<br><br></div><div><br></div></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>