lambert conformal plot question

From: jerry (jerry AT cwb.gov.tw)
Date: Mon Sep 19 2005 - 21:19:29 MDT

  • Next message: Saji Hameed: "Re: gsnYRefLine and gsn_csm_xy2"

    hi

     I use the same dataset to plot the Lambert Conformal(maskd) and Lambert Conformal(native)
    See attach file(native.gif and mask.gif)
    The plot "native.gif " is correct but when i plot "mask.gif" will get the warning message bellow
    (0) mask_lambert_conformal : warning : you are using a projection other
    (0) than LambertConformal. Unexpected result will likely occur.

    and you can see the plot "mask.gif" contour is a little shift to right side
    below is the scripts :
     begin

      f = addfile("mm5.nc","r")
      t = f->t(0,0,:,:)
      wks = gsn_open_wks("ps","mask")
      gsn_define_colormap(wks,"gui_default")

      res = True
      res@mpGridAndLimbOn = True
      res@mpGridLatSpacingF = 3.
      res@mpGridLonSpacingF = 4.

      res@mpProjection = "LambertConformal"
      res@gsnMaximize = True
      res@mpMinLatF = f@lat00
      res@mpMinLonF = f@lon00
      res@mpMaxLatF = f@latNxNy
      res@mpMaxLonF = f@lonNxNy
       
      res@cnFillOn = True
      res@gsnAddCyclic = False
       i = NhlNewColor(wks,0.8,0.8,0.8)
      res@gsnSpreadColors = True
      res@gsnSpreadColorStart = 4
      res@gsnSpreadColorEnd = -2

      res@tfDoNDCOverlay = True
      res@gsnMaskLambertConformal = True
                                                                                  
      plot = gsn_csm_contour_map(wks,t,res)

    end
    Thank you


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



    This archive was generated by hypermail 2b29 : Wed Sep 21 2005 - 09:17:54 MDT