gpprint - a command to print the values of a variable specified by a gtool4-type URL.
gpprint is a command-line tool to print the values of a variable specified by a gtool4-type URL. Outputs are comma-separated ascii texts with line feeding to avoid long lines and are made to stdout.
% gpprint url
where the format of the url is
path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]
% gpprint data.nc@temp % gpprint data.nc@temp,lon=135.0 % gpprint data.nc@temp,lon=130:150,lat=0 % gpprint data.nc@temp,lon=130:150,lat=0:90:2
2004/12/14 T Horinouchi (created) 2005/01/12 T Horinouchi (document -> in rd) 2005/06/15 S Takehiro (set first_dim_length 1 when gp.shape[0] returns nil) 2005/08/10 S Takehiro (utilize internal function for printing help message) 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)