Plotting Maps over the Date Line

From: Alan Brammer <abrammer_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 20 2012 - 09:15:07 MDT

Dear All,

        Possibly inline with the post from Bidyut earlier this morn (East Coast US). I quickly tried to plot a Pacific centric map. (Globe view but centered over the Pacific). Thought it was fairly simple but got some interesting results maybe I'm missing something here and doing this too simply, or maybe this has been raised before.

Very straight forward script below:

;=======================================================
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"

begin
  wks = gsn_open_wks("x11","blank_map")

 res = True

; res@mpLimitMode = "LatLon" ; Tried this on/off makes no difference
  res@mpMaxLatF = 90
  res@mpMinLatF = -90
  res@mpMaxLonF = 360 ; Anything over 180 gives same type of output
  res@mpMinLonF = 0

  plot = gsn_csm_map_ce(wks,res)

 end
;=======================================================

This fits the definition of mpMaxLonF in that "mpMaxLonF minus mpMinLonF is greater than 0.0 and less than or equal to 360.0" but does not give me a map extending from greenwich east to 360. See below.

This happens with data plotted as well: see
http://www.atmos.albany.edu/student/abrammer/ncl_plots/blank_map_w_data.png

0 to 250 same error:
http://www.atmos.albany.edu/student/abrammer/ncl_plots/blank_map.png

 

I would have expected this to come up before so apologies if its been raised numerous times. Any thoughts?

Alan.

##############################
Alan Brammer
PhD Student,

Department of Atmospheric and Environmental Sciences,
University at Albany,
State University of New York
Albany, NY, 12222

abrammer@albany.edu

##############################

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 20 09:15:41 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 20 2012 - 15:27:15 MDT