>Are there any utilities/examples available in NCL for plotting model
>outputs (in netCDF format) that have variable-grid resolutions?
>
>For e.g., coarse resolution at the outer edges and finer as we go towards
>an urban area
>
>Would much appreciate any pointers that NCL users may be able to provide.
dI assume you have two-dimensional lat/lon arrays.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
f = addfile ("...nc", "r")
LAT = f->lat ; 2d
LON = f->lon ; 2d
x = f->whatever
x@lat2d = LAT ; lat2d is 'sprecial' attribute to graphics
x@lon2d = LON ; lon2d
wks = gsn_open_wks("ps","demo")
res = True
;res@gsnAddCyclic = True ; don't know your data
plot = gsn_csm_contour_map_ce(wks,x,res) ; x is 2d
or
do nt=0,...
plot = gsn_csm_contour_map_ce(wks,x(nt,:,:),res)
end do
or
...
end
Examples
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/popscal.shtml
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/wrf.shtml
good luck
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Wed Feb 16 2005 - 14:20:29 MST