Contour plots (XZ or YZ) with stretched vertical coordinate

From: Dr. Katharine Kanak (kkanak@XXXXXX)
Date: Tue Jun 01 2004 - 11:29:20 MDT

  • Next message: Huiting Mao: "maptrp.f and mapchi.f"

    > I have a 3D numerical model for atmospheric boundary layer simulation.
    > The horizontal coordinates are linear and have 370 points in the x and
    > y directions with a dz = dy = 2 m. I use a vertically stretched
    > vertical coordinate, so that the grid spacing is smallest near the
    > surface. For example, I use 84 total vertical gridpoints. The
    > vertical coordinate, z, goes from:
    >
    > k z (m)
    > ___________
    > 1 2.500
    > 2 7.669
    > 3 13.065
    > 4 18.686
    > 5 24.532
    > .
    > .
    > .
    >
    > 82 1152.854
    > 83 1176.314
    > 84 1200.000
    > ____________
    >
    > I use both conrec (I know it's obsolete - but for B&W plots) and
    > conpack (for color plots). My 3D data arrays are dimensioned as, real
    > un(84,370,370). Then I take a 2D slice and plot at some given j index
    > to obtain an XZ contour plot.
    >
    > Is there a way to plot the stretched coordinate in an XZ contour plot
    > (x linear, z stretched) directly? I have previously been interpolating
    > the vertical data to a linear coordinate before invoking NCARgraphics.
    >
    > I would be most grateful for any help you can give me on this issue.
    >

    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Wed Jun 02 2004 - 14:27:37 MDT