Class: CMORizer::Step::APPLY_GRID

Inherits:
IndividualBaseStep show all
Defined in:
lib/step.rb

Instance Attribute Summary

Attributes inherited from BaseStep

#forbid_inplace, #initial_prefix, #needs_to_run, #resultpath

Instance Method Summary collapse

Methods inherited from IndividualBaseStep

#can_process?

Methods inherited from BaseStep

#add_input, #create_outpath, #initialize, #set_info, #truncate_string

Constructor Details

This class inherits a constructor from CMORizer::Step::BaseStep

Instance Method Details

#file_commandsObject



259
260
261
262
263
264
265
266
267
# File 'lib/step.rb', line 259

def file_commands
  cmds = []
  cmds << NCRENAME_DIMENSION_NODES_XD_TO_NCELLS_cmd.new
  cmds << NCKS_APPEND_GRID_cmd.new(@grid_description_file)
  # assume the APPLY_LOCAL_ATTRIBUTES Step will be executed later
  # and thus our variable has still the original name (@fesom_variable_name)
  cmds << NCATTED_APPEND_COORDINATES_VALUE_cmd.new(@fesom_variable_name)
  cmds
end