fm35-decoder 0.1.1__py3-none-any.whl

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.

Potentially problematic release.


This version of fm35-decoder might be problematic. Click here for more details.

@@ -0,0 +1,96 @@
1
+ Metadata-Version: 2.4
2
+ Name: fm35_decoder
3
+ Version: 0.1.1
4
+ Summary: A lightweight Python tool to decode standard FM35 TEMP weather messages from upper-air observations.
5
+ Project-URL: Homepage, https://github.com/luciodaou/fm35_decoder
6
+ Project-URL: Bug Tracker, https://github.com/luciodaou/fm35_decoder/issues
7
+ Author: Lucio Daou
8
+ License-File: LICENSE
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.12
13
+ Requires-Dist: numpy>=2.0.0
14
+ Requires-Dist: pandas>=3.0.0
15
+ Provides-Extra: dev
16
+ Requires-Dist: pytest; extra == 'dev'
17
+ Description-Content-Type: text/markdown
18
+
19
+ # FM35 Decoder
20
+
21
+ [![Ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=flat&logo=ko-fi&logoColor=white)](https://ko-fi.com/luciodaou)
22
+ [![PyPI - Version](https://img.shields.io/pypi/v/fm35_decoder.svg)](https://pypi.org/project/fm35_decoder)
23
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fm35_decoder.svg)](https://pypi.org/project/fm35_decoder)
24
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
25
+
26
+
27
+ A Python tool to decode standard FM35 TEMP weather messages from upper-air observations (radiosoundings).
28
+
29
+ ## Installation
30
+
31
+ Install the package directly from the repository:
32
+
33
+ ```bash
34
+ pip install fm35_decoder
35
+ ```
36
+
37
+ ## Usage
38
+
39
+ Import the decoder into your project and call the `decode` function:
40
+
41
+ ```python
42
+ from fm35_decoder import decode
43
+
44
+ # Your FM35/TEMP message parts
45
+ ttaa = "..."
46
+ # ...
47
+ df_main, df_special = decode(ttaa, ttbb, ttcc, ttdd)
48
+
49
+ # df_main: Standard levels, interpolated data and geopotential heights
50
+ # df_special: Tropopause, Max Wind, and Cloud groups
51
+ print(df_main)
52
+ print(df_special)
53
+ ```
54
+
55
+ ## Example
56
+ ### df_main
57
+ ```
58
+ === Main Level DataFrame (df_main) ===
59
+ Pressure Height Temp DewPoint WindDir WindSpeed
60
+ 1000 163 NaN NaN NaN NaN
61
+ 938 714 21.2 18.8 10.0 8.0
62
+ 925 843 20.0 18.1 75.0 6.0
63
+ 882 1249 16.8 16.4 23.0 8.5
64
+ 870 1366 19.8 13.8 15.0 10.0
65
+ 850 1570 18.6 13.6 360.0 8.0
66
+ ... ... ... ... ... ...
67
+ 31 23586 -58.8 -91.4 85.0 27.0
68
+ 30 23800 -58.3 -91.3 85.0 35.0
69
+ 29 24013 -58.0 -92.0 85.0 44.0
70
+ 28 24234 -57.7 -92.7 90.0 41.0
71
+ ```
72
+
73
+ ## df_special
74
+ ```
75
+ === Special Data DataFrame (df_special) ===
76
+ Symbol Subject Description Value
77
+ h Cloud Base Height 600-1000m (2000-3300ft)
78
+ Nh Cloud Amount 8 oktas
79
+ CL Cloud Low Type Stratus nebulosus and/or Stratus fractus
80
+ CM Cloud Mid Type No CM clouds
81
+ CH Cloud High Type No CH clouds
82
+ sr Solar/Inst Solar Corr NOAA solar corrected
83
+ rara Solar/Inst Sonde Type Vaisala RS41/DigiCORA MW41 (Finland)
84
+ sasa Solar/Inst Tracking Radar (5 cm)
85
+ 8GGgg Solar/Inst Time 11:31
86
+ PtPtPt Tropopause Pressure 906hPa
87
+ TtTtTt Tropopause Temperature -77.1C
88
+ DtDt Tropopause Dewpoint -89.1C
89
+ dtdtftft Tropopause Wind 260/18kt
90
+ ```
91
+
92
+ ## License
93
+
94
+ This project is licensed under the terms of the **MIT License**.
95
+
96
+ You are free to create derivative works and use this software for commercial purposes. The only requirement is that you **must give credit** to the original author.
@@ -0,0 +1,16 @@
1
+ fm35_decoder_luciodaou/__init__.py,sha256=HKbllwgKvKlqU_LR6CAhTZU2KGedwNtvPeVMP8miyOA,78
2
+ fm35_decoder_luciodaou/decoder.py,sha256=2Qx0YTKn4r0TanU5vNnqZPhgBnUlzMWOmrtOlC968WU,38478
3
+ fm35_decoder_luciodaou/table_codes/CH_0509.csv,sha256=Sba4GUxAYFuxrJi13NyiLl8yTyDK_sSMzBMrL7gbyPU,454
4
+ fm35_decoder_luciodaou/table_codes/CL_0513.csv,sha256=Nw_EkzzkeWHfbCvUf7jr8bMr0_iqwO1FhzY59ToOMpk,729
5
+ fm35_decoder_luciodaou/table_codes/CM_0515.csv,sha256=-MNj5r7NXDdiemzYXFzVI_rs1vGpCjOeK44Wr4UZDBw,470
6
+ fm35_decoder_luciodaou/table_codes/D_0777.csv,sha256=JPk3ZSP-WD27aiXh7P4AigqNxHoIVAyvKDybwDTptOI,919
7
+ fm35_decoder_luciodaou/table_codes/Nh_2700.csv,sha256=GbTRpBhq6QqtVe73sijVKuC-2OiXRio-Gt5SF-yAcxg,251
8
+ fm35_decoder_luciodaou/table_codes/Sr_3849.csv,sha256=cKGcRXw688nFbN1iUXynwlVHpRdlI1a0EJZ6R5i5pCk,166
9
+ fm35_decoder_luciodaou/table_codes/T_3931.csv,sha256=zMaWBWiiXYcaVeqqlZ5wdjxKNRfSDkbvNBIW_4i74Ow,102
10
+ fm35_decoder_luciodaou/table_codes/h_1600.csv,sha256=H2PVDkRcbPLta3R9RLMqtux8uHd_jpi44kOQlU4e9nw,318
11
+ fm35_decoder_luciodaou/table_codes/rara_3685.csv,sha256=MrkJn2BvHKG5APtq5U5Lm-DmtiU8FhpwUbPxHFaqnbE,7748
12
+ fm35_decoder_luciodaou/table_codes/sasa_3872.csv,sha256=jytXrrHh2b2bEcJTU0joxsYu1ALK4UE9laKaOU13QiY,205
13
+ fm35_decoder-0.1.1.dist-info/METADATA,sha256=zNiMicmY8Xl0YTbuUFwdcQCMrwmllYYzruVkbKV2Fpg,3882
14
+ fm35_decoder-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
15
+ fm35_decoder-0.1.1.dist-info/licenses/LICENSE,sha256=D4SfAqy7QWP28T0zq0z2P6XMKHzA-iEWqNdMcOyWg44,1067
16
+ fm35_decoder-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lucio Daou
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ from .decoder import decode, decode_full
2
+
3
+ __all__ = ["decode", "decode_full"]