Some variation
latS = 15
latN = 45.
lonL = 95.
lonR = 135.
dlat = 0.25
dlon = 0.25
nlat = floattointeger((latN-latS)/dlat + 1 )
mlon = floattointeger((lonR-lonL)/dlon + 1 )
lat = fspan(latS,latN,nlat)
lon = fspan(lonL,lonR,mlon)
lat!0 = "lat"
lon!0 = "lon"
lat@units = "degrees_north"
lon@units = "degrees_east"
lat&lat = lat
lon&lon = lon
On 5/10/10 9:57 AM, Tong Qi wrote:
> Hello ncl-talk,
>
> I was wondering if there was a way to set the latitude bounds of the
> latGlobeFo function to 50N to 50S instead of its standard 90N to 90S. If
> not, is there some other way to generate latitudes and associated
> metadata for the smaller range?
>
> Thanks,
> Tong
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 10 10:04:02 2010
This archive was generated by hypermail 2.1.8 : Thu May 13 2010 - 10:03:00 MDT