Class: Atmospheric::Export::HypsometricalTables::TableThree
- Inherits:
-
TableBase
- Object
- TableBase
- Atmospheric::Export::HypsometricalTables::TableThree
show all
- Defined in:
- lib/atmospheric/export/hypsometrical_tables.rb
Instance Method Summary
collapse
Methods inherited from TableBase
#to_h
Methods included from Target
#ft_to_m, #m_to_ft, #round_to_sig_figs, #to_file, #to_yaml
Instance Method Details
#row(p) ⇒ Object
58
59
60
61
62
63
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 58
def row(p)
{
"pressure-mmhg" => p.round(2),
"geopotential-altitude" => Isa.geopotential_altitude_from_pressure_mmhg(p.round(2)).round,
}
end
|
#steps ⇒ Object
54
55
56
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 54
def steps
(4.0..9.99).step(0.01)
end
|