<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }div.foxdiv20171006124322406157 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hello Artur,</div><div><br></div><div>The standard binary file of GrADS contains 4-byte folat data, but your binary file contains 2-byte short integer data. So you need to change the variable 'units field' (<span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">http://cola.gmu.edu/grads/gadoc/descriptorfile.html#VARS</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">).</span></div>
<div><br></div><div>Regards</div><div>Yaqiang</div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">*************************************************</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Dr. Yaqiang Wang</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Chinese Academy of Meteorological Sciences (CAMS)</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">46, Zhong-Guan-Cun South Avenue</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Beijing, 100081</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">China</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"> </span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><a href="mailto:yaqiang.wang@gmail.com" target="_blank" style="font-family: 微软雅黑; font-size: 14px; line-height: 21px;">yaqiang.wang@gmail.com</a><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><a href="http://www.meteothinker.com" target="_blank" style="font-family: 微软雅黑; font-size: 14px; line-height: 21px;">http://www.meteothinker.com</a></div><div style="margin: 10px;"><span style="background-color: rgba(0, 0, 0, 0);"><u><font color="#0000ff"><a href="https://www.researchgate.net/profile/Yaqiang_Wang5">https://www.researchgate.net/profile/Yaqiang_Wang5</a></font></u></span><font face="verdana" size="2"><span style="line-height: 19px;"><br></span></font><span style="font-family: 微软雅黑; font-size: 14px; color: rgb(136, 136, 136); line-height: 21px;">**************************************************</span></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:agm86@yandex.ru">Gevorgyan Artur</a></div><div><b>Date:</b> 2017-10-06 01:10</div><div><b>To:</b> <a href="mailto:gradsusr@gradsusr.org">GrADS Users Forum</a></div><div><b>Subject:</b> Re: [gradsusr] How to solve the problem for Julian date for grads.</div></div></div><div><div class="FoxDiv20171006124322406157"><div>Dear Jennifer,</div><div> </div><div>I highly appreciate your efforts to help me with this issue. Indeed, I am trying to map sattelite-derived precipitation data from PERSIANN-Cloud Classification System (PERSIANN-CCS) at 0.04° x 0.04° resolution. The near real-time and archive data at 1-hourly temporal resolution are placed at the following ftp adress:</div><div> </div><div><a href="ftp://persiann.eng.uci.edu/CHRSdata/PERSIANN-CCS/hrly/">ftp://persiann.eng.uci.edu/CHRSdata/PERSIANN-CCS/hrly/</a> </div><div> </div><div>The description of precipitation data files which I am trying to map through GrADS is provided in the <strong>readme.hrly</strong> file. Could you please look into the <strong>readme.hrly </strong>and<strong> precipitation files </strong>at the ftp adress in order to better undersatnd this issue ?</div><div> </div><div>Thanks for your help !</div><div> </div><div>Artur</div><div> </div><div>05.10.2017, 18:51, "Jennifer M Adams" <jadams21@gmu.edu>:</div><blockquote type="cite" style="margin-top: 0px;"><p>oops. math. Your file is too small, but I believe the factor is 2, not 4. —Jennifer<br><br> </p><blockquote style="margin-top: 0px;"> On Oct 5, 2017, at 11:06 AM, Jennifer M Adams <<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>> wrote:<br><br> This error means that the file size is wrong. Based on your descriptor file, the file should be 9000 x 3000 x 4 bytes.<br><br> I did not download, but if <span>54000000</span> is the file size, it is too small by a factor of 4.<blockquote style="margin-top: 0px;"><blockquote style="margin-top: 0px;"> rgccs1h<span>1618413</span>.bin (54000000)</blockquote></blockquote><br> —Jennifer<br> <blockquote style="margin-top: 0px;"> On Oct 5, 2017, at 9:51 AM, Gevorgyan Artur <<a href="mailto:agm86@yandex.ru">agm86@yandex.ru</a>> wrote:<br><br> Dear Jennifer,<br><br> You are right, but when I delete the double quote: “ in my DSET entry, I have another error, please see below:<br><br><br> ga-> open Persian.ctl<br> Scanning description file: Persian.ctl<br> Data file rgccs1h%y2%j3%h2.bin is open as file 1<br> LON set to 0 360<br> LAT set to -59.98 59.98<br> LEV set to 1 1<br> Time values set: 2016:7:2:14 2016:7:2:14<br> E set to 1 1<br> ga-> d r<br> Low Level I/O Error: Read error on data file<br> Data file name = rgccs1h%y2%j3%h2.bin<br> Error reading 36000 bytes at location <span>107964000</span><br> Data Request Error: Error for variable 'r'<br> Error ocurred at column 1<br> DISPLAY error: Invalid expression<br> Expression = r<br><br><br><br><br><br><br><br><br> 05.10.2017, 16:26, "Jennifer M Adams" <<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>>:<blockquote style="margin-top: 0px;"> I think the problem is that you have an extra character (a double quote: “) at the end of your filename in your DSET entry. Here is a helpful debugging feature: After you open the descriptor file, invoke the command ‘set misswarn on 1’ (assuming this is file #1) and then try to display some data. If GrADS is unable to find the data file, it will tell you the name of the file it is looking for.<br><br> ga-> set misswarn on 1<br> ga-> d r<br> Warning: Open error, fn = rgccs1h<span>1618414</span>.bin"<br> Cannot contour grid - all undefined values<br><br> —Jennifer<br><br><br> On Oct 5, 2017, at 3:28 AM, Gevorgyan Artur <<a href="mailto:agm86@yandex.ru">agm86@yandex.ru</a>> wrote:<br><br> Dear Jenifer,<br><br> Thanks for your reply! I tried to map the data using your suggestions, but I have this message when trying to display my data in GrADS: "Cannot contour grid - all undefined values"<br><br> This is the content of my ctl file:<br><br> DSET ^rgccs1h%y2%j3%h2.bin”<br> OPTIONS template<br> OPTIONS big_endian<br> OPTIONS yrev<br> UNDEF -9999<br> TITLE Precipitation estimates<br> XDEF 9000 LINEAR 0.02 0.04<br> YDEF 3000 LINEAR -59.98 0.04<br> ZDEF 01 LEVELS 1<br> TDEF 1 LINEAR 14z02jul2016 1hr<br> VARS 1<br> r 1 99 hourly cmorph [ mm/hr*100.0 ]<br> ENDVARS<br><br> Please find the rgccs1h<span>1618414</span>.bin data file attached to my yandex disk.<br> Could you please tell me what is wrong now ?<br><br> Best regards,<br> Artur<br><br><br> 04.10.2017, 16:48, "Jennifer M Adams" <<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>>:<br> Use ‘OPTIONS template’ and change your DSET entry to "DSET ^rgccs1h16%j314.bin”<br> This will work with the TDEF you have in your descriptor file. It is fine to use templates even if you only have one data file.<br><br> I noticed that your initial time value in your TDEF (00z) doesn’t match the hour in your filename (14z?). Try this instead:<br><br> DSET ^rgccs1h%y2%j3%h2.bin”<br> OPTIONS template<br> TDEF 1 linear 14z02jul2016 1hr<br><br> —Jennifer<br><br><br><br> On Oct 3, 2017, at 2:14 AM, Gevorgyan Artur <<a href="mailto:agm86@yandex.ru">agm86@yandex.ru</a>> wrote:<br><br> Dear Sir/Madam,<br><br> I have a sattellite derived precipitation field but in a Juilan date. I am not able visualize the data throught GrADS. Could you help me with this problem ?<br> The Julian date is 184 (2, July).<br><br> Please find attached the Descriptor file and data file (attached to my Yandex disk)<br><br><br> Please note, that for monthly precipitation fileds the descriptor file works fine.<br><br><br><br> Best regards,<br> Artur<br><br><br> rgccs1h<span>1618413</span>.bin (54000000)<br> <Persian.ctl>_______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br> --<br> Jennifer Miletta Adams<br> Center for Ocean-Land-Atmosphere Studies (COLA)<br> George Mason University<br><br><br> ,<br> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br> rgccs1h<span>1618414</span>.bin (54000000)<br> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br> --<br> Jennifer Miletta Adams<br> Center for Ocean-Land-Atmosphere Studies (COLA)<br> George Mason University<br><br><br><br><br> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> </blockquote> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></blockquote><br> --<br> Jennifer Miletta Adams<br> Center for Ocean-Land-Atmosphere Studies (COLA)<br> George Mason University<br><br><br><br><br> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></blockquote><p> </p><span>--<br>Jennifer Miletta Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>George Mason University</span><p><br><br><br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></p></blockquote></div></div></blockquote>
</body></html>