Gridded ASCII data to GrADS
Xavier Francis
xavfrans at GMAIL.COM
Thu Jun 14 07:48:57 EDT 2007
Dear Simon,
I am attaching TEST.tar.gz file. It contains cpre6190.dat, precip.ctl,
precip.dat, rd_asccii2binary.f. The fortran (f77) program will write an
output file named precip.dat and it is a binary file contains 12 months
global data. You can directly use this to the .ctl file.
best wishes
xavier Francis
Research Scholar
IIT Kharagpur
W.B, India
On 6/13/07, Mary Jo Nath <Mary-Jo.Nath at noaa.gov> wrote:
>
> You are attempting to read integer data into real array "grid". Make
> "grid" integer, then save it to a real array before writing it out.
> Also, you are writing the data as open(...access="direct"...), but your
> *.ctl has "options sequential". Remove that option from the *ctl file.
> MJ
>
> Simon Krichak wrote:
> > Hello,
> >
> > I am testing now a simple code prepared to convert
> > CRU 30-y ASCII data to GrADS compatible ones.
> > As far as I know I do it exactly according to the
> > instructions. Everything works fine except for the
> > final result which is bad.
> > I've attached everything I could. Please let me know
> > what is wrong in my code or ctl file.
> >
> > Simon
> >
> >
> > Simon Krichak
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070614/464e5210/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TEST.tar.gz
Type: application/x-gzip
Size: 1406948 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20070614/464e5210/attachment.gz
More information about the gradsusr
mailing list