bin/gpcut in gphys-1.1.1 vs bin/gpcut in gphys-1.2.2
- old
+ new
@@ -8,11 +8,11 @@
((*gpcut*)) is command line tools for extract, slicing and thinning a GPhys variables.
= USAGE
- % gpcut [options] path@varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]
+ % gpcut [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]
= OPTIONS
:-h, --help
print this message.
@@ -28,10 +28,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"
@@ -39,10 +40,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(
["--mean", "-m", GetoptLong::REQUIRED_ARGUMENT],
["--output", "-o", GetoptLong::REQUIRED_ARGUMENT],