<html><head></head><body>yes they are scripts written by grads users<div>you may find cbarn.gs here: http://www.atmos.albany.edu/facstaff/rfovell/ATM562/cbarn.gs</div><div>no ideas about gprint.gs, it sounds like a script to dump a png file ... you could build by yourself, docs are here: http://cola.gmu.edu/grads/gadoc/gradcomdgxprint.html</div><div><br></div><div>good luck, grads it's easy and efficient, you could learn quickly</div><div>Davide<br><br><div style="margin: 0px; padding: 0px; box-sizing: content-box; color: rgb(34, 34, 34);"><i style="box-sizing: content-box;"><font size="2" style="box-sizing: content-box;"><span id="mcntmcntext-gen4583" style="box-sizing: content-box; font-family: Calibri, sans-serif;">Dott. Davide Sacchetti</span></font></i></div><div style="margin: 0px; padding: 0px; box-sizing: content-box; color: rgb(34, 34, 34);"><i style="box-sizing: content-box;"><font size="2" style="box-sizing: content-box;"><span id="mcntmcntext-gen4583" style="box-sizing: content-box; font-family: Calibri, sans-serif;"></span></font></i></div><i style="box-sizing: content-box; color: rgb(34, 34, 34);"><font size="2" style="box-sizing: content-box;"><span id="mcntmcntext-gen4583" style="box-sizing: content-box; font-family: Calibri, sans-serif;">Dipartimento Stato dell’Ambiente e Tutela dai Rischi Naturali<br style="box-sizing: content-box;">U.O. Clima Meteo Idro<br style="box-sizing: content-box;">Viale Brigate Partigiane 2, 16129 Genova (I)<br style="box-sizing: content-box;">tel: +39 0106437535<br style="box-sizing: content-box;">mail: <a href="mailto:mauro.damonte@arpal.liguria.it" class="mailto" title="Send email to mauro.damonte@arpal.liguria.it" target="_blank" style="box-sizing: content-box;">davide.sacchetti@arpal.liguria.it</a>  web: <a href="http://www.meteoliguria.it/" title="http://www.meteoliguria.it" target="_blank" style="box-sizing: content-box;">https://www.arpal.liguria.it/homepage/meteo.html</a></span></font></i><br><br><br><div><strong>
Da:
</strong>
 
Sergey Marchenko <yegres.marchenko@gmail.com>
<br>
<strong>
A:
</strong>
 
<gradsusr@gradsusr.org>
<br>
<strong>
Inviato:
 
</strong>
07/05/2022 1:16
<br>
<strong>
Oggetto:
</strong>
 
[gradsusr] Unknown command:
<br><br><blockquote class="mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;"><div style="display: block; margin: 5px 5px; padding: 10px 10px;">
  <table width="100%" style="border-radius: 3px; background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); margin: 0px; border: 1px solid rgb(255, 202, 157); box-shadow: rgb(204, 204, 204) -9px 3px 5px -8px, rgb(204, 204, 204) 9px 3px 5px -8px; border-spacing: 0px;">
    <tbody><tr style="margin: 0;">
      <td style="font-size: 16px; vertical-align: top; color: #db7000;
        font-weight: 500; text-align: left; border-radius: 3px 3px 3px 3px;
        background-color: #FFEFD5; margin: 0; padding: 10px;" align="left" valign="top">
        Questa Ã¨ la prima volta che ricevi un'email da questo mittente.
        Assicurati che sia qualcuno di cui ti fidi.
      </td>
    </tr>
  </tbody></table>
</div>
<div>Dear Grads Users,<div><br><br></div><div>Being completely new to the Grads land and, even more, to the Linux world i attempted to run a *.gs script, got some error messages and can't figure the way to go around them.</div><div><br></div><div>Grads version 2.2.1 was installed by calling "<span style="color:black;font-family:"Courier New";font-size:9pt">sudo apt install grads</span>" from Ubuntu 22.04 installed as a VM with the help of Hyper-V on Windows 10. The script i attempted to execute produces an image using a slice of data from a *.gdat file. The actual image is produced and does look reasonable, but then grads stutters when the script attempts to call the lines:</div><div><font face="monospace">"cbarn 1 0 5.5 0.8"</font></div><div>and lower down.</div><div><font face="monospace">"gprint snow1".</font><br></div><div>So no color bar and no image printed... The returned error messages are:</div><div><font face="monospace">Unknown command: cbarn<br>Unknown command: gprint</font><br></div><br>I then tried to use the Grads package to export a *.gdat file to NetCDF using the <font face="monospace">lats4d</font> function and the same message appeared.<div><br></div><div>It appears as if Grads can't find the functions called from the script or the command line. But then i can't find them either. I've no idea where ubuntu stores the functions. Simple search did not return anything reasonable. Can it be the case that after installing the grads package on Linux one is supposed to somehow map the way to the functions, so that the OS can navigate to the relevant code, once a function is called? A bit like setting the path variable in Windows. If that's the case, how is it done? If it is not, what could possibly prevent grads from running the above named functions?<br>In any case, i'd be very grateful if some one could put me on the right track. Feels like it is something very basic.<br><br><br>Best regards, Sergey M.</div></div>
<br><br>_______________________________________________
<br>gradsusr mailing list
<br>gradsusr@gradsusr.org
<br> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7f48b148&h=e3a2c917&f=y&p=n 
<br></blockquote></div></div></body></html>