Re: Plotting grid on map without long-lat coordinates

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Tue Oct 08 2002 - 08:48:41 MDT

  • Next message: Heiko Klein: "Re: Plotting grid on map without long-lat coordinates"

    Heiko,

    i am not sure i entirely understand your entire problem. Do you have
    gridded data on a native stereographic projection in which the lat/lon
    information is in the form of 2D arrays?

    What do you mean that you want to plot WITHOUT lat/lon information?

    if the former is true, there there are special techniques for plotting
    gridded data that is already on a native projection:

    http://www.cgd.ucar.edu/csm/support/CSM_Graphics/native.shtml
    this web page contains examples of several types of native projections.
    In particular, for a native stereographic projection, these are the
    resources that need to be set:

    res@mpProjection = "Stereographic" ; projection

     res@mpLimitMode = "Corners" ; method to zoom
     res@mpLeftCornerLatF = lat(0,0)
     res@mpLeftCornerLonF = lon(0,0)
     res@mpRightCornerLatF = lat(293-1,343-1)
     res@mpRightCornerLonF = lon(293-1,343-1)

     res@mpRelativeCenterLon = True ; set a center lon
     res@mpCenterLonF = lon(147,172) ; center lon
     res@mpRelativeCenterLat = True ; set a center lat
     res@mpCenterLatF = 90. ; center lat
     res@tfDoNDCOverlay = True ; do not transform data

    note that with any native grid, you use the mpLimitMode=Corner rather than
    mpLimiteMode="LatLon", which is what happens in gsn_csm_contour_map_ce
    behind the scenes.

    If this technique is not what you are after, please let me know.

    cheers,

    sylvia

    ******************************************************
    Sylvia Murphy EML: murphys AT ucar.edu
    NCAR CGD/CAS PHN: 303-497-1720
    1850 Table Mesa Dr FAX: 303-497-1333
    Boulder, CO 80305

    WEB: http://www.cgd.ucar.edu/csm/support/
         http://www.cgd.ucar.edu/csm/support/CSM_Graphics/

    ******************************************************

    _______________________________________________
    ncl-talk mailing list
    ncl-talk AT ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Tue Oct 08 2002 - 11:24:09 MDT