Class: Atmospheris::Export::Iso25331985::TableOne
- Inherits:
-
HypsometricalTable
- Object
- Lutaml::Model::Serializable
- HypsometricalTable
- Atmospheris::Export::Iso25331985::TableOne
- Defined in:
- lib/atmospheris/export/iso_25331985.rb
Direct Known Subclasses
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
31 32 33 |
# File 'lib/atmospheris/export/iso_25331985.rb', line 31 def set_attrs(klass: PressureAttrs, unit: steps_unit, precision: :reduced) super end |
#steps ⇒ Object
23 24 25 |
# File 'lib/atmospheris/export/iso_25331985.rb', line 23 def steps (5.0..19.99).step(0.01).to_a.map { |v| v.round(2) } end |
#steps_unit ⇒ Object
27 28 29 |
# File 'lib/atmospheris/export/iso_25331985.rb', line 27 def steps_unit :mbar end |