<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dear Marwan,<br>
      <br>
      &nbsp;&nbsp;&nbsp; I only see the .ctl file and a screenshot in the attachment;
      there is no binary file attached.&nbsp; However, the file name is not
      the standard file name for CMORPH files...where are you getting
      the file from?<br>
      <br>
      &nbsp;&nbsp;&nbsp; Also, please delete the 'template' entry from OPTIONS.&nbsp; I
      don't see a need for it and it will keep GrADS from informing you
      that the source file is missing.<br>
      <br>
      Cheers,<br>
      Bob<br>
    </div>
    <blockquote cite="mid:DUB118-DS95333DADFA708B1BC1F3CB5070@phx.gbl"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div dir="ltr">
        <div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
          12pt">
          <div>Dear Bob,</div>
          <div>&nbsp;</div>
          <div>I really value your help however I am not sure why is
            this ctl file would not work with the binary file that I
            have included also in the attachment. </div>
          <div>Is there is anyway I can change this file into NetCDF or
            Ascii file, which I know how to use. <br>
            If you could take a look at the files, and tell me what I am
            doing wrong. </div>
          <div>Also, you could see the error message </div>
          <div>&nbsp;</div>
          <div>P.S. </div>
          <div>PC user ( cygwin)</div>
          <div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY:
            'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT:
            normal; TEXT-DECORATION: none">
            <div style="FONT: 10pt tahoma">
              <div>&nbsp;</div>
              <div style="BACKGROUND: #f5f5f5">
                <div style="font-color: black"><b>From:</b> <a
                    moz-do-not-send="true"
                    title="bob.kuligowski@noaa.gov"
                    href="mailto:bob.kuligowski@noaa.gov">Bob Kuligowski
                    - NOAA Federal</a> </div>
                <div><b>Sent:</b> Monday, February 04, 2013 6:03 AM</div>
                <div><b>To:</b> <a moz-do-not-send="true"
                    title="gradsusr@gradsusr.org"
                    href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
                </div>
                <div><b>Subject:</b> Re: [gradsusr] How to read CMORPH
                  data</div>
              </div>
            </div>
            <div>&nbsp;</div>
          </div>
          <div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY:
            'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT:
            normal; TEXT-DECORATION: none">
            <div class="moz-cite-prefix">Dear Marwan,<br>
              <br>
              &nbsp;&nbsp;&nbsp; My .ctl file is attached.&nbsp; It assumes that the target
              file is located in the same directory as the .ctl file.&nbsp;
              Please make sure that the file name in the DSET entry is
              exactly the same as the file you are using.<br>
              <br>
              &nbsp;&nbsp;&nbsp; You should not need to define the contour line values
              at all to get the display to work; I didn't need to do
              that.&nbsp; However, you will want to multiply the value of
              'cmorph' by 0.2 in order to get units of mm/h.<br>
              <br>
              Cheers,<br>
              Bob<br>
              <br>
            </div>
            <blockquote
              cite="mid:DUB118-DS8D3B03C63411F5DF48D1EB5010@phx.gbl"
              type="cite">
              <div dir="ltr">
                <div style="FONT-FAMILY: 'Calibri'; COLOR: #000000;
                  FONT-SIZE: 12pt">
                  <div>Dear Bob, </div>
                  <div>&nbsp;</div>
                  <div>I have followed the steps you have suggested and
                    I was able to open the file only, yet I could not
                    display of the input file. I am still getting the
                    same error message.<br>
                    <font face="Courier New">&#8221;entire grid undefined&#8221;</font></div>
                  <div>In step two:</div>
                  <div>&nbsp;</div>
                  <div>DSET entry: I could not find the typo error
                    "intrp" to " interp"</div>
                  <div>&nbsp;</div>
                  <div><font face="Courier New">If you could send me the
                      corrected ctl file to try it will be great. </font></div>
                  <div>&nbsp;</div>
                  <div>Do I need to define each contour line value to
                    enable me display?<br>
                    <br>
                    Best rgards,</div>
                  <div>Marwan </div>
                  <div>&nbsp;</div>
                  <div style="FONT-STYLE: normal; DISPLAY: inline;
                    FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
                    small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
                    <div style="FONT: 10pt tahoma">
                      <div>&nbsp;</div>
                      <div style="BACKGROUND: #f5f5f5">
                        <div style="font-color: black"><b>From:</b> <a
                            title="bob.kuligowski@noaa.gov"
                            href="mailto:bob.kuligowski@noaa.gov"
                            moz-do-not-send="true">Bob Kuligowski - NOAA
                            Federal</a> </div>
                        <div><b>Sent:</b> Friday, February 01, 2013 6:04
                          AM</div>
                        <div><b>To:</b> <a
                            title="gradsusr@gradsusr.org"
                            href="mailto:gradsusr@gradsusr.org"
                            moz-do-not-send="true">gradsusr@gradsusr.org</a>
                        </div>
                        <div><b>Subject:</b> Re: [gradsusr] How to read
                          CMORPH data</div>
                      </div>
                    </div>
                    <div>&nbsp;</div>
                  </div>
                  <div style="FONT-STYLE: normal; DISPLAY: inline;
                    FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
                    small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
                    <div class="moz-cite-prefix">Dear Marwan,<br>
                      <br>
                      &nbsp;&nbsp;&nbsp; I just tried it and got the same result, but I
                      was able to fix it and make it work.&nbsp; You will
                      need to make four changes in the .ctl file:<br>
                      <ol>
                        <li>DSET entry: Put your data path in the
                          "your-data-set-path" section. </li>
                        <li>DSET entry: Change "intrp" to "interp" in
                          the file name (it's a typo and I just notified
                          the developer). </li>
                        <li>DSET entry: Put the date of the file you're
                          interested in in the "%y4%m2%d2%h2" part. </li>
                      </ol>
                      (To summarize the first three points, the file
                      name in the DSET entry should EXACTLY match the
                      name of the file you're trying to plot).
                      <ol>
                        <li>If your machine is little Endian rather than
                          big Endian, change the OPTIONS entry from
                          "big_endian" to "little_endian".&nbsp; (If you're
                          not sure, just try both.&nbsp; The bad one will
                          give you nonsensical values).<br>
                        </li>
                      </ol>
                      &nbsp;&nbsp;&nbsp; One other suggestion is to get rid of the
                      "template" option in the OPTIONS entry.&nbsp; It has
                      its uses, but one of the bad things about it is
                      that it stops GrADS from giving an error message
                      if it can't find the actual file (hence it didn't
                      yell about any of the issues in changes 1-3 which
                      kept it from finding the file) and it kept me from
                      realizing the problem sooner.<br>
                      <br>
                      Cheers,<br>
                      Bob<br>
                    </div>
                    <blockquote
                      cite="mid:DUB406-EAS40589BA106E428C4215F00AB51C0@phx.gbl"
                      type="cite">
                      <pre wrap="">Hi NICK and Bob,

I am deeply thankful for all of your help and support but could you give me a reason why l am getting this error message ^entire grid undefined ^

IS it becuase i did not set the range of vlues if not could anyone help me with that as in script or code

Nicholas Graham <a class="moz-txt-link-rfc2396E" href="mailto:ngraham@hrc-lab.org" moz-do-not-send="true">mailto:ngraham@hrc-lab.org</a> wrote:

Hello Marwan,

 From looking at a fortran The CMORPH data files are flat (only data)
files - the data are big-endian 4-byte floating point numbers.
You can read the data in to GrADS and process it as you like. You could
also read the gridded data in Matlab using "fread" and extract or process
the data at the point of interest.

regards - Nick

Marwan Kheimi wrote:
</pre>
                      <blockquote type="cite">
                        <pre wrap="">Dear Bob,

Could you be more a specific about what type of program I should be
using because I am new to this. I am trying to simple calculation such as
Regression analysis, Correlation, RMS
Also, I am trying to compute the annual, monthly, 10-daily, daily for
a specific coordinate and plot.

I was working on matlab because I am familiar with it but now with
CMORPH files I am not sure what use. I am kinda of beginner user.
However, I am a fast learner if you could guide through the process or
at least referring to me some website that would be great.

Best regards,
Marwan



On Jan 31, 2013, at 6:36 AM, "Bob Kuligowski - NOAA Federal"
&lt;<a class="moz-txt-link-abbreviated" href="mailto:bob.kuligowski@noaa.gov" moz-do-not-send="true">bob.kuligowski@noaa.gov</a> <a class="moz-txt-link-rfc2396E" href="mailto:bob.kuligowski@noaa.gov" moz-do-not-send="true">mailto:bob.kuligowski@noaa.gov</a>&gt; wrote:

</pre>
                        <blockquote type="cite">
                          <pre wrap="">Dear Marwan,

    The only way I know to plot CMORPH data is to use the control files
and README guidance in <a class="moz-txt-link-freetext" href="ftp://ftp.cpc.ncep.noaa.gov/precip/global_CMORPH/" moz-do-not-send="true">ftp://ftp.cpc.ncep.noaa.gov/precip/global_CMORPH/</a>.

Cheers,
Bob

</pre>
                          <blockquote type="cite">
                            <pre wrap="">Hi gradusers,

I have been trying to open and plot these data but before that is
there is anyway to change there extension from binary to familiar
extenstion as in HDF NetCDF or Asccii file.

Also, is there is away to install grad into windows os or is it
better to use ubuntu linxus distribution or any other referrals. I
am new on this but I wish someone could have some experience with
that to help/ share.

Thank you all for your help in advance.



_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" moz-do-not-send="true">gradsusr@gradsusr.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:gradsusr@gradsusr.org" moz-do-not-send="true">mailto:gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
                          </blockquote>
                          <br>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bob Kuligowski, Ph.D.
Meteorologist
NOAA/NESDIS/Center for Satellite Applications and Research (STAR)

Mailing Address:
National Oceanic and Atmospheric Administration
NESDIS STAR/SMCD
Bob Kuligowski
NCWCP E/RA2
5830 University Research Court
2nd Floor, Office #2828
College Park, MD 20740-3818

Phone:  (301) 683-3593
Fax  :  (301) 683-3616

<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php">http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php</a>
<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</a>

</pre>
  </body>
</html>