Class: Atmospheris::Export::Iso25331985::TableTwo

Inherits:
HypsometricalTable
  • Object
show all
Defined in:
lib/atmospheris/export/iso_25331985.rb

Direct Known Subclasses

TableFour

Instance Method Summary collapse

Methods inherited from HypsometricalTable

#initialize_attrs, #steps_unit

Instance Method Details

#set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced) ⇒ Object



43
44
45
# File 'lib/atmospheris/export/iso_25331985.rb', line 43

def set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced)
  super
end

#stepsObject



39
40
41
# File 'lib/atmospheris/export/iso_25331985.rb', line 39

def steps
  (20.0..1199.9).step(0.1).to_a.map { |v| v.round(1) }
end