Skip to main content

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


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.1.0.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

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

dmete-1.1.0-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file dmete-1.1.0.tar.gz.

File metadata

  • Download URL: dmete-1.1.0.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for dmete-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c06efb1ea52753f2af744771bfaf6fa88f74210dcd1eb07e3094197af627e04b
MD5 b51becb1f716f3e727818d123e0a1394
BLAKE2b-256 4a951fa7eccf14a552cc69de30ff69aa1ea4990879a8d408ba8d1b67782dea61

See more details on using hashes here.

File details

Details for the file dmete-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dmete-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for dmete-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b436a52046358b4385a8e8d6b1e5cd15f2a7d60ade564cf49ed5172e6543b41
MD5 847ded59b532e368c73ed1ffd2962594
BLAKE2b-256 9f06fe532b1f269311ade91bc6f3d667bc24e96309fab4f4abd9d612c5c9b15a

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