atmospheric 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +4 -1
- data/lib/atmospheric/export/iso_25332024.rb +4 -0
- data/lib/atmospheric/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5bdf38a27b89005135126e71ba476b14551c400349ec427fbe92d861c9f26af
|
|
4
|
+
data.tar.gz: d62fe6b62a1749477f1afc8af6e0fef8311218cbaff41556f0e6488daf1f7330
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da998df15160bfab2e85daca1ca791a956060f23cea495161ba9cb8ecf96c89b7a1f090d3aeb2bbafbb5a711eda7b89fe76e0c50b11b43096c5d9b1a3edf09a9
|
|
7
|
+
data.tar.gz: 567fe0989e1136c068c6c8cacdd7d1eaa3dd7547e516f48a7a1730f843d5fa698513c45a5120d14e39c414b2672f351506e24ce76ca5ecf807a8b930ec057054
|
data/README.adoc
CHANGED
|
@@ -544,7 +544,7 @@ Atmospheric::Export::Iso25332024.table_10_yaml #=> YAML
|
|
|
544
544
|
NOTE: This corresponds to ISO 2533:1975/ADD 1:1985 Table 1 combined with Table 2.
|
|
545
545
|
|
|
546
546
|
Title:
|
|
547
|
-
"
|
|
547
|
+
"_Geometric and geopotential altitude as a function of barometric pressure
|
|
548
548
|
for 5 <= p < 20 hPa at intervals of 0.01 hPa and
|
|
549
549
|
20 <= p < 1200 hPa at intervals of 0.1 hPa__"
|
|
550
550
|
|
|
@@ -554,6 +554,9 @@ Provides:
|
|
|
554
554
|
|
|
555
555
|
* `pressure-mbar`
|
|
556
556
|
* `geopotential-altitude-m`
|
|
557
|
+
* `geopotential-altitude-ft`
|
|
558
|
+
* `geometric-altitude-m`
|
|
559
|
+
* `geometric-altitude-ft`
|
|
557
560
|
|
|
558
561
|
[source,ruby]
|
|
559
562
|
----
|
|
@@ -81,10 +81,14 @@ module Atmospheric
|
|
|
81
81
|
method_name = "geopotential_altitude_from_pressure_#{unit}"
|
|
82
82
|
gp_h_m = Isa.send(method_name, p)
|
|
83
83
|
gp_h_ft = m_to_ft(gp_h_m)
|
|
84
|
+
gm_h_m = Isa.geometric_altitude_from_geopotential(p)
|
|
85
|
+
gm_h_ft = m_to_ft(gm_h_m)
|
|
84
86
|
{
|
|
85
87
|
"pressure-#{unit}" => p,
|
|
86
88
|
"geopotential-altitude-m" => gp_h_m.round(1),
|
|
87
89
|
"geopotential-altitude-ft" => gp_h_ft.round,
|
|
90
|
+
"geometric-altitude-m" => gm_h_m.round(1),
|
|
91
|
+
"geometric-altitude-ft" => gm_h_ft.round,
|
|
88
92
|
}
|
|
89
93
|
end
|
|
90
94
|
end
|
data/lib/atmospheric/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atmospheric
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-03-
|
|
11
|
+
date: 2024-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: measured
|