map contour lat/long labels

From: Nick Guy <nick.guy_at_nyahnyahspammersnyahnyah>
Date: Mon May 06 2013 - 09:57:36 MDT

Hi all,

I am contouring data onto a cylindrical map projection using the gun_csm_contour_map_ce function. I would like to adjust the the lat and lon labels to tenths of a degree, but it seems that only whole numbers are allowed (e.g. mpGridLatSpacingF)? Is there a way to label sub-degree?
My 'dBZ' data has coordinate variables with units "degrees_north" and "degrees_east" for lat and lon, respectively.
My plotting code is below.
    resHor@gsnLeftString=mms+"/"+dds+"/"+yys ; Make own label
    resHor@gsnLeftStringFontHeightF=.023 ; Shrink the font size
    resHor@gsnRightString=t_start+"-"+t_end+" UTC" ; Make own label
    resHor@gsnRightStringFontHeightF=.023 ;Shrink the font size
    resHor@gsnSpreadColors=False ; True=Use the full range of colormap

    resHor@cnFillOn=True ; Turn on color
    resHor@cnLinesOn=False ; Turn off contour lines
    resHor@cnLineLabelsOn=False ; Turn off line labels
    resHor@cnInfoLabelOn=False ; Turn of contour label info
    resHor@cnLevelSelectionMode="ExplicitLevels" ; User defined levels
    resHor@cnLevels=clevs_dBZ ; Set contour levels

    resHor@lbLabelBarOn=False ; Turn off label bar and plot just 1 for panel
    resHor@mpGridLonSpacingF=1. ; Can't get less than 1 degree??


Nick Guy, Ph.D.
NOAA National Severe Storms Laboratory
120 David L. Boren Blvd.
Norman, OK 73072

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon May 6 09:57:48 2013

This archive was generated by hypermail 2.1.8 : Tue May 07 2013 - 08:38:33 MDT