[ncl-talk] New York Map issue(s)

Bassill, Nicholas nbassill at albany.edu
Fri Feb 17 08:59:47 MST 2017


Hi All,
    New subscriber, so bear with me here. Two things - (1) a likely bug, and (2) a question. I'm using NCL 6.3.


(1) It appears that the state boundaries for New York are slightly off in the far western boundary. I'm attaching an image (NY.png) that plots the state of NY, but with data that is specifically limited by the *actual* western border to demonstrate this.


The relevant map settings are:


res at mpDataBaseVersion           = "Ncarg4_1"
res at mpDataSetName               = "Earth..4"
res at mpFillAreaSpecifiers        = (/"Land", "Land:North America:United States:Conterminous US:New York","Water"/)
res at mpSpecifiedFillColors       = (/"white","transparent",       "white"/)
res at mpInlandWaterFillColor      = 238
res at mpLandFillColor             = -1     ; transparent
res at mpOutlineOn                 = True
res at mpMaskOutlineSpecifiers =   (/"Land"/)
res at mpOutlineSpecifiers =   (/ "Land:North America:United States:Conterminous US:New York"/)
res at mpDataBaseVersion = "MediumRes"



(2) Partially based off of that, and in an effort to have a more detailed coastline, I decided to try the "HighRes" dataset. However, I am not able to successfully do any masking. In this case I want *only* a fill in the shape of NY. For this I'm attaching the dataset I'm using (currenttemp.dat), the script I'm using (temp.ncl, based largely on http://www.ncl.ucar.edu/Applications/Scripts/mask_8.ncl for the mask), and a sample image (current.png).


Any help with (2) would be greatly appreciated!


Nick Bassill, PhD

Modeler & Meteorologist, New York State Mesonet

LC SB-28, 1400 Washington Ave.,

SUNY, University at Albany, NY 12222

(518) 442-6375

http://nysmesonet.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170217/dd25cf04/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NY.png
Type: image/png
Size: 322278 bytes
Desc: NY.png
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170217/dd25cf04/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: current.png
Type: image/png
Size: 99643 bytes
Desc: current.png
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170217/dd25cf04/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: currenttemp.dat
Type: application/octet-stream
Size: 2550 bytes
Desc: currenttemp.dat
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170217/dd25cf04/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.ncl
Type: application/octet-stream
Size: 3859 bytes
Desc: temp.ncl
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170217/dd25cf04/attachment-0003.obj 


More information about the ncl-talk mailing list