Class: Atmospheric::Export::HypsometricalTables::TableTwo
- Inherits:
-
TableBase
- Object
- TableBase
- Atmospheric::Export::HypsometricalTables::TableTwo
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
45
46
47
48
49
50
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 45
def row(p)
{
"pressure-mbar" => p.round(1),
"geopotential-altitude" => Isa.geopotential_altitude_from_pressure_mbar(p.round(1)).round,
}
end
|
#steps ⇒ Object
41
42
43
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 41
def steps
(20.0..1199.9).step(0.1)
end
|