Class: Atmospheric::Export::HypsometricalTables::TableOne
- Inherits:
-
TableBase
- Object
- TableBase
- Atmospheric::Export::HypsometricalTables::TableOne
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
32
33
34
35
36
37
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 32
def row(p)
{
"pressure-mbar" => p.round(2),
"geopotential-altitude" => Isa.geopotential_altitude_from_pressure_mbar(p.round(2)).round,
}
end
|
#steps ⇒ Object
28
29
30
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 28
def steps
(5.0..19.99).step(0.01)
end
|