<div><br></div><div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">Hi Sir,</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;"><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">While I have used NCL for some months, I still cannot understand that how to use shapefile to creat a mask nc file.</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">I am now having a basin's shp and I wanna to creat a ncfile as a basin mask. This enables me to calculate the basin mean temperature data using this mask nc (i.e. exclude the values out of the basin)</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">I gave a read here (<span style="line-height: 1.5;"><a href="https://www.ncl.ucar.edu/Applications/Scripts/mask_12.ncl" target="_blank" style="outline: none; cursor: pointer; color: rgb(30, 84, 148);">https://www.<wbr>ncl.ucar.edu<wbr>/Application<wbr>s/Scripts/ma<wbr>sk_12.ncl</a>), but this is not clear to me.</span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;"><span style="line-height: 1.5;"><br></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;"><span style="line-height: 1.5;">Could you please give me an example?</span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;"><span style="line-height: 1.5;"><br></span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">I attached one shp as an example (see attached). I am really looking forward to your kind help, thanks!</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;"><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.8px;">Jie</div></div>