<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Dear Bob,</DIV>
<DIV> </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> </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> </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">Bob Kuligowski - NOAA Federal</A> </DIV>
<DIV><B>Sent:</B> Monday, February 04, 2013 6:03 AM</DIV>
<DIV><B>To:</B> <A 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> </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> My .ctl file
is attached. It assumes that the target file is located in the same
directory as the .ctl file. Please make sure that the file name in the
DSET entry is exactly the same as the file you are
using.<BR><BR> 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.
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> </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">”entire grid
undefined”</FONT></DIV>
<DIV>In step two:</DIV>
<DIV> </DIV>
<DIV>DSET entry: I could not find the typo error "intrp" to " interp"</DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">If you could send me the corrected ctl file to
try it will be great. </FONT></DIV>
<DIV> </DIV>
<DIV>Do I need to define each contour line value to enable me
display?<BR><BR>Best rgards,</DIV>
<DIV>Marwan </DIV>
<DIV> </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> </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> </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> I just tried
it and got the same result, but I was able to fix it and make it work.
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>DSET entry: Change "intrp" to "interp" in the file name (it's a typo and
I just notified the developer).
<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". (If you're not
sure, just try both. The bad one will give you nonsensical
values).<BR></LI></OL> One other suggestion is to get rid of
the "template" option in the OPTIONS entry. 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"
<<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>> 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><PRE wrap="">--
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" moz-do-not-send="true">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" moz-do-not-send="true">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</A>
_______________________________________________
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><PRE wrap="">------------------------------------------------------------------------
_______________________________________________
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-freetext href="http://gradsusr.org/mailman/listinfo/gradsusr" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</A>
</PRE></BLOCKQUOTE><PRE wrap="">_______________________________________________
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-freetext href="http://gradsusr.org/mailman/listinfo/gradsusr" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</A>
_______________________________________________
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-freetext href="http://gradsusr.org/mailman/listinfo/gradsusr" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</A>
</PRE></BLOCKQUOTE><BR><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" moz-do-not-send="true">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" moz-do-not-send="true">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</A>
</PRE>
<HR>
_______________________________________________<BR>gradsusr mailing list<BR><A
class=moz-txt-link-abbreviated
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</A><BR><A
class=moz-txt-link-freetext
href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</A><BR></DIV></DIV></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><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>
<P>
<HR>
_______________________________________________<BR>gradsusr mailing
list<BR>gradsusr@gradsusr.org<BR>http://gradsusr.org/mailman/listinfo/gradsusr<BR></DIV></DIV></DIV></BODY></HTML>