[ncl-talk] gsn_csm_pres_hgt

Mary Haley haley at ucar.edu
Wed May 16 09:29:51 MDT 2018


FYI: Laura figured this one out on her own.

She was drawing the blocky plot using raster contours (res at cnFillMode =
"RasterFill") .  If she commented this out, then "AreaFill" became the
default, and this gives you smoother contours.

--Mary


On Mon, May 14, 2018 at 5:40 PM, Laura Fowler <laura at ucar.edu> wrote:

> Hello:
>
> I would like to plot latitude versus pressure cross-sections from my
> MPAS outputs (the resolution of my MPAS mesh is about 30 km). The
> first thing that I did was to use the function
> ESMF_regrid_with_weights to regrid each output  to a 0.25 deg x 0.25
> deg horizontal resolution (720x1440) for each vertical level. Then, I
> used the function dim_avg_n_Wrap to calculate the zonal mean prior to
> using gsn_csm_pres_hgt.
>
> The plot "ZonalMeanTemperature.pdf" show the latitude versus pressure
> cross-sections which looks really boxy. In contrast, a 500 hPa map
> does not show the same boxiness with res at gsnZonalMean = True (see
> Temperature_500hPa.pdf). Other levels do not show any "boxiness"
> either.
>
> I assume that the "boxiness" in ZonalMeanTemperature.pdf results
> because I do not weigh the zonal means as a function of the area, but
> not sure, since I simply use dim_avg_n_Wrap.
>
> How can I reduce the boxiness of the pressure versus latitude
> cross-sections. Is there a "correction" of the zonal mean built in the
> function gsnZonalMean? Is there an ncl function that I can apply to
> the zonal mean to help reduce the step change in the temperature as a
> function of the latitude? Or is there an other gsn_csm_pres_hgt that
> includes a weighting function?
>
>
>
> Thanks,
> Laura
>
>
>
>
>
>
> --
> !-----------------------------------------------------------
> --------------------------------------------------
> Laura D. Fowler
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
>
> e-mail: laura at ucar.edu
> phone: 303-497-1628
>
> !-----------------------------------------------------------
> --------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180516/8ebdeeae/attachment.html>


More information about the ncl-talk mailing list