<div dir="ltr">Hi, Pavel<div>Why not use simply: "x= ... ", without "define"</div><div>Isimar from Brazil.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 13 de set. de 2021 às 12:43, Pavel Kishcha <<a href="mailto:pavel@cyclone.tau.ac.il">pavel@cyclone.tau.ac.il</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">Hello to all users of grads,</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:12pt"><br></span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:12pt">A Cressman objective analysis </span><span style="font-size:12pt">was
conducted on the station data to obtain a map </span>representing<span style="font-size:12pt"> the station data.</span><br></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:12pt">'set gxout shaded'</span><br></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">'d oacres (gexpr, sexpr)'</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:12pt">As a result, the map was successfully created.</span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:12pt">To store the obtained map in a NetCDF-file, we tried to use
the following GRADS commands:</span><br></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">'set sdfwrite <a href="http://map.nc" target="_blank">map.nc</a>'</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">‘define x = oacres (gexpr, sexpr)'</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">'sdfwrite x'</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"> </p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">Unfortunately, we got the following error info:</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">DEFINE error: Define not yet valid for station data</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">              Default
file is a station data file</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"> </p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">How to solve this problem and to store the obtained map (based
on station data) in GRADS, in a NetCDF-file? Any ideas?</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black"> </p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">Thank you,</p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:12pt;font-family:"Times New Roman",serif;color:black">Pavel Kishcha</p></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="rtl"><div style="text-align:left;margin-left:40px" dir="ltr">_______________________________________________<br></div></div>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>