ITPub博客

首页 > 大数据 > Hadoop > hadoop权威指南中的ncdc数据下载地址及命令 .

hadoop权威指南中的ncdc数据下载地址及命令 .

Hadoop 作者:thamsyangsw 时间:2014-03-04 00:55:24 0 删除 编辑

如题:给出hadoop权威指南--NCDC1929-2011数据下载地址


ftp://ftp.ncdc.noaa.gov/pub/data/gsod/


命令:

The data are available via:
1) WWW -- http://www.ncdc.noaa.gov/cgi-bin/res40.pl?page=gsod.html
2) FTP -- ftp://ftp.ncdc.noaa.gov/pub/data/gsod via browser
3) Command line ftp:

a) Enter: open ftp.ncdc.noaa.gov 

b) Login is: ftp

c) Password is: your email address

d) To move to the correct subdirectory, enter: 
cd /pub/data/gsod 

The files included in this subdirectory are:

Data Files--

Annual files:
eg, gsod_2006.tar - All 2006 files (compressed) by station, in one tar file.
etc, etc - For each annual volume.
Note: Each year's data are contained in subdirectories/folders by year. 

Station files:
eg, 010010-99999-2006.op.gz - Files by station year, identified by WMO number, 
WBAN number (if appropriate), and year. For a cross reference of the 
filenames with location, see:
ish-history.txt 

Informational/Utility Files--

country-list.txt - A list showing the station number range for
each country.

ish-history.txt -- A station list to be used with the data files,
showing the names and locations for each station.
Note: Global summary of day contains a subset of the 
stations listed in this station history.

readme.txt - A description of the data and its format.

e) To get a copy of the data description, enter: 
get readme.txt destination (destination is your 
output location and name)...e.g.--
get readme.txt c:readme.txt - copies to hard drive c:

f) Then, to get a copy of any of the other files, use
the same procedure, such as--
get gsod_2006.tar c:data.txt

g) To logoff the system when finished, enter:
bye

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26613085/viewspace-1099829/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-01-12

  • 博文量
    160
  • 访问量
    1176616