Class: Atmospheric::Export::HypsometricalTables::TableFiveSix
- Inherits:
-
TableBase
- Object
- TableBase
- Atmospheric::Export::HypsometricalTables::TableFiveSix
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(h) ⇒ Object
84
85
86
87
88
89
90
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 84
def row(h)
{
"geopotential-altitude" => h,
"pressure-mbar" => round_to_sig_figs(Isa.pressure_from_geopotential_mbar(h.to_f), 6),
"pressure-mmhg" => round_to_sig_figs(Isa.pressure_from_geopotential_mmhg(h.to_f), 6),
}
end
|
#steps ⇒ Object
80
81
82
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 80
def steps
(-1000..4599).step(1)
end
|