[ncl-talk] country border westerly shifted

lslrsgis at whu.edu.cn lslrsgis at whu.edu.cn
Mon May 13 00:41:30 MDT 2019


Thanks Rick,

Yes, you are right-:) Now it works!

LSL



 
From: Rick Brownrigg
Date: 2019-05-10 23:51
To: LSL; Ncl-talk
Subject: Re: [ncl-talk] country border westerly shifted
I'm not sure this is correct, but at least the data seem to align better along the eastern shoreline (although it looks like the categorization is off by one).

The examples page for lambert conformal on a native grid advises these settings:
    
  res at mpLimitMode         = "Corners"           ;;;; not "LatLon"  
  ndimsLatLon = dimsizes(lat)   ;; should be 62 x 91  (lat x lojn)
  res at mpLeftCornerLatF  = lat(ndimsLatLon(0)-1, 0)    ;;;; not min(lat)
  res at mpLeftCornerLonF  = lon(ndimsLatLon(0)-1, 0)   ;;;;min(lon)
  res at mpRightCornerLatF = lat(0, ndimsLatLon(1)-1)   ;;;;max(lat)
  res at mpRightCornerLonF = lon(0, ndimsLatLon(1)-1)   ;;;;;max(lon)

Check out the examples page at:

  http://ncl.ucar.edu/Applications/lcnative.shtml

I hope that helps...
Rick

On Thu, May 9, 2019 at 8:28 PM LSL <lslrsgis at whu.edu.cn> wrote:
Thanks Rick,
The data and script are attached.
Siliang
On 2019/5/10 上午12:09, Rick Brownrigg wrote:
Hi,

Are you able to send me your data?  You can send it directly to me, of if it is too large, perhaps post it to our ftp site:

    http://ncl.ucar.edu/ftp_files.shtml

Rick

On Thu, May 9, 2019 at 2:36 AM LSL <lslrsgis at whu.edu.cn> wrote:
Dear NCL Community,

I am writing for a question on country borders. It seems that the land/sea, country borders were shifted westerly, not correct, strange!

The script and plot are attached. Any help is appreciated.

Thanks,

LSL
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190513/e14d52c7/attachment.html>


More information about the ncl-talk mailing list