Class: Atmospheric::Export::Iso25331985::TableThree
- Inherits:
-
TableOne
- Object
- Lutaml::Model::Serializable
- HypsometricalTable
- TableOne
- Atmospheric::Export::Iso25331985::TableThree
- Defined in:
- lib/atmospheric/export/iso_25331985.rb
Instance Method Summary collapse
- #set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced) ⇒ Object
- #steps ⇒ Object
- #steps_unit ⇒ Object
Methods inherited from HypsometricalTable
Instance Method Details
#set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced) ⇒ Object
59 60 61 |
# File 'lib/atmospheric/export/iso_25331985.rb', line 59 def set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced) super end |
#steps ⇒ Object
51 52 53 |
# File 'lib/atmospheric/export/iso_25331985.rb', line 51 def steps (4.0..9.99).step(0.01).to_a.map { |v| v.round(2) } end |
#steps_unit ⇒ Object
55 56 57 |
# File 'lib/atmospheric/export/iso_25331985.rb', line 55 def steps_unit :mmhg end |