A lightweight Python tool to decode standard FM35 TEMP weather messages from upper-air observations.
Project description
FM35 Decoder
A Python tool to decode standard FM35 TEMP weather messages from upper-air observations (radiosoundings).
Installation
Install the package directly from the repository:
pip install fm35_decoder
Usage
Import the decoder into your project and call the decode function:
from fm35_decoder import decode
# Your FM35/TEMP message parts
ttaa = "..."
# ...
df_main, df_special = decode(ttaa, ttbb, ttcc, ttdd)
# df_main: Standard levels, interpolated data and geopotential heights
# df_special: Tropopause, Max Wind, and Cloud groups
print(df_main)
print(df_special)
Example
df_main
=== Main Level DataFrame (df_main) ===
Pressure Height Temp DewPoint WindDir WindSpeed
1000 163 NaN NaN NaN NaN
938 714 21.2 18.8 10.0 8.0
925 843 20.0 18.1 75.0 6.0
882 1249 16.8 16.4 23.0 8.5
870 1366 19.8 13.8 15.0 10.0
850 1570 18.6 13.6 360.0 8.0
... ... ... ... ... ...
31 23586 -58.8 -91.4 85.0 27.0
30 23800 -58.3 -91.3 85.0 35.0
29 24013 -58.0 -92.0 85.0 44.0
28 24234 -57.7 -92.7 90.0 41.0
df_special
=== Special Data DataFrame (df_special) ===
Symbol Subject Description Value
h Cloud Base Height 600-1000m (2000-3300ft)
Nh Cloud Amount 8 oktas
CL Cloud Low Type Stratus nebulosus and/or Stratus fractus
CM Cloud Mid Type No CM clouds
CH Cloud High Type No CH clouds
sr Solar/Inst Solar Corr NOAA solar corrected
rara Solar/Inst Sonde Type Vaisala RS41/DigiCORA MW41 (Finland)
sasa Solar/Inst Tracking Radar (5 cm)
8GGgg Solar/Inst Time 11:31
PtPtPt Tropopause Pressure 906hPa
TtTtTt Tropopause Temperature -77.1C
DtDt Tropopause Dewpoint -89.1C
dtdtftft Tropopause Wind 260/18kt
License
This project is licensed under the terms of the MIT License.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fm35_decoder-0.1.1.tar.gz.
File metadata
- Download URL: fm35_decoder-0.1.1.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb76df637672df7b194c8baa2078a0bed05fbb33efac83dfb445af9324e01991
|
|
| MD5 |
84d1d8e622c4c6e5148aa8b0f175efdc
|
|
| BLAKE2b-256 |
d2b35e748f6f7a202222b8f074093926973f47cf760ba2a7f61b54a6a3c0850a
|
Provenance
The following attestation bundles were made for fm35_decoder-0.1.1.tar.gz:
Publisher:
python-publish.yml on luciodaou/fm35_decoder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fm35_decoder-0.1.1.tar.gz -
Subject digest:
bb76df637672df7b194c8baa2078a0bed05fbb33efac83dfb445af9324e01991 - Sigstore transparency entry: 863783542
- Sigstore integration time:
-
Permalink:
luciodaou/fm35_decoder@df0e9c7a9900d95c93be24acfab598617031c1ce -
Branch / Tag:
refs/tags/stable - Owner: https://github.com/luciodaou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@df0e9c7a9900d95c93be24acfab598617031c1ce -
Trigger Event:
release
-
Statement type:
File details
Details for the file fm35_decoder-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fm35_decoder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
377f2c36c3a8d42b25172428be47251e69d59ecaf8f64553eac61a8b4ad8ef9a
|
|
| MD5 |
3ec12844af24e81c895e42b84073d4ca
|
|
| BLAKE2b-256 |
4af04008a81aa0bb4927d2af1086336619235691d3495e689d0948c35ec5fc5c
|
Provenance
The following attestation bundles were made for fm35_decoder-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on luciodaou/fm35_decoder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fm35_decoder-0.1.1-py3-none-any.whl -
Subject digest:
377f2c36c3a8d42b25172428be47251e69d59ecaf8f64553eac61a8b4ad8ef9a - Sigstore transparency entry: 863783543
- Sigstore integration time:
-
Permalink:
luciodaou/fm35_decoder@df0e9c7a9900d95c93be24acfab598617031c1ce -
Branch / Tag:
refs/tags/stable - Owner: https://github.com/luciodaou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@df0e9c7a9900d95c93be24acfab598617031c1ce -
Trigger Event:
release
-
Statement type: