<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Have you seen the example
<a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/Applications/Scripts/grads_2.ncl">https://www.ncl.ucar.edu/Applications/Scripts/grads_2.ncl</a><br>
<br>
The script reads the
same simple GrADS file in <b> Example 1</b> but creates a netCDF
file
and plots the data. The creation of netCDF necessitates the creation
of coordinate variables and other information.<br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 18.12.17 um 16:40 schrieb Karin
Meier-Fleischer:<br>
</div>
<blockquote type="cite"
cite="mid:12aa4acd-8a4b-676f-37c4-da2414e87f60@dkrz.de">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi Arka, <br>
<br>
please, don't send the same question again by changing the
subject! And always reply to the ncl-talk mailing list.<br>
<br>
If you don't have the CDOs available, hopefully you have Ruby
installed. See<br>
<a class="moz-txt-link-freetext"
href="https://www.ncl.ucar.edu/Applications/grads.shtml#ruby"
moz-do-not-send="true">https://www.ncl.ucar.edu/Applications/grads.shtml#ruby</a><br>
<br>
The hardest way would be to write a program e.g. Fortran to read
the GrADS binary and write netCDF using the netCDF library.<br>
<br>
Maybe you should install CDO, see
<a class="moz-txt-link-freetext"
href="https://code.mpimet.mpg.de/projects/cdo/wiki#Installation-and-Supported-Platforms"
moz-do-not-send="true">https://code.mpimet.mpg.de/projects/cdo/wiki#Installation-and-Supported-Platforms</a><br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 18.12.17 um 07:28 schrieb Arka
Banerjee:<br>
</div>
<blockquote type="cite"
cite="mid:CAO_6oLgi5-8mihhD30VRKJxAX409A2y1onFK3=2fhmj_659Apg@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div><span style="font-size:12.8px">I’d like to convert data
from .grd files to netcdf files using a CTL file. If
somebody has the solution for it please inform me.</span><br>
</div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Thanks</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Arka</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu" moz-do-not-send="true">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>