<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Jerry,<br>
    <br>
    In order for NCL to recognize the file type, you need to use one of
    the approved file extensions for that type when you open it (you
    don't actually have to change the system filename). So if you want
    to open a grib2 file that does not already end in grb2 or grib2, do
    the following:<br>
    <br>
    filename = "foo"<br>
    file = addfile( filename + ".grb2", "r" )<br>
    <br>
    The same is true if you are using ncl_filedump: add the appropriate
    extension to the filename. In both cases, NCL will look for the file
    sans extension as well but will use the extension to determine the
    file type.<br>
    <br>
    - Walter<br>
    <br>
    <div class="moz-cite-prefix">On 2016-04-08 14:40, Thomas Cram wrote:<br>
    </div>
    <blockquote cite="mid:2ad24a1f-6f34-467c-af0d-790cf2d8b3d1@ucar.edu"
      type="cite">
      <div dir="ltr">Jerry,
        <div><br>
        </div>
        <div>I'm re-sending this, because my previous e-mail was
          rejected by the ncl-talk mailing list.  I'm now subscribed to
          the list, and this now should go through.</div>
        <div><br>
        </div>
        <div>- Tom<br>
          <br>
          On Friday, April 8, 2016 at 12:35:04 PM UTC-6, Thomas Cram
          wrote:
          <blockquote class="gmail_quote" style="margin: 0;margin-left:
            0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
            <div dir="ltr">Hi Jerry,
              <div><br>
              </div>
              <div>I'm bringing NCL support into this thread, as they
                should be able to help you out on this issue.  Could you
                please follow up this e-mail and provide a more detailed
                error message that is being returned by NCL?  See the
                section 'Submitting a bug report' at <a
                  moz-do-not-send="true"
                  href="https://www.ncl.ucar.edu/Support/email_lists.shtml"
                  target="_blank"><a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/">https://www.ncl.ucar.edu/</a><wbr>Support/email_lists.shtml</a>,
                which instructs what information NCL support asks for.</div>
              <div><br>
              </div>
              <div>- Tom<br>
                <br>
                On Friday, April 8, 2016 at 10:05:07 AM UTC-6, jerry
                wrote:
                <blockquote class="gmail_quote"
                  style="margin:0;margin-left:0.8ex;border-left:1px #ccc
                  solid;padding-left:1ex">Hi,
                  <br>
                  <br>
                  I have downloaded some NCEP files that appear to be in
                  grib2 binary:
                  <br>
                  <br>
                  gfs.0p25b.2016033012.f036.<wbr>grib2.spasub.browning156421
                  <br>
                  <br>
                  on my UBUNTU  64 bit Debian linux OS. It seems that
                  NCL is not <br>
                  recognizing that it is a grib2 file.
                  <br>
                  Is there something I must do to have NCL recognize it?
                  Thank you for <br>
                  your help.
                  <br>
                  <br>
                  Jerry
                  <br>
                  <br>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
    </blockquote>
    <br>
  <br />
<table style="border-top: 1px solid #aaabb6;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=oa-2200-c" target="_blank"><img src="https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange-border-v1.png" /></a></td>
                <td style="width: 470px; padding-top: 15px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=oa-2200-c" target="_blank" style="color: #4453ea;">www.avast.com</a>
                </td>
        </tr>
</table></body>
</html>