download mete data
Project description
dmete
基于谭永强提供的自动气象站观测下载接口,下载小时气象数据,并输出成标准的文本格式
用法
$ python -m dmete -h
usage: __main__.py [-h] [-b BEGTIME] [-e ENDTIME] [-o OUTPATH]
Parameters of this program
optional arguments:
-h, --help show this help message and exit
-b BEGTIME, --begTime BEGTIME 开始北京时间
-e ENDTIME, --endTime ENDTIME 结束北京时间
-o OUTPATH, --outPath OUTPATH 输出路径
如果不是在公司内网下载,请修改dmete/dump.py
class NetConfigure:
''' globale variables '''
user = 'moshi'
pswrd = 'ad7ed4f6730a7e784535c3b6a0becc92'
inner = "http://10.110.18.215:8000/dataSup/getZrAws1DataIntegral"
outer = "http://61.50.111.214:19008/dataSup/getZrAws1DataIntegral"
address = outer # inner
例子
python -m dmete -b 2018090100
python -m dmete -b 2018090100 -e 2018090221
python -m dmete -b 2018090100 -e 2018090221 -o ./obs
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
dmete-1.0.1.tar.gz
(54.6 kB
view hashes)
Built Distribution
dmete-1.0.1-py3-none-any.whl
(55.4 kB
view hashes)