All Projects → nmcdev → nmc_met_io

nmcdev / nmc_met_io

Licence: GPL-3.0 License
提供对MICAPS文件, 卫星云图, 天气雷达等数据的读写, 并访问CIMISS和MICAPS CASSANDRA数据库文件等.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to nmc met io

grib-rs
GRIB format parser for Rust
Stars: ✭ 23 (-70.13%)
Mutual labels:  weather, meteorology
gis4wrf
QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
Stars: ✭ 137 (+77.92%)
Mutual labels:  weather, meteorology
python-awips
A framework for querying AWIPS meteorological datasets from an EDEX Data Server.
Stars: ✭ 31 (-59.74%)
Mutual labels:  weather, meteorology
grib
Golang GRIB2 parser
Stars: ✭ 41 (-46.75%)
Mutual labels:  weather, meteorology
wetterdienst
Open weather data for humans
Stars: ✭ 190 (+146.75%)
Mutual labels:  weather, meteorology
gribr
GRIB interface for R using ECMWF ecCodes
Stars: ✭ 18 (-76.62%)
Mutual labels:  weather, meteorology
improver
IMPROVER is a library of algorithms for meteorological post-processing.
Stars: ✭ 76 (-1.3%)
Mutual labels:  weather, meteorology
react-weather-app
⛅️ PWA Weather App made with ReactJS
Stars: ✭ 147 (+90.91%)
Mutual labels:  weather
open-data-smn
An API to serve publicly available data from the SwissMetNet in 10min intervals
Stars: ✭ 23 (-70.13%)
Mutual labels:  weather
Jupiter
🌞 The Swift Weather Framework
Stars: ✭ 14 (-81.82%)
Mutual labels:  weather
epaper-clock-and-more
e-paper clock + weather + AQI + traffic delays - using Waveshare 2.7inch & 4.2inch eink displays running on Raspberry Pi
Stars: ✭ 34 (-55.84%)
Mutual labels:  weather
darksky-influxdb
Logs weather information from darksky.io to InfluxDB
Stars: ✭ 22 (-71.43%)
Mutual labels:  weather
nws alerts
An updated version of the nws_alerts custom integration for Home Assistant
Stars: ✭ 24 (-68.83%)
Mutual labels:  weather
weather-milliseconds
Experiment to render a forecast as fast as possible
Stars: ✭ 24 (-68.83%)
Mutual labels:  weather
HydroData
An R 📦 for finding and getting geospatial earth systems data
Stars: ✭ 30 (-61.04%)
Mutual labels:  weather
cuba-weather-flutter
Application for mobile devices of the Cuba Weather project implemented with Flutter
Stars: ✭ 28 (-63.64%)
Mutual labels:  weather
HomeAssistant-CustomComponents
No description or website provided.
Stars: ✭ 25 (-67.53%)
Mutual labels:  weather
WorldWeather
The largest three-dimensional web-based interactive browser of satellite, weather, climate, and other time-aware geospatial data on the web, built upon NASA's revolutionary WorldWind technology.
Stars: ✭ 49 (-36.36%)
Mutual labels:  weather
vad-plotter
Plotter for NEXRAD VWP retrievals.
Stars: ✭ 18 (-76.62%)
Mutual labels:  meteorology
owmr
An R Interface to OpenWeatherMap
Stars: ✭ 24 (-68.83%)
Mutual labels:  weather

气象数据读写及访问程序库

提供对MICAPS文件, 卫星云图, 天气雷达等数据的读写程序, 并访问CMADaaS, CIMISS和MICAPS CASSANDRA数据库文件等.

Only Python 3 is supported. 建议安装Anaconda数据科学工具库, 已包括scipy, numpy, matplotlib等大多数常用科学程序库.

Install

Using the fellowing command to install packages:

  pip install nmc-met-io
  • 若要安装Github上的开发版(请先安装Git软件):
  pip install git+git://github.com/nmcdev/nmc_met_io.git
  • 或者下载软件包进行安装:
  git clone --recursive https://github.com/nmcdev/nmc_met_io.git
  cd nmc_met_io
  python setup.py install

可选支持库:

  • 若需要实现对grib格式数据的读取, 请用conda安装:

    • eccodes, conda install -c conda-forge eccodes(ECMWF的grib工具库, 支持Windows和Linux)
    • cfgrib, conda install -c conda-forge cfgrib
  • 若需要使用将标准雷达格式转化为pyart格式程序standard_data_to_pyart, 请安装:

    • arm_pyart, conda install -c conda-forge arm_pyart
  • 若需要对Cassandra集群数据库进行访问, 请安装:

设置配置文件

若要访问CMADaaS(大数据云), MICAPS服务器等, 需在配置文件中设置地址和用户信息(若不需要, 则相应项无需配置).

  • 在系统用户目录下("C:\Users\用户名"(windows)或"/home/用户名/"(Linux)), 建立文件夹".nmcdev"(若Windows下无法直接创建, 在命令窗口中输入mkdir .nmcdev创建)
  • 在".nmcdev"中创建文本文件"config.ini", 内容模板为:
# 用于nmc_met_io读取大数据云, MICAPS服务器等的配置文件.
# 若用不到某个服务器, 则不设置或删除改段落即可.
# 注意设置IP地址时, 不要加http等前缀信息.

# CMADaaS大数据云平台配置:
#     DNS为IP地址, PORT为端口
#     USER_ID和PASSWORD分别为用户名和密码
#     serviceNodeId为服务节点名称(一般为 NMIC_MUSIC_CMADAAS)
[CMADaaS]
DNS = xx.xx.xx.xx
PORT = xx
USER_ID = xxxxxxxx
PASSWORD = xxxxxxxx
serviceNodeId = NMIC_MUSIC_CMADAAS

# MICAPS Cassandra服务器配置(一般需要联系运维开通访问权限)
#     GDS_IP为IP地址, GDS_PORT为端口
#     可以人为设置本地数据缓存的地址CACHE_DIR, 默认为配置文件夹目录下的cache文件夹
[MICAPS]
GDS_IP = xx.xx.xx.xx
GDS_PORT = 8080
# Cached file directory, if not set,
#   /user_home/.nmcdev/cache will be used.
# CACHE_DIR = ~

# CIMISS网址及用户ID和PASSWORD, 2021年年底CIMISS停止提供服务
#     DNS为IP地址, PORT为端口
#     USER_ID和PASSWORD分别为用户名和密码
[CIMISS]
DNS = xx.xx.xx.xx
USER_ID = xxxxxxxxx
PASSWORD = xxxxxxxx

# 彩云天气API的访问口令
[CAIY]
token = xxxxxxxxxxxxxx

# MAPBOX地图数据的访问口令(nmc_met_graphics绘图可以用)
# https://docs.mapbox.com/help/glossary/access-token 申请
[MAPBOX]
token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# 天地地图数据的访问口令(nmc_met_graphics绘图可以用)
# http://lbs.tianditu.gov.cn/server/MapService.html 申请
[TIANDITU]
token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# 配置Cassandra集群访问接口
[Cassandra]
ClusterIPAddresses=Cassandra集群IP地址以“,”分隔,可以参考MICAPS4的配置文件配置
ClusterPort=Cassandra集群服务端口
KeySpace=Cassandra上数据存储的主键名


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].