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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf95b194179f8f4a0842f86dfbd015d592ce5996724ab676e4c7c68ea91cf5ae
4
- data.tar.gz: 993855f78a4953b7bc4c6086253e6df7c1fccf95168f2c5d8768daa95cc8a2bc
3
+ metadata.gz: d5bdf38a27b89005135126e71ba476b14551c400349ec427fbe92d861c9f26af
4
+ data.tar.gz: d62fe6b62a1749477f1afc8af6e0fef8311218cbaff41556f0e6488daf1f7330
5
5
  SHA512:
6
- metadata.gz: b1cbe16fcfe115bb7070bdc1fa9b509a2dcc1c74f2de32637390fbcc64427e045531fba3f52097438ec71f17e61eac9a5a3199a8cd6f61b40e91bb51d8056c3b
7
- data.tar.gz: 83871c6f2c5dc35dd4399563a4f69dad74e9a477c01af92dddefca66ca6bea8b8ac6562cf0b875ef2bafbc64975a3944b534e721bc3737871b6dfff0b9361ef5
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
- "_Geopotential altitude as a function of barometric pressure
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Atmospheric
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
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.3.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-29 00:00:00.000000000 Z
11
+ date: 2024-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: measured