[gradsusr] EOF Analysis in GrADS
krishnamohan
krishmet at gmail.com
Mon Nov 1 14:17:38 EDT 2010
Hi Mubashar,
EOF will work well on grads 1.9b4 version. A detailed procedure for
installing the function (which i have posted earlier) in linux is also
attached with this mail
--
Krishnamohan.K.S
Junior Research Fellow
Department Of Atmospheric Sciences
Cochin University of Science and Technology
Cochin,India
On Mon, Nov 1, 2010 at 1:00 AM, Marck F.F Oduber (arubawx) <
arubawx at setarnet.aw> wrote:
> use the old windows version of grads 1.8 ... in pygrads, i had some
> crashing of the system when the grib data was big ... the demo data only
> worked on my pc for pygrads
> regards
> marck
>
> On 10/31/10, *Mubashar Dogar * <mubashardogar at gmail.com> wrote:
>
> Dear GrADS Users,
>
> I am interested to do EOF analysis using GrADS udf utility? I am using
> grads 2.0.a7.oga.3. Could you please guide me that this version support EOF
> analysis or I have to swich some older version of GrADS? It will be highly
> appreciated if you could guide me with some steps for doing EOF analysis as
> well?
>
> Regards,
>
> Mubashar
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101101/1925dbbb/attachment-0003.html
-------------- next part --------------
if you are using linux 32bit OS
download PC(i386) Linux (32bit) from
http://www.atmos.ucla.edu/~munnich/Grads/EOF/
open teminal then gedit .bashrc (your bash file)
your gradspath (where grads is installed) may be (eg: /home/alice/grads )
export GRADS="/home/your_home/grads"
export GADDIR="/home/your_home/grads/data"
export GASCRP="/home/your_home/grads/lib"
PATH=${PATH}:$GRADS/bin
put the following line
export GAUDFT="/home/your_home/grads/udft.txt"
then it will become
export GRADS="/home/your_home/grads"
export GADDIR="/home/your_home/grads/data"
export GASCRP="/home/your_home/grads/lib"
export GAUDFT="/home/your_home/grads/udft.txt"
PATH=${PATH}:$GRADS/bin
before the last line ( that is PATH=${PATH}:$GRADS/bin)
save and exit bashrc
then copy the eofudf file from the extracted directory to your grads folder.
then create a blank file called udft.txt inside your grads folder. then add
the following lines to it
eofudf 2 6 expr value value value value char
sequential
/your/path/to/eofudf <-- Your path to the eofudf executable
eofudf.in
eofudf.out
here set the /your/path/to/eofudf as
/home/your_home/grads/eofudf (where you have copied eofudf)
then it will become excatly in format (dont change the order)
eofudf 2 6 expr value value value value char
sequential
/home/your_home/grads/eofudf
eofudf.in
eofudf.out
then as root copy the library file libcxa.so.3 to /usr/lib
from treminal from the extracted folder (ie: cp libcxa.s0.3 /usr/lib)
go to /usr/lib and change its permission with chmod (ie chmod 777 libcxa.so.3)(this is important)
now exit from root
either open a new terminal otherwise in current terminal give command:
source /home/your_home/.bashrc
now open grads and open your data. then type command: q udft
if it is properly installed it will give something like
eofudf Args: 2 6 Exec: /home/your_home/grads/eofudf
done...........................
now set you time (eg: set t 1 20)
set your lat and lon
then type eof your_variable
it will display and create some output files as ctl and data files which you can open with grads.
***************************************************
More information about the gradsusr
mailing list