Skip to content

albertix/fdfNCDC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

需要Python

https://www.python.org/downloads/release/python-2711/

用法

./mutli_http.py start_year end_year dest_dir theards

./untar.py src_dir dest_file [size(MB)]

说明

mutli_http会使用ftp方式(使用了[1]中代码)获取年度数据表,并写入year.json;而后使用指定的进程数,按照year.json,采用http方式下载。

untar会将指定文件夹内所有.gz解压,写入单一dest_file.gz,目标文件大小默认为4GB,若超出,会将后续文件命名为dest_file.x.gz

1. python 从ftp下载数据

2. hadoop ncdc数据下载方法

About

fetch data from NCDC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages