Class: NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd
- Inherits:
-
InplaceCommand
- Object
- FileCommand
- InplaceCommand
- NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd
- Includes:
- NCO_warning_filter
- Defined in:
- lib/file_command.rb
Instance Method Summary collapse
- #cmd_txt_inplace(file) ⇒ Object
-
#initialize(var_name, cell_methods, cell_measures) ⇒ NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd
constructor
A new instance of NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd.
Methods included from NCO_warning_filter
Methods inherited from InplaceCommand
Methods inherited from FileCommand
Constructor Details
#initialize(var_name, cell_methods, cell_measures) ⇒ NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd
Returns a new instance of NCATTED_SET_VARIABLE_CELL_METHODS_CELL_MEASURES_cmd.
267 268 269 |
# File 'lib/file_command.rb', line 267 def initialize(var_name, cell_methods, cell_measures) @var_name, @cell_methods, @cell_measures = var_name, cell_methods, cell_measures end |
Instance Method Details
#cmd_txt_inplace(file) ⇒ Object
271 272 273 |
# File 'lib/file_command.rb', line 271 def cmd_txt_inplace(file) %Q(#{SYSTEM_COMMANDS::NCATTED} --create_ram -h -a cell_methods,#{@var_name},o,c,"#{@cell_methods}" -a cell_measures,#{@var_name},o,c,"#{@cell_measures}" #{file}) end |