[gradsusr] City plotter - Dan Leins

Dan Leins theedge981 at gmail.com
Tue Mar 13 06:25:41 EDT 2012


Dick,

I had to do a double-take when I looked at your LAT/LON. Not used to seeing
negative LAT and positive LON. Such is life in the US I suppose.

Anyway you said the program is working properly, correct? Is it possible
you have an extra line at the bottom of your cities.txt file? That may
throw off the counter. You should only get that error if you're trying to
query an empty lat/lon pair. Thus it complains you're using the wrong
syntax for that command.

Dan

On Tue, Mar 13, 2012 at 12:51 AM, Galebonwe Ramaphane <GRamaphane at gov.bw>wrote:

>  Dick,****
>
> ** **
>
> If you have several cities to plot, you could use the attached scipt. You
> also need a text file containing the world coordinates and corresponding
> names of the cities.****
>
> ** **
>
>  ****
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Stephen McMillan
> *Sent:* Monday, March 12, 2012 11:36 PM
>
> *To:* dick at wismeijer.com; GrADS Users Forum
> *Subject:* Re: [gradsusr] City plotter - Dan Leins****
>
>  ** **
>
> Dick,****
>
> ** **
>
> I believe the error is due to no values in your world-coordinate
> variables.  I get the same error you do, unless I initialize lon.start and
> lat.start with real numbers.  For example, try running it again after
> adding this line before the query line (for example):****
>
> lon.start=12.5;lat.start=45.2****
>
> ** **
>
> Good luck****
>
> Stephen Mc****
>
> On Mon, Mar 12, 2012 at 4:42 PM, D. Wismeijer <dick at wismeijer.com> wrote:*
> ***
>
> Hi Grads users****
>
>  ****
>
> The following code delivers the error message described below. Any help to
> identify the coding error would be appreciated.****
>
> Code:****
>
> 'q w2xy 'lon.start' 'lat.start****
>
> xx.start=subwrd(result,3)****
>
> yy.start=subwrd(result,6)****
>
>  ****
>
> *Mark each point with a period****
>
> *say 'This means x is 'xx.start' and y is 'yy.start****
>
> 'set string 1 c 10 0'****
>
> 'set strsiz 0.3'****
>
> 'draw string  'xx.start' 'yy.start+0.1' .'****
>
>  ****
>
> Results in:****
>
> Querry Error: Syntax is QUERRY W2XY LonLat****
>
> Non-numeric args to numeric operation****
>
>  ****
>
> Any help would be appreciated****
>
> Rgds****
>
> Dick****
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr****
>
> ** **
>
> *******************************************************
>
> The information contained in this e-mail message ****
>
> is intended only for the use of the recipient(s) ****
>
> named above and may contain information that is ****
>
> privileged, confidential, and/or proprietary. ****
>
> If you are not the intended recipient, you may not****
>
> review, copy or distribute this message. If you have****
>
> received this communication in error, please notify ****
>
> the sender immediately by e-mail, and delete the original message.****
>
> *******************************************************
>
> ** **
>
>
> _______________________________________________
> 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/20120313/4f8e66bd/attachment-0003.html 


More information about the gradsusr mailing list