NakaMetPy
Documentation
ドキュメンテーションはこちらのページにあります.Documentation is HERE.
概要
POINT1:気象庁のレーダーエコー強度・エコー頂高度・解析雨量を読む関数があります(util).
- 2.5kmメッシュエコー強度/5kmエコー頂高度
- 1kmメッシュエコー強度/2.5kmエコー頂高度
- 1kmエコー頂高度
- 250mメッシュエコー強度
また簡単な単位変換や配列の結合、文字列<>日付の変換を行う関数などがあります(util).
POINT2:BUFRファイルを読む関数があります(bufr).
POINT3:GrADSや気象庁が利用しているカラーマップがあります(cmaps).
POINT4:GrADSバイナリを読む関数があります(grads).
POINT5:MetPyの関数がNumPyで動作するように書き換えた関数があります
まだMetPyのバージョンが0.xだったときに作成したものです.
気象データをNumPyでベクトル(配列)として扱うことを想定しています.
そのためMetPyとは異なり単位に気をつけてる必要があります.
また関数の鉛直層数および時間のサイズは適当に与えています.利用時にデータに合わせて引数で指定する必要があります.
さらにWRFの計算結果を入力する場合はwrfonのオプションを1にする必要があります.
なおwrfonオプションは使い勝手が悪いため、今後廃止を検討中です.
皆さまのContributionもお待ちしています.
Abstract
NakaMetPy provide function
- to read JMA (Japan Meteorological Agency) Radar Echo Intensity/ Echo Top-height/ Radar/Raingauge-analyzed precipitation data (
util) - to convert unit, concat array and convert string into datetime, ... etc (
util) - to read BUFR data (
bufr) - Colormap of GrADS and JMA (
cmaps) - to read GrADS binary (
grads) - rewrited function of
MetPyusingNumPy(kinematicsandthermo)
I appreciate your contribution.
How to Install
via Anaconda
conda install muchiwo::nakametpy
via PyPI
pip3 install nakametpy
Licence
BSD-3-Clause
Licence Notification
Some data were got from Aviation Weather Center. Such material is not subject to NakaMetPy copyright protection.
Citation
Nakamura, Y. (2026). NakaMety (Version xxxx.x.x) [Software]. Kanagawa, Japan. https://github.com/muchojp/NakaMetPy
Note: The version number xxxx.x.x should be set to the version of NakaMetPy that you are using.
Update plans
Next(2026.x.0 or later):
- No planned
To Do:
wrfonオプションの廃止- MetPyの関数の移植 [Further addition of MetPy function]
- NCLに実装されている関数の移植 [adding the NCL's function]
- 方位角平均を取る関数の作成 [Add function of Azimuthal Mean]
Metadata
Release files for nakametpy 2026.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nakametpy-2026.1.0.tar.gz | 27.1 MB | Without provenance | Details for nakametpy-2026.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nakametpy-2026.1.0-py3-none-any.whl | Python 3 | none | any | Details for nakametpy-2026.1.0-py3-none-any.whl |
Total release size: 32.7 MB
Release files / nakametpy-2026.1.0.tar.gz
| Download URL | nakametpy-2026.1.0.tar.gz |
|---|---|
| Size | 27.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cd10328357dd6728bed950ffaa85e240a5ce4489feb48a25b81b3255ccc0b32
|
|
BLAKE2b-256 checksum How to use checksums |
816748a465e98b8d549208f0fa224700253c1dc65643182f525e7803b362fdc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Release files / nakametpy-2026.1.0-py3-none-any.whl
| Download URL | nakametpy-2026.1.0-py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bb5a88682109bca4eb99e6f17f8e56410f8740756aa2dd915e3de65d3822443
|
|
BLAKE2b-256 checksum How to use checksums |
f22378dbbf952dfb2ffe850df749e93fb94c61e0c46993e362aa2b6f8d4cba30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Security for nakametpy 2026.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.