<div>Hi all,</div><div><br></div><div>I am just trying to have a map that shows daily precipitation over Argentina and also have some red circles to indicate a few station locations. Below I have the script I have been using with only one station for the draw mark command but I will be doing this for multiple stations. I did this for a map over North America and everything worked fine. Now trying for argentina I keep getting a syntax error for the line: 'q w2xy 'lon1'<span style="white-space:pre-wrap"> 'lat1 . As I said this worked fine for North America when I tried so not sure if this is something to do with the negative latitude now.</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Thank you for any help you can provide,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Kyle</span></div>
<div><br></div><div><br></div><div>'open ArgentinaPrecip.ctl'</div><div>*</div><div>'set display color white'</div>
<div>'c'</div><div>*</div><div>'set grads off'</div><div>'set gxout shaded'</div><div>'set csmooth on'</div>
<div>'set mpdset hires'</div><div>*</div>
<div>'set cmin 0.01'</div><div>'d apcpsfc'</div><div>*</div><div>'draw title Daily Accumulated Precipitation (mm)'</div><div>*</div><div>'set line 2'</div><div>*</div><div>style=3</div><div>
size=0.03</div><div>*</div><div>*Introduces world Coordinates</div><div>lon1 =292</div><div>lat1 =-35</div><div>*Converts world coords to XY coords it will be recalculated each time the map changes<span style="white-space:pre-wrap">        </span></div>
<div>'q w2xy 'lon1'<span style="white-space:pre-wrap"> 'lat1</span></div><div>say result<span style="white-space:pre-wrap">        </span></div><div>*Loads the XY coords in x1 and y1<span style="white-space:pre-wrap">        </span></div>
<div>x1 = subwrd(result,3)<span style="white-space:pre-wrap">        </span></div><div>y1 = subwrd(result,6)<span style="white-space:pre-wrap">        </span></div><div>*Draws a marker at x1 y1 position with selected size<span style="white-space:pre-wrap">        </span></div>
<div>'draw mark 'style' 'x1' 'y1' 'size<span style="white-space:pre-wrap">        </span></div><div>*</div><div><br></div>