[Thread Prev][Thread Next][Index]

Re: [ferret_users] How to add symbol on a map when lat and lon are known



I am sharing what I did, some other better options also may be there. What I did is, I have made loop of label command and its position was given by each lat long.
Let say you have 4000 I indices (you know it by show data) and you have LAT LONG variable in d=2 then --> 

repeat/range=1:4000/name=rr (let aa=lon[i=`rr`,d=2] ; let bb=lat[i=`rr`,d=2] ;lab `aa`,`bb`,0,0,0.03 @P4+;)

regards,
G Satyesh, India.

On Thu, Apr 8, 2021 at 11:22 AM Swetha sivakumar <swetha.s2060@xxxxxxxxx> wrote:
Hello

set region /x=77:79.4/y=9.4:11.4
shade/lev=(-inf)(-1,1,0.1)(inf)/nolab/nokey sst
plot/overlay/symbol=20  lon,lat

I am trying to plot sst and overlay it with station locations which are given in separate var lon and lat.
I get the following error

**ERROR: illegal limits: "LON[D=location]" does not exist at X=77:79.4
          Axis extremes are X=0.5:66.5
plot/overlay/symbol=20/color=blue lon[d=5],lat[d=5]
Command file, command group, or REPEAT execution aborted

Values of lon and lat do exist in the defined set region. 

TIA

Best,
swetha



--
G Satyesh


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement