Giter VIP home page Giter VIP logo

open-weather's Introduction

Open-Weather

Open-Weather 是一个开源的气象数据获取项目

工具

q-weather

运行qweather.py可获取由q-weather.info提供的国内五分钟实况数据

要求

程序基于Python3,需要安装requests

配置文件

编辑配置文件config.cfg中的stations项可更改获取的站点(站点WMOID数组)

数据储存

获取的数据储存在data文件夹下的WMOID.csv文件中,同一时间重复获取数据不会覆盖

使用

运行qweather.py获取数据,由运行主机发起请求

q-weather_hour

数据代码

代码 表意
9998 无此数据

配置文件

选项 表意
stations 要爬取的站点WMOID
pfix 对应站点的海拔高度(米)
saveAsJson 保存为JSON文件

数据格式

{
    "时间(yyyyMMddhhmm)":
        [
            气温(℃),
            露点(℃,计算值),
            相对湿度,
            站压(hPa),
            海平面气压(hPa,计算值),
            风向(度),
            风速(m/s),
            一小时降水量(mm),
            能见度(km)
        ],
    ...
}

open-weather's People

Contributors

lilidream avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.