Class: RdNapToEtrs::Batch

Inherits:
Object
  • Object
show all
Defined in:
lib/rd_nap_to_etrs/batch.rb

Instance Method Summary collapse

Instance Method Details

#trans2008(points) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/rd_nap_to_etrs/batch.rb', line 3

def trans2008(points)
  grid_files_dir = File.expand_path('../../../ext/rd_nap_to_etrs/', __FILE__)
  # Execute the c version _trans2008 in the directory where the grid files
  # are located so the c functions can access them
  Dir.chdir grid_files_dir do
    _trans2008(points)
  end
  points
end