<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you very much for the quick reply, Jennifer!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
So to reiterate, I need to save the 'q shades' output from a forecast hour with valid data and then use that same output for a forecast hour that has no data, (instead of running 'q shades' again on the forecast hour with no data) therefore preserving the desired
 colorbar on the plot.</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt; font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style=""><span style="font-size:11pt"><b><span style="font-size:14pt">Aaron
 Perry</span></b></span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif" style=""><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:11pt"><span style="font-size:14pt"></span></span></font><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style=""><span style="font-size:12pt">Meteorologist<br>
</span><span style="font-size:12pt"></span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Class of '16</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:12pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Northern Vermont University-Lyndon</span></font></font></div>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><span style="font-size:10pt">(formerly </span><span style="font-size:10pt">Lyndon
 State College)</span></span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
<span style="font-size:12pt"></span><span style="font-size:12pt">Boston, Mass.</span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt"><span style="font-size:12pt">Twitter:
</span><a href="https://twitter.com/AaronPerryWx" class="OWAAutoLink"><span style="font-size:12pt">@AaronPerryWx</span></a></span></font><font size="2"><span style="font-size:11pt"><span style="font-size:12pt"><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"></a><a href="https://twitter.com/AaronPerryWx" class="OWAAutoLink"></a></span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt">Email: </span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:12pt"><a href="mailto:axp09171@vsc.edu" title="axp09171@vsc.edu">axp09171@vsc.edu</a></span></font></font></div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Jennifer M Adams <jadams21@gmu.edu><br>
<b>Sent:</b> Tuesday, April 12, 2022 7:31 AM<br>
<b>To:</b> (gradsusr@gradsusr.org) <gradsusr@gradsusr.org><br>
<b>Subject:</b> Re: [gradsusr] Plotting xcbar.gs Even When There is No Valid Data</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<h4 style="display:block; color:#ff0000; background-color:white; font-size:16px; font-weight:bold">
This message is from an external sender. Please be careful when clicking on links and attachments.</h4>
<br>
<br>
<div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The colorbar scripts generally run 'q shades' and then parse the output in the 'result' variable. I have worked around this by setting up a plot with the contour levels and colors I want, then saving the output from 'q shades' in a script variable for later
 use:<br>
'q shades'<br>
_shdinfo = result<br>
<br>
Then I append a modified copy of the colorbar script as a function in my main drawing script that uses _shdinfo instead of running 'q shades' again.
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
--Jennifer<br>
</div>
<div id="x_appendonsend"></div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Perry, Aaron <axp09171@alumni.northernvermont.edu><br>
<b>Sent:</b> Tuesday, April 12, 2022 4:29 AM<br>
<b>To:</b> (gradsusr@gradsusr.org) <gradsusr@gradsusr.org><br>
<b>Subject:</b> [gradsusr] Plotting xcbar.gs Even When There is No Valid Data</font>
<div> </div>
</div>
<div dir="ltr">
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Good Morning All,</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am trying to figure out a way to plot xcbar.gs even when there is no valid data in the grid to plot.</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
For instance, there is no GFS precipitation values in a certain domain, say the Northeastern US, for Forecast Hour 12. xcbar.gs says that there is no shading information and therefore, does not plot a colorbar for that one frame. I want to have that precipitation
 colorbar plot for every frame regardless of if there is data in the grid or not.</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I've tried going into xcbar.gs to see if there is an override to plot regardless of valid data or not but, there doesn't appear to be.</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Any and all suggestions would be greatly appreciated.</div>
<div id="x_x_Signature">
<div>
<div id="x_x_divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt; font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style=""><span style="font-size:11pt"><b><span style="font-size:14pt">Aaron
 Perry</span></b></span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif" style=""><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:11pt"><span style="font-size:14pt"></span></span></font><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style=""><span style="font-size:12pt">Meteorologist<br>
</span><span style="font-size:12pt"></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Class of '16</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-size:13px"><span style="font-size:12pt">Northern Vermont University-Lyndon</span></font></font></div>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><span style="font-size:10pt">(formerly </span><span style="font-size:10pt">Lyndon
 State College)</span></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
<span style="font-size:12pt"></span><span style="font-size:12pt">Boston, Mass.</span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt"><span style="font-size:12pt">Twitter:
</span><a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecure-web.cisco.com%2F1egToesz6FY1dQvl09040rrssQtgZSpZ37u0JC_BhMIqqGXDaOKm_GcDP8OZxfw5NJlqqFuoRKoKn2aXLLHz9lGrlKhdHibrlncd2fl0OlueWSALz8zjKx2Izbrd-LyQCFWj0MqKzgH_mksX34UIKC1VbG1_FBggf_vjEgGoxBL4zBoj1MVHm6S4jxv_uKfwbNLx3eKyftRZwBp2AWbzJ1CmTLAzSyX6MIl2g5HJ1zXFiGCIsLCK13RYrT53_lKb3Td_kTlxK4Q5KlGLw1UjBqktTn1Tp-yowSGIvKMO9CTBSsEyShaWNwIN6GLt1aw4CJj1NXJPDTnS4ANRpo3RphXFkpbfklh77_t-H9dgk-5yCcr3D8gt8zas1IivafPUV0EgxvOIzWrcY5zClfmgVUq2nOZUWKttKxLA2XKWtwLgt9CSk1kLr63d5eQykYA2fPEs3gXwIs5wJ7We-gs1AzQ%2Fhttps%253A%252F%252Ftwitter.com%252FAaronPerryWx&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C21e556e6178c4056b09c08da1c781cc4%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637853599937083767%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PHZNIST1ZgEuXgHQn7bN1%2BPK7Gyi6fPjHNVrtgcwWn0%3D&reserved=0" originalsrc="https://secure-web.cisco.com/1egToesz6FY1dQvl09040rrssQtgZSpZ37u0JC_BhMIqqGXDaOKm_GcDP8OZxfw5NJlqqFuoRKoKn2aXLLHz9lGrlKhdHibrlncd2fl0OlueWSALz8zjKx2Izbrd-LyQCFWj0MqKzgH_mksX34UIKC1VbG1_FBggf_vjEgGoxBL4zBoj1MVHm6S4jxv_uKfwbNLx3eKyftRZwBp2AWbzJ1CmTLAzSyX6MIl2g5HJ1zXFiGCIsLCK13RYrT53_lKb3Td_kTlxK4Q5KlGLw1UjBqktTn1Tp-yowSGIvKMO9CTBSsEyShaWNwIN6GLt1aw4CJj1NXJPDTnS4ANRpo3RphXFkpbfklh77_t-H9dgk-5yCcr3D8gt8zas1IivafPUV0EgxvOIzWrcY5zClfmgVUq2nOZUWKttKxLA2XKWtwLgt9CSk1kLr63d5eQykYA2fPEs3gXwIs5wJ7We-gs1AzQ/https%3A%2F%2Ftwitter.com%2FAaronPerryWx" shash="ol5UuyFvUPmSmZ1qDBqJAce8+w6NV1Ufnf4PqzxOht0oMgnPlR6OvpCMQK6t1Q8prRal7fxuedpUcN+o93brZ0/rVNG/zsLnNr5qJTmAB/9UmJH8UBZVd9zO4H0bRUmnJjrlNoxXgK3kxUNBnq+wFn3a9tB0NZ9SP3WdIFK26vA=" class="x_x_OWAAutoLink"><span style="font-size:12pt">@AaronPerryWx</span></a></span></font><font size="2"><span style="font-size:11pt"><span style="font-size:12pt"><a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecure-web.cisco.com%2F1Jwrw2l3rbZg2fJIwt0T_-T6v7_qhACpl3meRj2Lh16RITugfAHgbhnR8bRFZfqRnKF0vw3BpAGOQQ5k4lYOkCcPI9aPRccC6WCKaGY8CWJnnu5wdfTZXoyjCiEaCsUD0QoyGWusdf34QLnUwoNQ5ZDGWTzf_zRlC4EU5qgjb8OrvTdUXS9UshGV0-sUpHV-MDzo0aR9cZ1ruTIGmaovcGRDK9YtM4mb98jmT0I6ODcJvikbSFEoBnOsWTwUTvJnDEgYNUBrvIFnH4mhVzKz2Shf2lfsyhWmIhGknv9P_Nx69N0yTOX-Yos8IEr6Mz2ZoBrY1yBNCZERLFrzRYcRGGoTeCbku7pUlhlJFyT2XtP_7r6Xld1OM46K2YBcXndhesBFaenI77KmsGDiheO4O4GYCSgLppre0h6PMtqiUdR_y9iRk00S1UAvTeeMORoNx7R0r8b5YW5Kxo080eT0puA%2Fhttps%253A%252F%252Ftwitter.com%252Farnpry&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C21e556e6178c4056b09c08da1c781cc4%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637853599937083767%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=yGpgfZ%2BBGvK0CS80vwp7T0CHn7pHmbcw%2Bydr9PVKiEg%3D&reserved=0" originalsrc="https://secure-web.cisco.com/1Jwrw2l3rbZg2fJIwt0T_-T6v7_qhACpl3meRj2Lh16RITugfAHgbhnR8bRFZfqRnKF0vw3BpAGOQQ5k4lYOkCcPI9aPRccC6WCKaGY8CWJnnu5wdfTZXoyjCiEaCsUD0QoyGWusdf34QLnUwoNQ5ZDGWTzf_zRlC4EU5qgjb8OrvTdUXS9UshGV0-sUpHV-MDzo0aR9cZ1ruTIGmaovcGRDK9YtM4mb98jmT0I6ODcJvikbSFEoBnOsWTwUTvJnDEgYNUBrvIFnH4mhVzKz2Shf2lfsyhWmIhGknv9P_Nx69N0yTOX-Yos8IEr6Mz2ZoBrY1yBNCZERLFrzRYcRGGoTeCbku7pUlhlJFyT2XtP_7r6Xld1OM46K2YBcXndhesBFaenI77KmsGDiheO4O4GYCSgLppre0h6PMtqiUdR_y9iRk00S1UAvTeeMORoNx7R0r8b5YW5Kxo080eT0puA/https%3A%2F%2Ftwitter.com%2Farnpry" shash="o4qwlGh8Nkn82HItfARE0681x8Uh3NzPwJmUtwBsN0dQZDFfJ0Ro6KbgS8/DfHnZ+xgY07Tih6x4mkSfXf6BpE+yiUCjEKCx7/O8sLaAYnD1MBXMeUA+pYledw2jq5Qzep+DkyoL6gX8rDCL5IOzFSQiyOFaFt/dYS8RaBJBTXM=" id="LPNoLP"></a><a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecure-web.cisco.com%2F1egToesz6FY1dQvl09040rrssQtgZSpZ37u0JC_BhMIqqGXDaOKm_GcDP8OZxfw5NJlqqFuoRKoKn2aXLLHz9lGrlKhdHibrlncd2fl0OlueWSALz8zjKx2Izbrd-LyQCFWj0MqKzgH_mksX34UIKC1VbG1_FBggf_vjEgGoxBL4zBoj1MVHm6S4jxv_uKfwbNLx3eKyftRZwBp2AWbzJ1CmTLAzSyX6MIl2g5HJ1zXFiGCIsLCK13RYrT53_lKb3Td_kTlxK4Q5KlGLw1UjBqktTn1Tp-yowSGIvKMO9CTBSsEyShaWNwIN6GLt1aw4CJj1NXJPDTnS4ANRpo3RphXFkpbfklh77_t-H9dgk-5yCcr3D8gt8zas1IivafPUV0EgxvOIzWrcY5zClfmgVUq2nOZUWKttKxLA2XKWtwLgt9CSk1kLr63d5eQykYA2fPEs3gXwIs5wJ7We-gs1AzQ%2Fhttps%253A%252F%252Ftwitter.com%252FAaronPerryWx&data=04%7C01%7Caxp09171%40alumni.northernvermont.edu%7C21e556e6178c4056b09c08da1c781cc4%7Cb17e9703dbdd49fa909c03dfd13086af%7C0%7C0%7C637853599937083767%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PHZNIST1ZgEuXgHQn7bN1%2BPK7Gyi6fPjHNVrtgcwWn0%3D&reserved=0" originalsrc="https://secure-web.cisco.com/1egToesz6FY1dQvl09040rrssQtgZSpZ37u0JC_BhMIqqGXDaOKm_GcDP8OZxfw5NJlqqFuoRKoKn2aXLLHz9lGrlKhdHibrlncd2fl0OlueWSALz8zjKx2Izbrd-LyQCFWj0MqKzgH_mksX34UIKC1VbG1_FBggf_vjEgGoxBL4zBoj1MVHm6S4jxv_uKfwbNLx3eKyftRZwBp2AWbzJ1CmTLAzSyX6MIl2g5HJ1zXFiGCIsLCK13RYrT53_lKb3Td_kTlxK4Q5KlGLw1UjBqktTn1Tp-yowSGIvKMO9CTBSsEyShaWNwIN6GLt1aw4CJj1NXJPDTnS4ANRpo3RphXFkpbfklh77_t-H9dgk-5yCcr3D8gt8zas1IivafPUV0EgxvOIzWrcY5zClfmgVUq2nOZUWKttKxLA2XKWtwLgt9CSk1kLr63d5eQykYA2fPEs3gXwIs5wJ7We-gs1AzQ/https%3A%2F%2Ftwitter.com%2FAaronPerryWx" shash="ol5UuyFvUPmSmZ1qDBqJAce8+w6NV1Ufnf4PqzxOht0oMgnPlR6OvpCMQK6t1Q8prRal7fxuedpUcN+o93brZ0/rVNG/zsLnNr5qJTmAB/9UmJH8UBZVd9zO4H0bRUmnJjrlNoxXgK3kxUNBnq+wFn3a9tB0NZ9SP3WdIFK26vA=" class="x_x_OWAAutoLink"></a></span></span></font></font></div>
<span style="font-size:12pt"></span>
<div style="font-size:13px; color:rgb(0,0,0); font-family:Tahoma"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Email: </span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt"><a href="mailto:axp09171@vsc.edu" title="axp09171@vsc.edu">axp09171@vsc.edu</a></span></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>