bin/gpmath in gphys-1.1.1 vs bin/gpmath in gphys-1.2.2

- old
+ new

@@ -4,11 +4,11 @@ gpmath - operating a mathematical function to a GPhys variable. = USAGE - % gpmath [options] path@varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]] + % gpmath [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]] = OPTIONS :-h,--help print this message. @@ -31,10 +31,11 @@ 2005/07/15 S Takehiro (open_gturl method is used for opening gphys variable) 2005/08/10 S Takehiro (utilize internal function for printing help message) 2005/08/21 S Takehiro (global attributes copied to the output file) 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb) 2010/03/10 Y SASAKI (change help block into RD format) + 2012/02/19 S Takehiro (description for gturl format updated) =end require "numru/gphys" require "numru/gphys/gpcommon" @@ -42,10 +43,10 @@ require "getoptlong" #------------------------ Default Settings ------------------------ Output_default = 'gphys.nc' -URLfmt = "path@varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]" +URLfmt = "path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]" #---------------------- Option Configuration ---------------------- parser = GetoptLong.new( ["--output", "-o", GetoptLong::REQUIRED_ARGUMENT], ["--function", "-f", GetoptLong::REQUIRED_ARGUMENT],