Changes between Initial Version and Version 1 of Temperature download and load


Ignore:
Timestamp:
May 11, 2010 10:21:15 AM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Temperature download and load

    v1 v1  
     1back to first page [..][[BR]] 
     2back to ["CookBook Eda"][[BR]] 
     3back to ["Temperature"][[BR]] 
     4 
     5== EXTRACT the data from CRU with TETYN == 
     6 
     7Download Tetyn at : http://sourceforge.net/projects/tetyn/  [[BR]] 
     8Download the data at http://www.cru.uea.ac.uk/cru/data/hrg/cru_ts_2.10/data_all/  [[BR]] 
     9cru_ts_2_10.1901-2002.pre.Z (137MB) [[BR]] 
     10cru_ts_2_10.1901-2002.tmn.Z (118MB) [[BR]] 
     11cru_ts_2_10.1901-2002.tmp.Z (118MB) [[BR]] 
     12cru_ts_2_10.1901-2002.tmx.Z (119MB) [[BR]] 
     13 
     14Unzippe the data [[BR]] 
     15 
     16Open TETYN > Climate dataset > CRU TS 2.10 [[BR]] 
     17 
     18In-out > Data folder choose the folder where you have extracted the data and the output folder[[BR]] 
     19Query : select the year, the month, parameters : temperature, temperature minimum, temperature maximum, precipitation[[BR]] 
     20Space : select the country [[BR]] 
     21 
     22== Create the table in Postgre to import to == 
     23=== Import the temperature tmp (temperature moyenne)=== 
     24 
     25=== Import the temperature tmx (temperature maximum) === 
     26 
     27=== Import the temperature tmn (temperature minimum) === 
     28{{{ 
     29DROP TABLE IF EXISTS temperature.tmn; 
     30}}} 
     31["Create table tmn"] 
     32{{{ 
     33COPY temperature.tmn FROM 'D:/Celine Jouanin/Temperature/tmn.txt' USING DELIMITERS ';' CSV HEADER; 
     34}}}