<p class="imp-signature">Yes, i know its a Grads file ..! i have attached the control file and the grid file can be downloaded frm the link given below!<br />
<br />
http://www.4shared.com/file/cuSG-05j/rf05_1975.html<br />
<br />
I have not used Grads before, still i was able to read in the control file and get the basic info.! but, i am not sure about the package required for .grd files in R - will i be able to read a Grads grid file into R???</p>
<p class="imp-signature">Thank u all,<br />
Mahalakshmi</p>
<p class="imp-signature"><!--end_signature--></p>
Quoting Barry Rowlingson <b.rowlingson@lancaster.ac.uk>:<br />
<br />
> On Sat, Oct 9, 2010 at 12:32 AM, <govindas@msu.edu> wrote:<br />
>><br />
>><br />
>> Can someone let me know what package and function should be used to <br />
>> read *.grd files in R? I tried readGDAL, open.ncdf functions already <br />
>> which threw errors for file format mismatch.<br />
><br />
> A file extension is not a good indication of what the file type is. I<br />
> could rename any file 'foo.grd' and it could be anything.<br />
><br />
> Show us what readGDAL gives as an error message, and then we might be<br />
> able to help. readGDAL tries to guess the file format, maybe it<br />
> guessed right but the file is corrupted.<br />
><br />
> Where did the file come from? Can we get it? Can you open it in a<br />
> text editor? Do you have a unix/linux box so you can run the command<br />
> 'file' on it?<br />
><br />
> Barry<br />
><br />