[gradsusr] extarct data in grads
Muhammad Rahiz
muhammad.rahiz at ouce.ox.ac.uk
Mon Feb 21 13:39:39 EST 2011
I believe you can append the output of different variables to the same
text file. Or if you're using Linux/Unix, the cat or paste command would
do the trick.
--
Muhammad Rahiz
Researcher & DPhil Candidate (Climate Systems & Policy)
School of Geography & the Environment
University of Oxford
On Mon, 21 Feb 2011, Subash Yeggina wrote:
> Hi! Rahiz,
> I assume this script is only to save 1 variable data. What if I wish to
> dump more than 1 variable data to the same .txt file. Is there any
> script available?
>
> Thanks,
> Subash
>
> On Mon, Feb 21, 2011 at 4:53 PM, Muhammad Rahiz
> <muhammad.rahiz at ouce.ox.ac.uk> wrote:
> set lon -10
> set lat 25
> fprintf variable var.txt
>
>
> You need the fprintf.gs script available at:
> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_var
> iable_data_to_a_text_file
>
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Fri, 18 Feb 2011, Ismaila Diallo wrote:
>
> > Dear,
> >
> > I would like to extract from reanalysis data at different location
> (example: lat
> > 25 lon -10) with grads in .txt.
> > Is there a way to follow in grads for to do this job.
> > Thanks in advance
> >
> >
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
More information about the gradsusr
mailing list