fm35-decoder 0.1.1__tar.gz → 0.1.2__tar.gz
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.
- {fm35_decoder-0.1.1 → fm35_decoder-0.1.2}/PKG-INFO +12 -2
- {fm35_decoder-0.1.1 → fm35_decoder-0.1.2}/README.md +10 -0
- {fm35_decoder-0.1.1 → fm35_decoder-0.1.2}/pyproject.toml +4 -4
- fm35_decoder-0.1.1/.gitignore +0 -17
- {fm35_decoder-0.1.1 → fm35_decoder-0.1.2}/LICENSE +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/__init__.py +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/decoder.py +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/CH_0509.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/CL_0513.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/CM_0515.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/D_0777.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/Nh_2700.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/Sr_3849.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/T_3931.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/h_1600.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/rara_3685.csv +0 -0
- {fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/table_codes/sasa_3872.csv +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fm35_decoder
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: A
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: A Python tool to decode standard FM35 TEMP weather messages from upper-air observations.
|
|
5
5
|
Project-URL: Homepage, https://github.com/luciodaou/fm35_decoder
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/luciodaou/fm35_decoder/issues
|
|
7
7
|
Author: Lucio Daou
|
|
@@ -51,6 +51,14 @@ df_main, df_special = decode(ttaa, ttbb, ttcc, ttdd)
|
|
|
51
51
|
print(df_main)
|
|
52
52
|
print(df_special)
|
|
53
53
|
```
|
|
54
|
+
## Interpolation Methodology
|
|
55
|
+
|
|
56
|
+
**Temperature and Dewpoint**: Missing values are filled using linear interpolation with respect to the natural logarithm of pressure. This method aligns with standard atmospheric thermodynamics (Skew-T/Log-P diagrams), where temperature typically varies linearly with log-pressure, ensuring physically realistic profiles.
|
|
57
|
+
|
|
58
|
+
**Wind**: Wind speed and direction are decomposed into U (zonal) and V (meridional) vector components. Each component is interpolated independently with respect to the natural logarithm of pressure before being recombined. This vector-based approach prevents artifacts that can occur when interpolating speed and direction scalar values directly (e.g., across the 0°/360° north boundary).
|
|
59
|
+
|
|
60
|
+
## AI usage
|
|
61
|
+
Google's Gemini 3 Pro and Flash were utilized to assist the development of this package, based on the FM35/TEMP documentation.
|
|
54
62
|
|
|
55
63
|
## Example
|
|
56
64
|
### df_main
|
|
@@ -89,6 +97,8 @@ print(df_special)
|
|
|
89
97
|
dtdtftft Tropopause Wind 260/18kt
|
|
90
98
|
```
|
|
91
99
|
|
|
100
|
+
|
|
101
|
+
|
|
92
102
|
## License
|
|
93
103
|
|
|
94
104
|
This project is licensed under the terms of the **MIT License**.
|
|
@@ -33,6 +33,14 @@ df_main, df_special = decode(ttaa, ttbb, ttcc, ttdd)
|
|
|
33
33
|
print(df_main)
|
|
34
34
|
print(df_special)
|
|
35
35
|
```
|
|
36
|
+
## Interpolation Methodology
|
|
37
|
+
|
|
38
|
+
**Temperature and Dewpoint**: Missing values are filled using linear interpolation with respect to the natural logarithm of pressure. This method aligns with standard atmospheric thermodynamics (Skew-T/Log-P diagrams), where temperature typically varies linearly with log-pressure, ensuring physically realistic profiles.
|
|
39
|
+
|
|
40
|
+
**Wind**: Wind speed and direction are decomposed into U (zonal) and V (meridional) vector components. Each component is interpolated independently with respect to the natural logarithm of pressure before being recombined. This vector-based approach prevents artifacts that can occur when interpolating speed and direction scalar values directly (e.g., across the 0°/360° north boundary).
|
|
41
|
+
|
|
42
|
+
## AI usage
|
|
43
|
+
Google's Gemini 3 Pro and Flash were utilized to assist the development of this package, based on the FM35/TEMP documentation.
|
|
36
44
|
|
|
37
45
|
## Example
|
|
38
46
|
### df_main
|
|
@@ -71,6 +79,8 @@ print(df_special)
|
|
|
71
79
|
dtdtftft Tropopause Wind 260/18kt
|
|
72
80
|
```
|
|
73
81
|
|
|
82
|
+
|
|
83
|
+
|
|
74
84
|
## License
|
|
75
85
|
|
|
76
86
|
This project is licensed under the terms of the **MIT License**.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "fm35_decoder"
|
|
3
|
-
version = "0.1.
|
|
4
|
-
description = "A
|
|
3
|
+
version = "0.1.2"
|
|
4
|
+
description = "A Python tool to decode standard FM35 TEMP weather messages from upper-air observations."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
classifiers = [
|
|
@@ -31,11 +31,11 @@ requires = ["hatchling"]
|
|
|
31
31
|
build-backend = "hatchling.build"
|
|
32
32
|
|
|
33
33
|
[tool.hatch.build.targets.wheel]
|
|
34
|
-
packages = ["src/
|
|
34
|
+
packages = ["src/fm35_decoder"]
|
|
35
35
|
|
|
36
36
|
[tool.hatch.build.targets.sdist]
|
|
37
37
|
include = [
|
|
38
|
-
"src/
|
|
38
|
+
"src/fm35_decoder",
|
|
39
39
|
]
|
|
40
40
|
|
|
41
41
|
[tool.hatch.metadata]
|
fm35_decoder-0.1.1/.gitignore
DELETED
|
File without changes
|
{fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/__init__.py
RENAMED
|
File without changes
|
{fm35_decoder-0.1.1/src/fm35_decoder_luciodaou → fm35_decoder-0.1.2/src/fm35_decoder}/decoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|