<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hi Nick,<br>
    <br>
    the xdef/ydef in seac4rs_all.ctl defines the grid the pdef grid is
    interpolated *to* in grads...&nbsp; take out the pdef in the ustorm.ctl
    and it should work...also check the size of the .bin file it should
    be ni*nj + 0 bytes (if you use the -sq option in set fwrite the
    output is f77 sequential)<br>
    <br>
    CC4N Mike<br>
    <br>
    <div class="moz-cite-prefix">On 2014-02-05 13:55, Heath, Nicholas
      wrote:<br>
    </div>
    <blockquote class=" cite"
id="mid_e86becce28fe422fbc6da1beddfa17f6_CO1PR05MB298_namprd05_prod_outlook_com"
cite="mid:e86becce28fe422fbc6da1beddfa17f6@CO1PR05MB298.namprd05.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style style="display: none;" id="owaParaStyle" type="text/css">#mid_e86becce28fe422fbc6da1beddfa17f6_CO1PR05MB298_namprd05_prod_outlook_com P { margin-top: 0px; margin-bottom: 0px; }
</style>
      <div name="divtagdefaultwrapper" id="divtagdefaultwrapper"
        style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: #000000; margin: 0">
        Hi,<br>
        <br>
        I am having trouble using the data created when setting gxout
        fwrite.&nbsp; The data I am starting with is Lambert conformal.&nbsp; I
        have attached the starting ctl file (seac4rs_all.ctl).&nbsp; Then, I
        used a script (also attached) to output the 0-6 km mean
        u-velocity through use of the 'fwrite' command.&nbsp; Lastly, I wrote
        a ctl file for the new data (ustorm.ctl).<br>
        <br>
        When I open ustorm.ctl and display the data. it is a mess.&nbsp; I am
        wondering if there is anything special I need to do with the
        ustorm.ctl file because the original data is in Lambert
        conformal?&nbsp; Or, is there something else I am missing?<br>
        <br>
        Here is my GrADS configuration:<br>
        <br>
        Config: v2.1.a1 little-endian readline grib2 netcdf hdf4-sds
        hdf5 opendap-grids,stn geotiff shapefile cairo<br>
        Grid Analysis and Display System (GrADS) Version 2.1.a1<br>
        Copyright (c) 1988-2013 by the Institute for Global Environment
        and Society (IGES)
        <br>
        This program is distributed WITHOUT ANY WARRANTY <br>
        See file COPYRIGHT for more information. <br>
        <br>
        Built Sun Dec 15 10:03:18 EST 2013 for x86_64-unknown-linux-gnu<br>
        <br>
        This version of GrADS has been configured with the following
        options:<br>
        &nbsp; o Built on a LITTLE ENDIAN machine<br>
        &nbsp; o Athena Widget GUI DISABLED<br>
        &nbsp; o Command line editing ENABLED <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://tiswww.case.edu/php/chet/readline/rltop.html">http://tiswww.case.edu/php/chet/readline/rltop.html</a> <br>
        &nbsp; o GRIB2 interface ENABLED <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.ijg.org">http://www.ijg.org</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.ece.uvic.ca/~mdadams/jasper">http://www.ece.uvic.ca/~mdadams/jasper</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g2clib-1.4.0&nbsp; <br>
        &nbsp; o NetCDF interface ENABLED <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.unidata.ucar.edu/software/netcdf">http://www.unidata.ucar.edu/software/netcdf</a>&nbsp; <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netcdf 4.2.1.1 of Nov 15 2013 08:44:30 $&nbsp; <br>
        &nbsp; o OPeNDAP gridded data interface ENABLED<br>
        &nbsp; o OPeNDAP station data interface ENABLED<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://iges.org/grads/gadoc/supplibs.html">http://iges.org/grads/gadoc/supplibs.html</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libgadap 2.0&nbsp; <br>
        &nbsp; o HDF4 and HDF5 interfaces ENABLED <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://hdfgroup.org">http://hdfgroup.org</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HDF 4.2r3 <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HDF5 1.8.11 <br>
        &nbsp; o GeoTIFF and KML/TIFF output ENABLED<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.libtiff.org">http://www.libtiff.org</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://geotiff.osgeo.org">http://geotiff.osgeo.org</a> <br>
        &nbsp; o KML contour output ENABLED<br>
        &nbsp; o Shapefile interface ENABLED<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://shapelib.maptools.org">http://shapelib.maptools.org</a> <br>
        &nbsp; o Cairo graphics interface ENABLED <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://cairographics.org">http://cairographics.org</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://cgit.freedesktop.org/pixman">http://cgit.freedesktop.org/pixman</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.freetype.org/index2.html">http://www.freetype.org/index2.html</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.freedesktop.org/wiki/Software/fontconfig">http://www.freedesktop.org/wiki/Software/fontconfig</a> <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cairo 1.12.16<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pixman 0.28.0<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Freetype 2.4.10<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fontconfig 2.9.0<br>
        <br>
        <br>
        <br>
        Thank you for your help!!<br>
        <br>
        -Nick<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>