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

来源:互联网 发布:威纶通触摸屏如何编程 编辑:程序博客网 时间:2024/05/16 09:43

如题:给出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  
原创粉丝点击