<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Evan,<br>
    Another couple of comments on using a file with overlapping bounds
    in Ferret.  Ferret does not have any grid operations that handle
    such bounds, but you can make use of the bounds as a variable in
    your Ferret session.  The full message:
    <blockquote><tt>yes? use file.nc</tt><tt><br>
      </tt><tt> *** NOTE: Axis definition error on axis: ZAX. Bounds
        describe cells that overlap one another</tt><tt><br>
      </tt><tt> *** NOTE: Error in bounds "ZAX_bnds" or bounds do not
        enclose point on axis ZAX</tt><tt><br>
      </tt><tt> *** NOTE: Substituting coordinate midpoints</tt><tt><br>
      </tt><tt><br>
      </tt><tt>yes? list/k=1:5 z[gz=var]</tt><tt><br>
      </tt><tt>yes? list/k=1:5 ZAX_bnds</tt><br>
    </blockquote>
    The bounds are available in this 2-by-K variable, and you could make
    use of it in expressions that you define.<br>
    <br>
    -Ansley<br>
    <br>
    <div class="moz-cite-prefix">On 3/3/2017 3:59 PM, Ansley C. Manke
      wrote:<br>
    </div>
    <blockquote cite="mid:001d1c7b-517d-bf52-5fba-f33da2dcda4b@noaa.gov"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p>Hi Evan,<br>
      </p>
      <p>The data model in Ferret does not allow for overlapping bounds,
        nor does it allow non-contiguous bounds.  Those are legal in CF,
        but Ferret (as I imagine is the case for most software), does
        not implement everything in the standard. <br>
      </p>
      <p>In fact Ferret will not make use of your bounds definition; I
        believe it will have ignored the bounds and will instead have
        defined the grid-cell edges using the midpoints between axes. 
        Use the command,</p>
      <p>   show axis/z axis_name</p>
      <p>to see what Ferret has done to set up its the internal
        representation of the axis.</p>
      <p>-Ansley<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 3/3/2017 7:32 AM, Manning, Evan M
        (398B) wrote:<br>
      </div>
      <blockquote
        cite="mid:4F704D1D-2801-406F-A252-B80357B6F16F@jpl.nasa.gov"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
        <meta name="Title" content="">
        <meta name="Keywords" content="">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:Times;
        panose-1:2 0 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Courier;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
        <div class="WordSection1">
          <p class="MsoNormal"><span style="font-size:11.0pt">When I was
              researching  the topic I came across this:<o:p></o:p></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i> When I try and load the
                file using Ferret, this throws a warning.. Which<o:p></o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i> makes me think I¹m not
                doing things correctly:<o:p></o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i><o:p> </o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i> Ferret v6.93<o:p></o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i> yes? use file.nc<o:p></o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i>   *** NOTE: Axis
                definition error on axis: time. Bounds describe cells
                that<o:p></o:p></i></span></p>
          <p class="MsoNormal" style="margin-left:.5in"><span
              style="font-size:11.0pt">><i> overlap one another</i><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt">which made
              me think that overlap was an error.  But reading more
              context I see it is just a “note”, not an “error”, and
              clearly overlapping bounds are accepted.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt">For my
              situation of overlapping vertical trapezoids, I now think
              I should use the full overlapping extent in the “bounds”
              variable and explain the full shape of the trapezoids in
              the main variable’s description attribute.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt">Is there a
              better way to communicate the full situation?<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt">  -- Evan<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span style="color:black">From: </span></b><span
                style="color:black">Jim Biard <a moz-do-not-send="true"
                  class="moz-txt-link-rfc2396E"
                  href="mailto:jbiard@cicsnc.org"><jbiard@cicsnc.org></a><br>
                <b>Date: </b>Friday, March 3, 2017 at 5:09 AM<br>
                <b>To: </b><a moz-do-not-send="true"
                  class="moz-txt-link-rfc2396E"
                  href="mailto:cf-metadata@cgd.ucar.edu"><cf-metadata@cgd.ucar.edu></a><br>
                <b>Subject: </b>Re: [CF-metadata] Overlapping vertical
                bounds<o:p></o:p></span></p>
          </div>
          <div>
            <p class="MsoNormal"><span style="font-family:"Times
                New Roman""><o:p> </o:p></span></p>
          </div>
          <p>What makes you think overlapping bounds are illegal?<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">On 3/2/17 7:20 PM, Manning, Evan M
              (398B) wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span style="font-size:11.0pt">I have
                some quantities which are defined on trapezoids in the
                vertical direction.</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">For
                example the top trap might be full weight from the top
                of the atmosphere (TOA) to 50 hPa, then we ramp linearly
                between the first and second traps between 50 & 75
                hPa, then trap 2 is full weight 75-100 hPa, followed by
                another transition in [100, 125] hPa, etc.</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">I can’t
                have a bounds variable with the full extent of each trap
                like [ [0, 75], [50, 125], [100, … because overlap is
                illegal.</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">I could
                have underlap, just giving the intervals where each trap
                is in full force: [ [0, 50], [75, 100], …</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">Or I
                could use the midpoints of the transitions: [ [ 0,
                62.5], [62.5, 112.5], …</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">I’d
                prefer to find a standard way to communicate the precise
                situation.  Is there one?</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:11.0pt">  --
                Evan</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-family:"Times
                New Roman""><br>
                <br>
                <br>
                <o:p></o:p></span></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>CF-metadata mailing list<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="mailto:CF-metadata@cgd.ucar.edu">CF-metadata@cgd.ucar.edu</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata">http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><span style="font-family:"Times New
              Roman""><o:p> </o:p></span></p>
          <div>
            <p class="MsoNormal"><span style="font-family:"Times
                New Roman"">-- <o:p></o:p></span></p>
            <div>
              <div>
                <div>
                  <table class="MsoNormalTable"
                    style="width:375.0pt;border-collapse:collapse"
                    border="0" cellpadding="0" cellspacing="0"
                    width="500">
                    <tbody>
                      <tr style="height:53.25pt">
                        <td style="width:53.25pt;padding:1.5pt 1.5pt
                          1.5pt 1.5pt;height:53.25pt" width="71">
                          <p class="MsoNormal"
                            style="text-align:center;line-height:9.0pt"
                            align="center"><span
                              style="font-size:8.5pt;font-family:Arial;color:#333333"><a
                                moz-do-not-send="true"
                                href="http://www.cicsnc.org/"><b><span
                                    style="color:#263A8F;text-decoration:none"><img
                                      id="_x0000_i1025"
                                      src="cid:part5.FAE21B35.0BB03B89@noaa.gov"
                                      alt="ICS-NC" height="98"
                                      border="0" width="96"></span></b></a>Visit
                              us on <br>
                              <a moz-do-not-send="true"
                                href="http://www.facebook.com/cicsnc"><b><span
style="color:#263A8F;text-decoration:none">Facebook </span></b></a></span><span
style="font-size:10.5pt;font-family:Times;color:#333333"><o:p></o:p></span></p>
                        </td>
                        <td style="padding:1.5pt 1.5pt 1.5pt
                          1.5pt;height:53.25pt" valign="top">
                          <p class="MsoNormal" style="line-height:9.0pt"><b><span
style="font-size:8.5pt;font-family:Arial;color:#333333">Jim Biard</span></b><span
style="font-size:8.5pt;font-family:Arial;color:#333333"> <br>
                              <b>Research Scholar</b> <br>
                              <a moz-do-not-send="true"
                                href="http://cicsnc.org/"><b><span
                                    style="color:#263A8F;text-decoration:none">Cooperative
                                    Institute for Climate and Satellites
                                    NC </span></b></a><br>
                              <a moz-do-not-send="true"
                                href="http://ncsu.edu/"><b><span
                                    style="color:#263A8F;text-decoration:none">North
                                    Carolina State University </span></b></a><br>
                              <a moz-do-not-send="true"
                                href="http://ncdc.noaa.gov/"><b><span
                                    style="color:#263A8F;text-decoration:none">NOAA
                                    National Centers for Environmental
                                    Information </span></b></a><br>
                              <i>formerly NOAA’s National Climatic Data
                                Center</i> <br>
                              151 Patton Ave, Asheville, NC 28801 <br>
                              e: <a moz-do-not-send="true"
                                href="mailto:jbiard@cicsnc.org"><span
                                  style="color:#263A8F">jbiard@cicsnc.org</span></a>
                              <br>
                              o: +1 828 271 4900 <br>
                              <br>
                            </span><i><span
                                style="font-size:8.5pt;font-family:Arial;color:gray">Connect
                                with us on Facebook for <a
                                  moz-do-not-send="true"
                                  href="https://www.facebook.com/NOAANCEIclimate"><span
                                    style="color:#263A8F">climate</span></a>
                                and <a moz-do-not-send="true"
                                  href="https://www.facebook.com/NOAANCEIoceangeo"><span
                                    style="color:#263A8F">ocean and
                                    geophysics</span></a> information,
                                and follow us on Twitter at <a
                                  moz-do-not-send="true"
                                  href="https://twitter.com/NOAANCEIclimate"><span
                                    style="color:#263A8F">@NOAANCEIclimate</span></a>
                                and <a moz-do-not-send="true"
                                  href="https://twitter.com/NOAANCEIocngeo"><span
                                    style="color:#263A8F">@NOAANCEIocngeo</span></a>.
                              </span></i><span
                              style="font-size:10.5pt;font-family:Times;color:#333333"><o:p></o:p></span></p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <p class="MsoNormal"><span
                      style="font-size:13.5pt;font-family:Helvetica;color:black"><o:p> </o:p></span></p>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
CF-metadata mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:CF-metadata@cgd.ucar.edu">CF-metadata@cgd.ucar.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata">http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>