[gradsusr] Plot first variable in ctl file when name is unknown

Davide Sacchetti davide.sacchetti at arpal.gov.it
Mon Jan 15 05:51:52 EST 2018


if you don't mind the variable try: display lon
otherwise you have to read file ctl ...
Davide

On Fri, 2018-01-12 at 21:02 +0000, Brian Gaze wrote:
> Hi,
> 
> 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?  
> 
> For example, if the ctl contains one variable called var0_0_qqqccc is
> there a wildcard option like.. 
> 
> d * 
> 
> Alternatively can the variable be renamed when the .ctl is created
> using alt_g2ctl.pl?
> 
> I know there is alt_g2ctl.pl -sub "A" "B" but I haven't been able to
> work out a regex which would do something like...
> 
>  alt_g2ctl.pl -sub "*.*" "Variable1" 
> 
> 
> Thanks
> 
> Brian
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list