Class: CMORizer::Step::FIX_CF_NAMES

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



306
307
308
309
310
311
312
# File 'lib/step.rb', line 306

def file_commands
  cmds = []
  cmds << NCATTED_SET_LAT_LON_BNDS_STANDARD_NAME_cmd.new
  cmds << NCATTED_DELETE_VARIABLE_ATTRIBUTES_cmd.new("lat_bnds", %w(units standard_name centers))
  cmds << NCATTED_DELETE_VARIABLE_ATTRIBUTES_cmd.new("lon_bnds", %w(units standard_name centers))
  cmds
end