<div dir="ltr"><div class="gmail_extra">Hi wujie, </div><div class="gmail_extra"><br></div><div class="gmail_extra">I think the reason for that error is because the ctl file is intended for reading multiple files.</div><div class="gmail_extra">See this line: <b>dset ^fcst_phyland125.%y4%m2</b></div><div class="gmail_extra"><b><br></b></div><div class="gmail_extra">[1] If you want to use cdo, you need to set this to a specific year and month. Then create a bash script to change that line iteratively for all the files.</div><div class="gmail_extra"> </div><div class="gmail_extra">[2] Actually, I asked this question before. You can convert the jra55 grib files to netcdf using the ncl_convert2nc function (<a href="https://www.ncl.ucar.edu/Document/Tools/ncl_convert2nc.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Document/Tools/ncl_convert2nc.<wbr>shtml</a>)</div><div class="gmail_extra"><br></div><div class="gmail_extra">See this link for my question before.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://mailman.ucar.edu/pipermail/ncl-talk/2017-December/010983.html" target="_blank">http://mailman.ucar.edu/<wbr>pipermail/ncl-talk/2017-<wbr>December/010983.html</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><b><br clear="all"></b><div><div class="m_-2973184986600812194gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif">Hope this helps,</font></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">Lyndz</font><br><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 21, 2018 at 11:22 PM, WUJIE <span dir="ltr"><<a href="mailto:393069045@qq.com" target="_blank">393069045@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<div>Not sure whether the question is suitable here. I follow <u><a href="https://www.ncl.ucar.edu/Applications/grads.shtml" target="_blank">https://www.ncl.ucar.ed<wbr>u/Applications/grads.shtml</a></u> to process JRA55  data using CDO "cdo -f nc import_binary fcst_phyland125.monthly.ctl OUT.nc" to transfer the GrADS to ncfile.</div><div><br></div><div>I use the monthly data with the CTL file downloaded in the JRA55 website, but got error below which makes me struggled this whole day;</div><div><br></div><div>----</div><div><div>cdo import_binary (Abort): I/O error reading record=1 of timestep=1!</div></div><div><br></div><div>-----</div><div><br></div><div>Can anyone who has experience in processing GrADS data with the CDO or, if possible a NCL script to transfer those GrADS to netcdf files?</div><div><br></div><div>I attached one data file and CTL file here to search help.</div><div><br></div><div>Thanks</div><div><br></div><div>Jie</div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div>