<html><head></head><body>I see<div>there are different ways to produce png outputs, depending also on grads version</div><div>eg: gxprint, printim, print: you could investigate which method is faster.</div><div>when I have to produce lots of png I divide the number of png processing among the available cpus, but I immagine you already did this</div><div><br></div><div>On my knowledge it is difficult to read and render data from grib or netcdf faster than grads does, the only chance I imagine is to take advantage of parallelization</div><div><br></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>
 
Brian Gaze <brianw.gaze@googlemail.com>
<br>
<strong>
A:
</strong>
 
<gradsusr@gradsusr.org>
<br>
<strong>
Inviato:
 
</strong>
08/04/2022 19:03
<br>
<strong>
Oggetto:
</strong>
 
[gradsusr] GrADS performance vs alternatives?
<br><br><blockquote class="mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;"><div><div>Thanks David.</div><div><br></div><div>The data is stored locally on high speed SSDs.<br><br>Any tips with scripting? My professional background is software development so I'm reasonably comfortable working with grads script. However, I've not found many tweaks that make a great deal of difference in terms of performance.<br><br>Thanks</div><div><br></div><div>Brian</div><div><br></div><br><div class="mcntgmail_quote"><div class="mcntgmail_attr">On Fri, 8 Apr 2022 at 17:08, <<a href="mailto:gradsusr-request@gradsusr.org" title="Invia e-mail a gradsusr-request@gradsusr.org" class="mailto" target="_blank">gradsusr-request@gradsusr.org</a>> wrote:<br></div><blockquote class="mcntgmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send gradsusr mailing list submissions to<br>
        <a href="mailto:gradsusr@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr@gradsusr.org" class="mailto">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a title="gradsusr.org" href="https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gradsusr-request@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr-request@gradsusr.org" class="mailto">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gradsusr-owner@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr-owner@gradsusr.org" class="mailto">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gradsusr digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: GrADS performance vs alternatives? (Davide Sacchetti)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 7 Apr 2022 18:06:10 +0200<br>
From: Davide Sacchetti <<a href="mailto:davide.sacchetti@arpal.liguria.it" target="_blank" title="Invia e-mail a davide.sacchetti@arpal.liguria.it" class="mailto">davide.sacchetti@arpal.liguria.it</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr@gradsusr.org" class="mailto">gradsusr@gradsusr.org</a>><br>
Subject: Re: [gradsusr] GrADS performance vs alternatives?<br>
Message-ID: <<a href="mailto:51862359-4676@mbox.arpal.liguria.it" target="_blank" title="Invia e-mail a 51862359-4676@mbox.arpal.liguria.it" class="mailto">51862359-4676@mbox.arpal.liguria.it</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
the speed may depend on cpu but also on where your data is stored (are your datasets available locally?) and how your script is written ...<br>
Upon my knowloedge GrADS IS fast, it may be the fastest sw you can find everywhere ...<br>
Davide<br>
<br>
<br>
Dott. Davide Sacchetti<br>
Dipartimento Stato dell?Ambiente e Tutela dai Rischi Naturali<br>
U.O. Clima Meteo Idro<br>
Viale Brigate Partigiane 2, 16129 Genova (I)<br>
tel: +39 0106437535<br>
mail:?<a href="mailto:davide.sacchetti@arpal.liguria.it" target="_blank" title="Invia e-mail a davide.sacchetti@arpal.liguria.it" class="mailto">davide.sacchetti@arpal.liguria.it</a>? web:?<a title="www.arpal.liguria.it" href="https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.arpal.liguria.it%2Fhomepage%2Fmeteo.html&e=7312d17f&h=07ef49f6&f=y&p=n" target="_blank">https://www.arpal.liguria.it/homepage/meteo.html</a><br>
<br>
<br>
<br>
 Da:   Brian Gaze <<a href="mailto:brianw.gaze@googlemail.com" target="_blank" title="Invia e-mail a brianw.gaze@googlemail.com" class="mailto">brianw.gaze@googlemail.com</a>> <br>
 A:   <<a href="mailto:gradsusr@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr@gradsusr.org" class="mailto">gradsusr@gradsusr.org</a>> <br>
 Inviato:   07/04/2022 17:07 <br>
 Oggetto:   [gradsusr] GrADS performance vs alternatives? <br>
<br>
<br>
<br>
                 Questa ? la prima volta che ricevi un'email da questo mittente.         Assicurati che sia qualcuno di cui ti fidi.                <br>
Hi,<br>
<br>
<br>
<br>
I've recently started generating ECMWF 50 member ensemble plots using a GrADS script for a large latitude - longitude range. Technically it all works fine, but the issue I'm having is performance. It is dependent of course on CPU speed, but even with a very fast processor each individual graph can take approx 1.5 seconds to render and save.?<br>
<br>
<br>
To an extent running instances on multiple cores helps, but generating a range of graphs (e.g. 2m temps, 850hPa temps, MSLP etc...) can take a long time. Perhaps 40 mins or so for a country the size of the United Kingdom.?<br>
<br>
<br>
Does anyone have tips for how to optimize performance in the script? Alternatively, is there software available which runs much faster than GrADS script to do the same thing??<br>
<br>
<br>
Thanks<br>
<br>
<br>
BWG <br>
<br>
_______________________________________________ <br>
gradsusr mailing list <br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr@gradsusr.org" class="mailto">gradsusr@gradsusr.org</a> <br>
 <a href="https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n" target="_blank">https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n</a>  <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a title="gradsusr.org" href="https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fpipermail%2Fgradsusr%2Fattachments%2F20220407%2Fa20b8590%2Fattachment-0001.html&e=7312d17f&h=296be31e&f=y&p=n" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20220407/a20b8590/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank" title="Invia e-mail a gradsusr@gradsusr.org" class="mailto">gradsusr@gradsusr.org</a><br>
<a title="gradsusr.org" href="https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7312d17f&h=5ee7e1e3&f=y&p=n" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
------------------------------<br>
<br>
End of gradsusr Digest, Vol 145, Issue 2<br>
****************************************<br>
</blockquote></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=7312d17f&h=5ee7e1e3&f=y&p=n 
<br></blockquote></div></div></body></html>