[gradsusr] gradsusr Digest, Vol 12, Issue 6

Zilore Mumba zmumba at gmail.com
Mon Feb 7 08:08:59 EST 2011


Muhammad,
The solution you provided to my question on fprintf does work, that
was the first I received.
Thanks so much
Zilore

On Mon, Feb 7, 2011 at 10:37 AM,  <gradsusr-request at gradsusr.org> wrote:
> Send gradsusr mailing list submissions to
>        gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
>        gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
>        gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
>   1. Re: gradsusr Digest, Vol 12, Issue 5 (Zilore Mumba)
>   2. Plotting NCEP data in Grib format using GrADS
>      (phd0802 at pieas.edu.pk)
>   3. vertical profile in text file (SMITH, JONATHAN WYNN. (GSFC-6133))
>   4. skew t plots (namrata rajput)
>   5. plot pentad for one yard (Ismaila Diallo)
>   6. Synoptic maps (Jofre Janu?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 7 Feb 2011 09:42:22 +0200
> From: Zilore Mumba <zmumba at gmail.com>
> Subject: Re: [gradsusr] gradsusr Digest, Vol 12, Issue 5
> To: gradsusr at gradsusr.org
> Message-ID:
>        <AANLkTik1mUKL8R0qv6BFUL=tJoK-wAS7XSijranmJRMp at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks Zablone, and all those who looked at query. Sorry i used
> fprintf some time ago, so I was remembering it as sprintf.
> Thanks so much for your time.
> Zilore
>
> On Mon, Feb 7, 2011 at 2:59 AM,  <gradsusr-request at gradsusr.org> wrote:
>> Send gradsusr mailing list submissions to
>> ? ? ? ?gradsusr at gradsusr.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> ? ? ? ?http://gradsusr.org/mailman/listinfo/gradsusr
>> or, via email, send a message with subject or body 'help' to
>> ? ? ? ?gradsusr-request at gradsusr.org
>>
>> You can reach the person managing the list at
>> ? ? ? ?gradsusr-owner at gradsusr.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of gradsusr digest..."
>>
>>
>> Today's Topics:
>>
>> ? 1. Re: Sprintf to write binary to ascii (Zablone Owiti)
>> ? 2. Templates for TRMM data (Subash Yeggina)
>> ? 3. Re: Templates for TRMM data (Muhammad Rahiz)
>> ? 4. Re: Templates for TRMM data (Subash Yeggina)
>> ? 5. Re: Templates for TRMM data (Muhammad Rahiz)
>> ? 6. [gradsusr^ unability to run some coomands & iterations
>> ? ? ?(Mario Caffera)
>> ? 7. Re: Templates for TRMM data (Subash Yeggina)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 5 Feb 2011 23:14:28 -0800 (PST)
>> From: Zablone Owiti <zablonowiti at yahoo.com>
>> Subject: Re: [gradsusr] Sprintf to write binary to ascii
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID: <337580.72400.qm at web161319.mail.bf1.yahoo.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Zilore,
>> I know fprintf (and NOT Sprintf) used to write out binary data to ascii format. Depending on your requirement, you can use it to write out the whole data (lets say gridded binary data) and also write out the corresponding latitudes and longitudes on separate files. This procedure is demonstrated in the following link:http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file
>>
>> You can also use it to write out data averaged over a particular domain or grid box as in the example of a .CTL file below:
>>
>> 'sdfopen H:/griddata/data.cdf'
>> 'set lon 10'
>> 'set lat 15'
>> 'set t 1 516'
>> 'define pc2sst = aave(sst,lon=-165,lon=-80,lat=-5,lat=5)'
>> 'set t 1 516'
>> 'fprintf rain raingcpc.txt %g 12 1'
>>
>> NB: In the last line, rain is the variable, raingcpc.txt is the outputfilename, 12 is the number of values in each line (i.e monthly data in this case so that each line is Jan to Dec for each year), and 1 is the number of spaces between the values in each row/ line.
>>
>> Hope this will help
>>
>>
>> ===================================================
>> ZABLONE OWITI
>> GRADUATE STUDENT
>> Nanjing University of Information, Science and Technology
>> College of International Education
>> Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China
>> Tel: +86-25-58731402
>> Fax: +86-25-58731456
>> Mob. 15077895632
>> Website: www.nuist.edu.cn
>> ====================================================
>> "The real art of conversation is not only to say the right thing at the right time, but also to leave unsaid the wrong thing at the tempting moment."
>>
>>
>>
>>
>> From: Zilore Mumba <zmumba at gmail.com>
>> To: gradsusr at gradsusr.org
>> Cc:
>> Sent: Saturday, 5 February 2011 7:31 PM
>> Subject: [gradsusr] Sprintf to write binary to ascii
>>
>> Hello Grads users,
>> I tohught there was a command like "sprintf" to write binary data in
>> grads to ascii.
>> Help will be appreciated
>> Zilore
>> _______________________________________________
>> 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/20110205/6640dc2c/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 6 Feb 2011 17:57:39 +0530
>> From: Subash Yeggina <subash.yeggina at gmail.com>
>> Subject: [gradsusr] Templates for TRMM data
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> ? ? ? ?<AANLkTimvjkWaZ94P4H6XnyCs8zB28893T9TH0PUdRkaz at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi! All,
>>
>> I have 1 year 3B42 3hr TRMM data in NetCDF format. My question is how to
>> write the template file to read all the data is GrADS.
>>
>>
>> Thanks & Regards,
>> Subash
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110206/74ba6f54/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Sun, 6 Feb 2011 16:20:08 +0000 (GMT)
>> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
>> Subject: Re: [gradsusr] Templates for TRMM data
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> ? ? ? ?<alpine.LFD.2.00.1102061619290.4354 at localhost6.localdomain6>
>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>
>>
>> sdfopen inputfile.nc
>>
>>
>>
>> Muhammad Rahiz
>> Researcher & DPhil Candidate (Climate Systems & Policy)
>> School of Geography & the Environment
>> University of Oxford
>>
>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>
>>> Hi! All,
>>> I have 1 year 3B42 3hr TRMM data in NetCDF format. My question is how to
>>> write the template file to read all the data is GrADS.
>>>
>>>
>>> Thanks & Regards,
>>> Subash
>>>
>>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Mon, 7 Feb 2011 00:16:30 +0530
>> From: Subash Yeggina <subash.yeggina at gmail.com>
>> Subject: Re: [gradsusr] Templates for TRMM data
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> ? ? ? ?<AANLkTi=mOarQgh1mNzykbrH0Lxxa89iDWdH=W0q+6zzr at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi! Muhammad,
>>
>> sdfopen inputfile.nc is to read one file. I would like to know how to read
>> all the files using 'templates'.
>>
>>
>> Thanks,
>> Subash
>>
>> On Sun, Feb 6, 2011 at 9:50 PM, Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk
>>> wrote:
>>
>>>
>>> sdfopen inputfile.nc
>>>
>>>
>>>
>>> Muhammad Rahiz
>>> Researcher & DPhil Candidate (Climate Systems & Policy)
>>> School of Geography & the Environment
>>> University of Oxford
>>>
>>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>>
>>> > Hi! All,
>>> > I have 1 year 3B42 3hr TRMM data in NetCDF format. My question is how to
>>> > write the template file to read all the data is GrADS.
>>> >
>>> >
>>> > Thanks & Regards,
>>> > Subash
>>> >
>>> >
>>> _______________________________________________
>>> 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/20110207/472d63e9/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Sun, 6 Feb 2011 21:12:56 +0000 (GMT)
>> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
>> Subject: Re: [gradsusr] Templates for TRMM data
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> ? ? ? ?<alpine.LFD.2.00.1102062101360.6873 at localhost6.localdomain6>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> The following code would allow you to open multiple files but you need to
>> make a list of files you want to open as *.txt (e.g. inputfiles.txt)
>>
>> n = 10 ? ? ? ? ?# where n is the total number of files in inputfiles.txt
>> m = 1
>> while(m< n+1)
>> ?ifile = 'inputfiles.txt'
>> ?rec = read(ifile)
>>
>> ?IO = sublin(rec,1)
>> ?if(IO = 1)
>> ? ?say ifile' > File open error'
>> ?endif
>> ?if (IO = 0)
>> ? ?a = subwrd(rec,2)
>> ?endif
>>
>> 'sdfopen 'a''
>> say ''a''
>> 'quit'
>> m = m +1
>> endwhile
>>
>>
>> If you're using GrADS in Linux/Unix environment, the following would work
>> as well;
>>
>> #!/bin/bash
>>
>> for i in $(ls *.nc); do
>>
>> cat > grads.gs << EOF
>> 'sdfopen $i'
>> say '$i'
>> 'quit'
>> EOF
>> grads -blc 'run grads.gs'
>>
>> done
>>
>>
>> HTH,
>> ---
>> Muhammad Rahiz
>> Researcher & DPhil Candidate (Climate Systems & Policy)
>> School of Geography & the Environment
>> University of Oxford
>>
>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>
>>> Hi! Muhammad,?
>>> sdfopen?inputfile.nc?is to read one file. I would like to know how to read
>>> all the files using 'templates'.
>>>
>>>
>>> Thanks,
>>> Subash
>>>
>>> On Sun, Feb 6, 2011 at 9:50 PM, Muhammad Rahiz
>>> <muhammad.rahiz at ouce.ox.ac.uk> wrote:
>>>
>>> ? ? ? sdfopen inputfile.nc
>>>
>>>
>>>
>>> ? ? ? Muhammad Rahiz
>>> ? ? ? Researcher & DPhil Candidate (Climate Systems & Policy)
>>> ? ? ? School of Geography & the Environment
>>> ? ? ? University of Oxford
>>>
>>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>>
>>> > Hi! All,
>>> > I have 1 year 3B42 3hr TRMM data in NetCDF format. My question is
>>> how to
>>> > write the template file to read all the data is GrADS.
>>> >
>>> >
>>> > Thanks & Regards,
>>> > Subash
>>> >
>>> >
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>
>>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Sun, 6 Feb 2011 21:07:48 -0800 (PST)
>> From: Mario Caffera <rmcaffera at yahoo.com>
>> Subject: [gradsusr] [gradsusr^ unability to run some coomands &
>> ? ? ? ?iterations
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID: <425163.27957.qm at web57305.mail.re1.yahoo.com>
>> Content-Type: text/plain; charset=iso-8859-1
>>
>> Hi grads users.
>>
>> ?I never be able to do any iteration in grads, nor apply any command as "while" "if" or "for". It appears some explanations like "unknown command" or so on.
>> ?I'm running grads in a Win32 mahine. Could be that the cause?
>>
>> ? thanks in advance
>>
>> ? ? ? ? ? ? ? ? ? ?Mario
>>
>> --- On Sun, 2/6/11, Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk> wrote:
>>
>>> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
>>> Subject: Re: [gradsusr] Templates for TRMM data
>>> To: "GrADS Users Forum" <gradsusr at gradsusr.org>
>>> Date: Sunday, February 6, 2011, 7:12 PM
>>> The following code would allow you to
>>> open multiple files but you need to make a list of files you
>>> want to open as *.txt (e.g. inputfiles.txt)
>>>
>>> n = 10??? ??? # where n is
>>> the total number of files in inputfiles.txt
>>> m = 1
>>> while(m< n+1)
>>> ?ifile = 'inputfiles.txt'
>>> ?rec = read(ifile)
>>>
>>> ?IO = sublin(rec,1)
>>> ?if(IO = 1)
>>> ???say ifile' > File open error'
>>> ?endif
>>> ?if (IO = 0)
>>> ???a = subwrd(rec,2)
>>> ?endif
>>>
>>> 'sdfopen 'a''
>>> say ''a''
>>> 'quit'
>>> m = m +1
>>> endwhile
>>>
>>>
>>> If you're using GrADS in Linux/Unix environment, the
>>> following would work as well;
>>>
>>> #!/bin/bash
>>>
>>> for i in $(ls *.nc); do
>>>
>>> cat > grads.gs << EOF
>>> 'sdfopen $i'
>>> say '$i'
>>> 'quit'
>>> EOF
>>> grads -blc 'run grads.gs'
>>>
>>> done
>>>
>>>
>>> HTH,
>>> ---
>>> Muhammad Rahiz
>>> Researcher & DPhil Candidate (Climate Systems &
>>> Policy)
>>> School of Geography & the Environment
>>> University of Oxford
>>>
>>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>>
>>> > Hi! Muhammad,?
>>> > sdfopen?inputfile.nc?is to read one file. I would
>>> like to know how to read
>>> > all the files using 'templates'.
>>> >
>>> >
>>> > Thanks,
>>> > Subash
>>> >
>>> > On Sun, Feb 6, 2011 at 9:50 PM, Muhammad Rahiz
>>> > <muhammad.rahiz at ouce.ox.ac.uk>
>>> wrote:
>>> >
>>> >? ? ???sdfopen inputfile.nc
>>> >
>>> >
>>> >
>>> >? ? ???Muhammad Rahiz
>>> >? ? ???Researcher & DPhil
>>> Candidate (Climate Systems & Policy)
>>> >? ? ???School of Geography
>>> & the Environment
>>> >? ? ???University of Oxford
>>> >
>>> > On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>> >
>>> > > Hi! All,
>>> > > I have 1 year 3B42 3hr TRMM data in NetCDF
>>> format. My question is
>>> > how to
>>> > > write the template file to read all the data is
>>> GrADS.
>>> > >
>>> > >
>>> > > Thanks & Regards,
>>> > > Subash
>>> > >
>>> > >
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>> >
>>> >
>>> >
>>> >
>>> -----Inline Attachment Follows-----
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Mon, 7 Feb 2011 10:38:56 +0530
>> From: Subash Yeggina <subash.yeggina at gmail.com>
>> Subject: Re: [gradsusr] Templates for TRMM data
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> ? ? ? ?<AANLkTimFFMMeLtT5Oh9JAY_xQg8p6GsAkFkUVMD+dfhf at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Thanks a lot Rahiz. ?That would do .. It is still wandering in me if at all
>> I can use templates to create a .ctl(descriptor file) to access all the
>> files.(http://www.iges.org/grads/gadoc/templates.html).
>>
>>
>> Thanks,
>> Subash
>>
>> On Mon, Feb 7, 2011 at 2:42 AM, Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk
>>> wrote:
>>
>>> The following code would allow you to open multiple files but you need to
>>> make a list of files you want to open as *.txt (e.g. inputfiles.txt)
>>>
>>> n = 10 ? ? ? ? ?# where n is the total number of files in inputfiles.txt
>>> m = 1
>>> while(m< n+1)
>>> ?ifile = 'inputfiles.txt'
>>> ?rec = read(ifile)
>>>
>>> ?IO = sublin(rec,1)
>>> ?if(IO = 1)
>>> ? say ifile' > File open error'
>>> ?endif
>>> ?if (IO = 0)
>>> ? a = subwrd(rec,2)
>>> ?endif
>>>
>>> 'sdfopen 'a''
>>> say ''a''
>>> 'quit'
>>> m = m +1
>>> endwhile
>>>
>>>
>>> If you're using GrADS in Linux/Unix environment, the following would work
>>> as well;
>>>
>>> #!/bin/bash
>>>
>>> for i in $(ls *.nc); do
>>>
>>> cat > grads.gs << EOF
>>> 'sdfopen $i'
>>> say '$i'
>>> 'quit'
>>> EOF
>>> grads -blc 'run grads.gs'
>>>
>>> done
>>>
>>>
>>> HTH,
>>> ---
>>>
>>> Muhammad Rahiz
>>> Researcher & DPhil Candidate (Climate Systems & Policy)
>>> School of Geography & the Environment
>>> University of Oxford
>>>
>>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>>
>>> ?Hi! Muhammad,
>>>> sdfopen inputfile.nc is to read one file. I would like to know how to
>>>> read
>>>> all the files using 'templates'.
>>>>
>>>>
>>>> Thanks,
>>>> Subash
>>>>
>>>> On Sun, Feb 6, 2011 at 9:50 PM, Muhammad Rahiz
>>>> <muhammad.rahiz at ouce.ox.ac.uk> wrote:
>>>>
>>>> ? ? ?sdfopen inputfile.nc
>>>>
>>>>
>>>>
>>>> ? ? ?Muhammad Rahiz
>>>> ? ? ?Researcher & DPhil Candidate (Climate Systems & Policy)
>>>> ? ? ?School of Geography & the Environment
>>>> ? ? ?University of Oxford
>>>>
>>>> On Sun, 6 Feb 2011, Subash Yeggina wrote:
>>>>
>>>> > Hi! All,
>>>> > I have 1 year 3B42 3hr TRMM data in NetCDF format. My question is
>>>> how to
>>>> > write the template file to read all the data is GrADS.
>>>> >
>>>> >
>>>> > Thanks & Regards,
>>>> > Subash
>>>> >
>>>> >
>>>> _______________________________________________
>>>> 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
>>>
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110207/fae8f742/attachment.html
>>
>> ------------------------------
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>> End of gradsusr Digest, Vol 12, Issue 5
>> ***************************************
>>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 7 Feb 2011 13:15:09 +0500 (PKT)
> From: phd0802 at pieas.edu.pk
> Subject: [gradsusr] Plotting NCEP data in Grib format using GrADS
> To: gradsusr at gradsusr.org
> Message-ID:
>        <7467d0efb1bb94ccfbc089e31a8e9812.squirrel at pieas-mail.pieas.edu.pk>
> Content-Type: text/plain;charset=iso-8859-1
>
> Hi! All users,
>
> Can anyone help me for plotting the NCEP/Reanalysis data which is in Grib
> format using GrADS. If any one has GrADS discriptor file for dealing with
> Grib1 or Grib2 format. plz send me for my help. Thanks in advance.
>
> Sardar
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 7 Feb 2011 02:28:26 -0600
> From: "SMITH, JONATHAN WYNN. (GSFC-6133)" <jonathan.smith at nasa.gov>
> Subject: [gradsusr] vertical profile in text file
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>        <1E8644A2BCBD5E4A9967E1E00D5D4C730101AF92C438 at NDMSSCC05.ndc.nasa.gov>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I have been trying for the longest to plot a simple xy  graph in grads.  These graphs will end up being vertical profile of ozone that  I  overlay on top of wrf vertical profiles made with the .ctl and .dat files.  My failed attempt at the xy plot is below:
>
> * B Vs -VTL
> "reinit"
> read ("/Users/jonathanwsmith/Desktop/test_o3.txt")
>
> "clear"
>
> "set ccolor 1 1"
>
> "set cstyle 1 1"
>
> "set cmark 2 2"
>
> "set vrange 0 225"
>
> "draw title Test sounding"
>
> "printim /Users/jonathanwsmith/Desktop/ozone_test.gif"
>
>
> Thanks,
> Jonathan
>
>
>
> Jonathan Wynn Smith
> Student Trainee
> jonathan.smith at nasa.gov
> NASA/Goddard Space Flight Center
> Code 613.3 - Atmospheric Chemistry and Dynamics Branch
> Greenbelt, MD 20771
> 301-614-5956
>
> Doctoral Candidate
> jw_smith at howard.edu
> Howard University Program in Atmospheric Sciences
> Washington, DC 20059
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 7 Feb 2011 01:47:27 -0800 (PST)
> From: namrata rajput <namrata_rajput47 at yahoo.com>
> Subject: [gradsusr] skew t plots
> To: gradsusr at gradsusr.org
> Message-ID: <420950.25777.qm at web162007.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello
> ???? I want to know that is skew t can be plot in grads? if yes then how? i want to know the values of CAPE, CIN, LCL, dewpoint,etc.. using the values of temperature, pressure, mixing ratio, so if you have any idea please guide me
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110207/91dbdb99/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Mon, 7 Feb 2011 12:26:04 +0000 (GMT)
> From: Ismaila Diallo <ismailadiallo64 at yahoo.fr>
> Subject: [gradsusr] plot pentad for one yard
> To: gradsusr at gradsusr.org
> Cc: gradsusr-request at gradsusr.org
> Message-ID: <270793.80527.qm at web29603.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Dear Grads User,
> I've one year daily data and i want to plot the seasonal cycle for 73 pentads
> for this years.
> How must i do it with grads???
>
> Sincerely
> ismaila
>
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 7 Feb 2011 13:46:59 +0100
> From: Jofre Janu? <jjanue at hotmail.com>
> Subject: [gradsusr] Synoptic maps
> To: <gradsusr at gradsusr.org>
> Message-ID: <COL106-DS2F3FE09E4273CC3EBD7DAD0EB0 at phx.gbl>
> Content-Type: text/plain; format=flowed; charset="utf-8";
>        reply-type=original
>
> It?s possible with grads to draw in the synopics maps the cold and warm
> fronts and de high and low pressure simbols automatically ?
>
> -----Mensaje original-----
> From: gradsusr-request at gradsusr.org
> Sent: Saturday, February 05, 2011 6:14 PM
> To: gradsusr at gradsusr.org
> Subject: gradsusr Digest, Vol 12, Issue 4
>
> Send gradsusr mailing list submissions to
> gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
> gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
> gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
>   1. printing binary data to ascii (Zilore Mumba)
>   2. Re: printing binary data to ascii (Muhammad Rahiz)
>   3. Re: cool question about ccols and clevs (Ruben G. C)
>   4. total for every 5 or 10 days over one year period (Ismaila Diallo)
>   5. total for every 5 or 10 days over one year period (Ismaila Diallo)
>   6. Sprintf to write binary to ascii (Zilore Mumba)
>   7. Re: total for every 5 or 10 days over one year period
>      (Muhammad Rahiz)
>   8. Re: Sprintf to write binary to ascii (Muhammad Rahiz)
>   9. trmm (SREEKANTH T.S)
>  10. Re: trmm (Muhammad Rahiz)
>  11. hi (subba reddy)
>  12. Re: hi (Muhammad Rahiz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 4 Feb 2011 15:11:00 +0200
> From: Zilore Mumba <zmumba at gmail.com>
> Subject: [gradsusr] printing binary data to ascii
> To: gradsusr at gradsusr.org
> Message-ID:
> <AANLkTimsfNbKtze3j8JkFLWZh7ZJWLi=q7x9=B1R_oUt at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Grads users,
> I tohught there was a "sprintf" command to write binary data to ascii,
> or is it writing NetCDF to ascii. Help would be appreciated
> Zilore
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 4 Feb 2011 17:06:06 +0000 (GMT)
> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
> Subject: Re: [gradsusr] printing binary data to ascii
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <alpine.LRH.2.00.1102041705120.12477 at norway.ouce.ox.ac.uk>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Not sure about sprintf but there is a fprintf command via script to print
> to ascii.
>
> See
> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Fri, 4 Feb 2011, Zilore Mumba wrote:
>
>> Hello Grads users,
>> I tohught there was a "sprintf" command to write binary data to ascii,
>> or is it writing NetCDF to ascii. Help would be appreciated
>> Zilore
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 4 Feb 2011 11:51:45 -0600
> From: "Ruben G. C" <rubensinho at gmail.com>
> Subject: Re: [gradsusr] cool question about ccols and clevs
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <AANLkTikFDHowsDW1uoxv-muP1yJnXWw=5PjwTF2K6Of5 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks!. It's really works :)
>
>
>
> On Wed, Feb 2, 2011 at 8:08 PM, Jeffrey Duda <jdduda at iastate.edu> wrote:
>
>> Ruben,
>> If you upgrade to the newest version of Grads, you can create color
>> numbers
>> up to 255, so you can make up to about 240 of your own colors.  You could
>> span values of 1 to 5 using a contour interval of 0.02 with that many
>> colors.
>>
>> Jeff Duda
>>
>> On Wed, Feb 2, 2011 at 7:05 PM, Ruben G. C <rubensinho at gmail.com> wrote:
>>
>>>
>>> Dear all,
>>> I'm plotting a lot of shaded maps . The range value of the maps  are
>>> between 1 and 5 whit an 0.01 contour interval. The issue is that I want
>>> to
>>> fill the maps using the same color,  but I can't use the ccols and cvals
>>> commands (just like that) because I would need about 300 different
>>> values!!!!  even  defining a new color, the range allow by GrADS it's
>>> only
>>> 16-99. It is really important mantain the contour interval in 0.01 ( or
>>> very
>>> small) because I'm studing certains patterns of rain.
>>> Any idea would be great
>>> Regards.
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Iowa State University
>> Meteorology Graduate Student
>> 3134 Agronomy Hall
>> www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
>>
>> _______________________________________________
>> 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/20110204/294959ab/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Sat, 5 Feb 2011 09:45:59 +0000 (GMT)
> From: Ismaila Diallo <ismailadiallo64 at yahoo.fr>
> Subject: [gradsusr] total for every 5 or 10 days over one year period
> To: gradsusr at gradsusr.org
> Cc: gradsusr at gradsusr.org
> Message-ID: <792673.46614.qm at web29610.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Dear Grads User,
>
> I've one year daily data in netcdf format. I want to plot the 5 days or 10
> days
> total of rainfall for all this year but since last week i met many difficult
> to
> do it. is it a way to do it with grads??? so Could someone teach me how must
> i
> do it or send me a program which can do it in grads.
>
> all comment are welcome then
>
> Sincerely
> Ismaila diallo
>
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 5 Feb 2011 09:45:59 +0000 (GMT)
> From: Ismaila Diallo <ismailadiallo64 at yahoo.fr>
> Subject: [gradsusr] total for every 5 or 10 days over one year period
> To: gradsusr at gradsusr.org
> Cc: gradsusr at gradsusr.org
> Message-ID: <792673.46614.qm at web29610.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Dear Grads User,
>
> I've one year daily data in netcdf format. I want to plot the 5 days or 10
> days
> total of rainfall for all this year but since last week i met many difficult
> to
> do it. is it a way to do it with grads??? so Could someone teach me how must
> i
> do it or send me a program which can do it in grads.
>
> all comment are welcome then
>
> Sincerely
> Ismaila diallo
>
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 5 Feb 2011 13:31:45 +0200
> From: Zilore Mumba <zmumba at gmail.com>
> Subject: [gradsusr] Sprintf to write binary to ascii
> To: gradsusr at gradsusr.org
> Message-ID:
> <AANLkTinq2Tr=vt7yiq71u+w310-zcvQnSyuero_upq6E at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Grads users,
> I tohught there was a command like "sprintf" to write binary data in
> grads to ascii.
> Help will be appreciated
> Zilore
>
>
> ------------------------------
>
> Message: 7
> Date: Sat, 5 Feb 2011 13:30:45 +0000 (GMT)
> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
> Subject: Re: [gradsusr] total for every 5 or 10 days over one year
> period
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <alpine.LRH.2.00.1102051328030.25194 at norway.ouce.ox.ac.uk>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Ismaila,
>
> Not clear with your question. Which 5/10 days do you want? i.e.
> do you want the total of 1-5 Jan, 1-5 Feb, 1-5 Mar etc? or
> do you want the a running total of every 5 days e.g. 1-5Jan,6-10Jan,...?
>
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Sat, 5 Feb 2011, Ismaila Diallo wrote:
>
>> Dear Grads User,
>>
>> I've one year daily data in netcdf format. I want to plot the 5 days or 10
>> days
>> total of rainfall for all this year but since last week i met many
>> difficult to
>> do it. is it a way to do it with grads??? so Could someone teach me how
>> must i
>> do it or send me a program which can do it in grads.
>>
>> all comment are welcome then
>>
>> Sincerely
>> Ismaila diallo
>>
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>
>
> ------------------------------
>
> Message: 8
> Date: Sat, 5 Feb 2011 13:32:25 +0000 (GMT)
> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
> Subject: Re: [gradsusr] Sprintf to write binary to ascii
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <alpine.LRH.2.00.1102051331320.25194 at norway.ouce.ox.ac.uk>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Does fprintf as in my previous reply not work?
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Sat, 5 Feb 2011, Zilore Mumba wrote:
>
>> Hello Grads users,
>> I tohught there was a command like "sprintf" to write binary data in
>> grads to ascii.
>> Help will be appreciated
>> Zilore
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>
>
> ------------------------------
>
> Message: 9
> Date: Sat, 5 Feb 2011 22:40:12 +0530
> From: "SREEKANTH T.S" <chlsreeekanth at gmail.com>
> Subject: [gradsusr] trmm
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <AANLkTinkbXfLYqS93zxbD_jwGHJnboKyeYJM1OsEvZyd at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> dear grads users
> i have downloaded 3 hourly trmm data.
> 1.i want to plot hourly variation of rain rate at a particular lat lon for
> each day.
> 2. also wanted to plot the daily variation of rain rate for an area.
> but i dont know how to write the .ctl file
> being a beginer can anyone help me, please?
>
> sreekanth T S
> doctorate student
> cess, kerala
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20110205/9409cbbe/attachment-0001.html
>
> ------------------------------
>
> Message: 10
> Date: Sat, 5 Feb 2011 17:45:54 +0000 (GMT)
> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
> Subject: Re: [gradsusr] trmm
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <alpine.LRH.2.00.1102051734130.25194 at norway.ouce.ox.ac.uk>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> 1. Need to provide the format of your TRMM data e.g. netcdf, grib, ctl.
> 2. Are you using a 360 day calendar?
>
> Other comments in the body of original message (not tested).
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Sat, 5 Feb 2011, SREEKANTH T.S wrote:
>
>> dear grads users
>> i have downloaded 3 hourly trmm data.
>> 1.i want to plot hourly variation of rain rate at a particular lat lon for
>> each day.
>
> Your data is 3 hourly - this means that you can only have 8 time steps in
> a day and not 24 timesteps. You can try the following which gives you the
> plot (time series) of one day.
>
> 'set t 1 8' * 8 timesteps = 1 day given your 3hourly data
> 'set lon 60'
> 'set lat 40'
> 'd var'
>
>> 2. also wanted to plot the daily variation of rain rate for an area.
>> but i dont know how to write the .ctl file
>> being a beginer can anyone help me, please?
>
> Not sure what you mean by writing a ctl file. You dont need to write a ctl
> file to plot in GrADS.
>
> 'set lon 60 100'
> 'set lat 20 40'
>
> 'd ave(variable,t=1,t=8)'  * this is for day 1
> 'printim day1.png white'
>
> 'd ave(variable,t=9,t=16)' * this is for day 2
> 'printim day2.png white'
>
>
>> sreekanth T S
>> doctorate student
>> cess, kerala
>>
>>
>
>
> ------------------------------
>
> Message: 11
> Date: Sun, 6 Feb 2011 02:26:03 +0530
> From: subba reddy <subbabonthu at gmail.com>
> Subject: [gradsusr] hi
> To: gradsusr at gradsusr.org
> Message-ID:
> <AANLkTint400=7qRif3i6+A3qgsfmDBkMODdXON4c3+BL at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi
> i have to plot multible figures. is there any command to change number
> to string in the grads to keep in the loop. plase help me
> --
> SubbaReddy Bonthu
> Research Scholar
> Dept. of Ocean Engg. & Naval Architecture
> IIT Kharagpur - 721302
>
>
> ------------------------------
>
> Message: 12
> Date: Sat, 5 Feb 2011 21:24:02 +0000 (GMT)
> From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
> Subject: Re: [gradsusr] hi
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <alpine.LFD.2.00.1102052123360.5119 at localhost6.localdomain6>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Question not clear. What have you done so far?
>
> --
> Muhammad Rahiz
> Researcher & DPhil Candidate (Climate Systems & Policy)
> School of Geography & the Environment
> University of Oxford
>
> On Sat, 5 Feb 2011, subba reddy wrote:
>
>> Hi
>> i have to plot multible figures. is there any command to change number
>> to string in the grads to keep in the loop. plase help me
>> --
>> SubbaReddy Bonthu
>> Research Scholar
>> Dept. of Ocean Engg. & Naval Architecture
>> IIT Kharagpur - 721302
>> _______________________________________________
>> 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
>
>
> End of gradsusr Digest, Vol 12, Issue 4
> ***************************************
>
>
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 12, Issue 6
> ***************************************
>




More information about the gradsusr mailing list