[gradsusr] gradsusr Digest, Vol 12, Issue 43
qi yuan
yyqi44 at gmail.com
Sun Feb 20 10:12:07 EST 2011
Hi,Mubashar
you should to specify the x and y of the legend, such as:
cbar_line -x 2 -y .5 -c 2 -m 0 -l 1 -t "cfs"
x, y is the position of the legend and c is the color.
Yuanyuan
2011/2/20 <gradsusr-request at gradsusr.org>
> 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: shaded plots and boundary (???)
> 2. extarct data in grads (Ismaila Diallo)
> 3. Re: 24hrs Accumulated TRMM Rainfall (Sravan)
> 4. Re: gradsusr Digest, Vol 12, Issue 42 (Mubashar Dogar)
> 5. How to draw a legend on a Time series plot (Mubashar Dogar)
> 6. Calculate WIND module with 'fprintf.gs' - (lalvarez at idemoc.com)
> 7. about the interpolation with regrid2 function problem (dyjbean)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 18 Feb 2011 13:01:32 +0800 (CST)
> From: ??? <sinsonglew at mail.bnu.edu.cn>
> Subject: Re: [gradsusr] shaded plots and boundary
> To: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Message-ID:
> <19997060.425411298005292093.JavaMail.coremail at mail.bnu.edu.cn>
> Content-Type: text/plain; charset="gbk"
>
> I got an option to deal with the problem, that is "set cterp off". When
> plot contour lines, the cterp is set to "on" defaultly, and the lines will
> be smoothed by the spline interpolation algorithm. Following are steps to
> get rid of the problem.
>
> 1) open model.ctl
>
> 2) set cterp off
>
> 3) set gxout shaded
>
> 4) display ts
>
> 5) set gxout contour
>
> 6) display ts.
>
>
>
> -----Origin email-----
> From: "Srivatsan Vijayaraghavan" <tmsvs at nus.edu.sg>
> Sent Time: Friday, February 18, 2011
> To: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Cc:
> Subject: [gradsusr] shaded plots and boundary
>
>
>
> Hi all,
>
>
>
> I have a similar problem with shaded plots. When I plot small regions or
> big regions (sample figures attached), the boundary is slightly away from
> the shaded region.
>
>
>
> How do I fix this ?
>
>
>
> Thanks,
>
>
>
> Sri
>
>
>
> From:gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
> On Behalf Of Jennifer Adams
> Sent: 15 February 2011 9:30 AM
> To: GrADS Users Forum
> Subject: Re: [gradsusr] Grads questions about contours, thanks
>
>
>
> You have to 'set csmooth on' to make the contour lines exactly match the
> shaded contours. The differences are especially noticeable with low
> resolution grids. --Jennifer
>
>
>
> jma at cola.iges.org
>
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20110218/32035a75/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 18 Feb 2011 08:41:03 +0000 (GMT)
> From: Ismaila Diallo <ismailadiallo64 at yahoo.fr>
> Subject: [gradsusr] extarct data in grads
> To: gradsusr at gradsusr.org
> Cc: gradsusr-request at gradsusr.org
> Message-ID: <352984.36183.qm at web29602.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> 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
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 18 Feb 2011 14:21:51 +0530 (IST)
> From: Sravan <sravan_sase at yahoo.in>
> Subject: Re: [gradsusr] 24hrs Accumulated TRMM Rainfall
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <215605.98363.qm at web95012.mail.in2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks Subash,
> Its?working now..
>
> Sravan
> ?
>
> ________________________________
> From: Subash Yeggina <subash.yeggina at gmail.com>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Sent: Fri, 18 February, 2011 12:20:12 AM
> Subject: Re: [gradsusr] 24hrs Accumulated TRMM Rainfall
>
>
> Hi! Sravan
>
> Another way would be to create a ".ctl" file using template. ?The contents
> of
> .ctl file is shown below..
>
> dset ^3B42.%y2%m2%d2.%h2z.bin ? ? ? ? ? ??
> title TRMM Global daily total rainfall
> undef ? ?-9999.0
> options big_endian template
> xdef 1440 linear ?0.125 ? 0.250
> ydef ?400 linear ? -49.875 ? 0.250
> zdef 1 linear 1 1
> tdef ? 9 ?linear 00z04Jan2011 3hr
> vars ?1
> r 0 99 3 hourly rain rate (mm)
> endvars
>
>
> Regards,
> Subash
>
>
> On Thu, Feb 17, 2011 at 8:04 PM, Teddy Allen <teddyallen at yahoo.com> wrote:
>
> I suppose the long method would involve opening them all up through unique
> ctl
> files?(different variable name for each file, ex: r1,r2,r3,etc...). Then in
> GrADS simply define a new variable , rTOT = r1 + r2.2 + r3.3.....?? , then
> d
> rTOT
> >
> >I am sure that there is a better or more?streamlined approach, but this
> >cavalier?method should work.
> >?
> >http://www.teddyallen.com
> >"To move quickly, go alone. To move far, go together."
> >African Proverb
> >
> >
> >
> >
> >
> ________________________________
> From: Sravan <sravan_sase at yahoo.in>
> >To: grads <gradsusr at gradsusr.org>
> >Sent: Thu, February 17, 2011 5:46:45 AM
> >Subject: [gradsusr] 24hrs Accumulated TRMM Rainfall
> >
> >
> >
> >Dear GrADS Users,
> >I want to plot 24hrs?accumulated rainfall from the following files which i
> have
> >downloaded from FTP site.
> >3B42RT.2011.01.14.00z.bin
> >3B42RT.2011.01.14.03z.bin
> >3B42RT.2011.01.14.06z.bin
> >3B42RT.2011.01.14.09z.bin
> >3B42RT.2011.01.14.12z.bin
> >3B42RT.2011.01.14.15z.bin
> >3B42RT.2011.01.14.18z.bin
> >3B42RT.2011.01.14.21z.bin
> >3B42RT.2011.01.15.00z.bin
> >
> >
> >Provided 3B42RT.CTLdset 3B42RT.2011.01.14.00z.bin
> >options byteswapped
> >title Three Hourly TRMM and Other Satellite Rainfall (3B42RT)
> >undef -99999.0
> >xdef 1440 linear 0.12500000 0.25000000
> >ydef 480 linear -59.8750000 0.25000000
> >zdef 1 levels 1000
> >tdef?9 inear 00:00Z14jan2011 3hr
> >* end_time 12:00Z16feb2011 (this_is_comment_line)
> >vars 1
> >r 0 99 Hourly Rainfall (mm)
> >endvars ?
> >What can be done to find out 24hrs accumulated rainfall?
> >?
> >Hope for the best reply.
> >?
> >Regards
> >Sravan
> >
> >
> >_______________________________________________
> >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/20110218/44cb97f6/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Sun, 20 Feb 2011 13:38:32 +0300
> From: Mubashar Dogar <mubashardogar at gmail.com>
> Subject: Re: [gradsusr] gradsusr Digest, Vol 12, Issue 42
> To: gradsusr at gradsusr.org
> Message-ID:
> <AANLkTinFooOtmE8NG9PjVvgDAWx5S99xzVrLxBdMF9hV at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Grads Users,
>
> Could you please guide me how to draw legends on a time series plot.
> Actually I was using 'cbar_line.gs' script but it is not giving me the
> same
> results as per specified mark and line style. I think there is option of '
> legend.gs' script but GrADS is not recognizing it as a function. Any
> suggestion or help will be welcoming.
>
> Thanks,
>
> Mubashar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20110220/1ad1cd7d/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Sun, 20 Feb 2011 13:39:47 +0300
> From: Mubashar Dogar <mubashardogar at gmail.com>
> Subject: [gradsusr] How to draw a legend on a Time series plot
> To: gradsusr at gradsusr.org
> Message-ID:
> <AANLkTikdLrS15xi0PyPyKDLC7syOicRRNVLrXxmj5b+3 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> > Dear Grads Users,
> >
> > Could you please guide me how to draw legends on a time series plot.
> > Actually I was using 'cbar_line.gs' script but it is not giving me the
> > same results as per specified mark and line style. I think there is
> option
> > of 'legend.gs' script but GrADS is not recognizing it as a function. Any
> > suggestion or help will be welcoming.
> >
> > Thanks,
> >
> > Mubashar
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20110220/d8f370eb/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Sun, 20 Feb 2011 13:37:25 +0000
> From: "lalvarez at idemoc.com" <lalvarez at idemoc.com>
> Subject: [gradsusr] Calculate WIND module with 'fprintf.gs' -
> To: gradsusr at gradsusr.org
> Message-ID: <4D611915.7070504 at idemoc.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi GrADS_users,
>
> I need to know how to calculate wind module with program 'fprintf.gs'
>
> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file
>
> Cheers,
>
> Leopoldo Alvarez
> IDEMOC
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 20 Feb 2011 22:57:37 +0800
> From: "dyjbean" <dyjbean at gmail.com>
> Subject: [gradsusr] about the interpolation with regrid2 function
> problem
> To: "gradsusr" <gradsusr at gradsusr.org>
> Message-ID: <201102202257334100639 at gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
>
> Hi,all
> i wondering how I can use grads to regrid a 2.5*2.5 resolution data to a
> finer resolution data such as 0.375*0.375 resolutiong.
> I try to use regrid2:
> ga-> define t2m=regrid2(tmp2m,0.375,0.375)
> the output grid is UNIFORM lat/lon:
> dx = 0.38 deg and dy = 0.38 deg
> # points in i(lon) = 960 # points j(lat) = 481
> lon extent = 0.00 to 359.63 lat extend = -90.00 to 90.00
> regrid method is: box averaging
> Warning: ieee_invalid is signaling
> Warning: ieee_inexact is signaling
> FORTRAN STOP
> Error from regrid2: Invalid transfer file format
> File name: udf.regrid.gfo
> Operation Error: Error from regrid2 function
> Error ocurred at column 1
> DEFINE error: Invalid expression.
>
> Any suggestion or help for the above problem will be welcoming.
>
> thanks
>
> dou youjun
> 2011-02-20
>
>
>
> dyjbean
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20110220/b510b280/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 12, Issue 43
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110220/2ae8f643/attachment-0003.html
More information about the gradsusr
mailing list