<div dir="ltr"><div><div><div><div>Brian,<br><br></div>You can always edit the control file so that "var0_0_qqqccc" is replaced by another<br></div>name such as "field1". You can change the variable name before or after<br></div>making the idx file. (However, you have keep the order of the variables.)<br><br> <a href="http://alt_g2ctl.pl" target="_blank">| alt_g2ctl.pl</a> -sub "A" "B" but I haven't been able to work<br><br></div><div><a href="http://alt_g2ctl.pl">alt_g2ctl.pl</a> is often used for files which have long variable names.<br></div><div>Think aerosols variables like: <br></div><div><div><br> AEMFLXdaerosol=Dust_Drydaerosol_size_<2e+07daerosol_wavelength_<0clm <br><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Unfortunately grads has a 15 (?) character limit for variable names. The -sub<br></div><div class="gmail_extra">option was an attempt to make shorter variable names. However, people<br></div><div class="gmail_extra">have been editing the ctl files and I turned off the -sub option.<br><br></div><div class="gmail_extra">Wesley<br></div><div class="gmail_extra"><br><br><br><div class="gmail_quote">On Fri, Jan 12, 2018 at 4:02 PM, Brian Gaze <span dir="ltr"><<a href="mailto:brianw.gaze@googlemail.com" target="_blank">brianw.gaze@googlemail.com</a>></span> wrote:<br><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">Hi,<div><br></div><div>Is there a way of plotting the first (or only) variable in a ctl file using a .gs if you don't know its name? </div><div><br></div><div>For example, if the ctl contains one variable called var0_0_qqqccc is there a wildcard option like.. </div><div><br></div><div>d * </div><div><br></div><div>Alternatively can the variable be renamed when the .ctl is created using <a href="http://alt_g2ctl.pl" target="_blank">alt_g2ctl.pl</a>?</div><div><br></div><div>I know there is <a href="http://alt_g2ctl.pl" target="_blank">alt_g2ctl.pl</a> -sub "A" "B" but I haven't been able to work out a regex which would do something like...</div><div><br></div><div> <a href="http://alt_g2ctl.pl" target="_blank">alt_g2ctl.pl</a> -sub "*.*" "Variable1" <br></div><div><br></div><div><br></div><div>Thanks</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div>Brian</div></font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>