Class: NCATTED_SET_LAT_LON_BNDS_STANDARD_NAME_cmd

Inherits:
InplaceCommand show all
Includes:
NCO_warning_filter
Defined in:
lib/file_command.rb

Instance Method Summary collapse

Methods included from NCO_warning_filter

#command_success?

Methods inherited from InplaceCommand

#cmd_txt, #inplace?

Methods inherited from FileCommand

#run

Instance Method Details

#cmd_txt_inplace(file) ⇒ Object



307
308
309
310
# File 'lib/file_command.rb', line 307

def cmd_txt_inplace(file)
  # set standard_name according to the CF conventions
  %Q(#{SYSTEM_COMMANDS::NCATTED} --create_ram -h -a standard_name,lat_bnds,o,c,"lat_bnds" -a standard_name,lon_bnds,o,c,"lon_bnds" #{file})
end