Class: NCRENAME_DIMENSION_NODES_XD_TO_NCELLS_cmd
- Inherits:
-
InplaceCommand
- Object
- FileCommand
- InplaceCommand
- NCRENAME_DIMENSION_NODES_XD_TO_NCELLS_cmd
- Includes:
- NCO_warning_filter
- Defined in:
- lib/file_command.rb
Instance Method Summary collapse
Methods included from NCO_warning_filter
Methods inherited from InplaceCommand
Methods inherited from FileCommand
Instance Method Details
#cmd_txt_inplace(file) โ Object
[View source]
334 335 336 337 |
# File 'lib/file_command.rb', line 334 def cmd_txt_inplace(file) # from the docs: "ncrename will change the names of the input-file in place" %Q(#{SYSTEM_COMMANDS::NCRENAME} -h -d .nodes_2d,ncells -d .nodes_3d,ncells #{file}) # the dot '.' prefix tells ncrename that it is an optional rename end |