Skip to content

how to read CRU climatic data files with R?

3 messages · Nicolas Degallier, antonio rodriguez, Brian Ripley

#
Hi R helpers,

I have downloaded time series of climatic data from CRU (Climatic  
Research Unit) which are ASCII files with a specific format for the  
data.
The format is described here:

http://www.cru.uea.ac.uk/~timm/grid/CRU_TS_2_1.html

under the link "file format".

I would like to know if somebody has already written some script in R  
to open and manage these data, for example for selecting only  
portions of the time series and/or pieces of the spatial grid?

Cheers,

Nicolas Degallier

UMR 7159 / IRD UR182
Laboratoire d'Oc?anographie et du Climat, Exp?rimentation et  
Approches Num?riques (LOCEAN)
Tour 45-55, 4e ?t., case 100, 4 place Jussieu
75252  Paris Cedex 5  France

t?l: (33) 01 44 27 51 57
fax: (33) 01 44 27 38 05
E-mail: <Nicolas.Degallier at ird.fr>

Publications (anonymous ftp):

ftp://ftp.lodyc.jussieu.fr/LOCEAN/ndelod
#
Nicolas Degallier wrote:
Hi Nicolas,

You will find in that page, below Data structure section, a link to 
'software'. There you will find a package 'CRU2nc.tgz' which converts 
your ASCII data to 'netCDF' format. Then you can use any of the netCDF 
libraries available in R: ncdf,ncvar, RNetCDF, and the old netCDF.

I've found, at least for me, before to enter the data in R, to 
manipulate them with Ferret (http://ferret.pmel.noaa.gov/Ferret/) 
(subsetting regions and time intervals, etc.)

Hope this helps,

Antonio

  
    
#
This is the databases list, not for reading ASCII files.

Please try R-help.
On Tue, 13 Jun 2006, Nicolas Degallier wrote: