Skip to main content

Meteorological modules for calculation and colormap.

Project description

NakaMetPy

PyPI version Anaconda version pytest

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 using NumPy(kinematics and thermo)

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. (2025). 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(2025.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nakametpy-2025.8.1.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nakametpy-2025.8.1-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file nakametpy-2025.8.1.tar.gz.

File metadata

  • Download URL: nakametpy-2025.8.1.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for nakametpy-2025.8.1.tar.gz
Algorithm Hash digest
SHA256 6aad3ebdec1e7b6dfa27245733cecd3fcca1dfbfda141c49dc4a7b20494aca9a
MD5 559c149072a9314d2c24f86d040a9859
BLAKE2b-256 b52fed1a8a95d4cbaf51d4922271020a9fcbd7e8064d1323d24a61c35b5d1413

See more details on using hashes here.

File details

Details for the file nakametpy-2025.8.1-py3-none-any.whl.

File metadata

  • Download URL: nakametpy-2025.8.1-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for nakametpy-2025.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23ffa7320d6f52f7f37b62e1c5c98ae4f91fbf1725d02d602aad832537091c94
MD5 dd24ef1f6f0b204e1d70cbb5a0ac4a68
BLAKE2b-256 7d54efd35c9d25e963d609f8f2a21e5b8da57a0f645cfc50798a70bef25d12a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page