Meteorological modules for calculation and colormap.
Project description
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
MetPy
usingNumPy
(kinematics
andthermo
)
I appreciate your contribution.
How to Install
via Anaconda
conda install muchiwo::nakametpy
via PyPI
pip3 install nakametpy
Licence
BSD-3-Clause
Citation
Nakamura, Y. (2024). NakaMety (Version xxxx.x.x) [Software]. Chiba, 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(2024.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]
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
File details
Details for the file nakametpy-2025.1.0.tar.gz
.
File metadata
- Download URL: nakametpy-2025.1.0.tar.gz
- Upload date:
- Size: 58.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a3a07a405f759448b922cccc2549258fed7c6a688786a83155a5f1373ba26870
|
|
MD5 |
a7fb1502b1f471b38b9d8797e32a821d
|
|
BLAKE2b-256 |
72acb06cc620e289fa93a168bfb26b2f87c7e23472b58ef879081a0b6831cb0b
|
File details
Details for the file nakametpy-2025.1.0-py3-none-any.whl
.
File metadata
- Download URL: nakametpy-2025.1.0-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
50ea521c233be111d1aeddbf83e9da911291e8bdc3971bbce3c53fa0c299faa6
|
|
MD5 |
8fcf16d3a7bab18f28adae09e307f583
|
|
BLAKE2b-256 |
1110d15c6cc4594e77a8f586bccc4d22d4246dfa213b72f1a70ba094a82119ea
|