<div dir="ltr">Hi Amy,<br><br>In order to properly read shapefiles, we need the tresh_ease23.shx and tresh_ease23.dbf files as well<div class="gmail_default" style="font-size:small;display:inline">​.​</div><br><br>Also, I didn't see the <div class="gmail_default" style="font-size:small;display:inline">​ ​</div><a href="http://data_stats_2d_cmap.nc">data_stats_2d_cmap.nc</a><div class="gmail_default" style="font-size:small;display:inline">​ ​</div>file attached to your email. Can you upload this file and the other tresh_eas23.xxx files to <a href="http://ftp.cgd.ucar.edu">ftp.cgd.ucar.edu</a>?<br><br>Thanks,<br><br>--Mary<br><br>On Fri, Oct 27, 2017 at 4:58 PM, Amy Hendricks <<a href="mailto:ashendricks@alaska.edu">ashendricks@alaska.edu</a>> wrote:<br>><br>> Hello again NCL magicians,<br>><br>> As per requested, I have uploaded the shapefile "tresh_ease23.shp" to the incoming directory and attached the script. The script is basically example #21 modified with my inputs. The script recognizes the shapefile and data, but doesn't plot like the examples, or write the mask (the data are all missing values). I'm looking to create a netcdf mask of just the Treshnikov region 1 (East Bering). Please help!<br>><br>> Thank you,<br>><br>> Amy<br>><br>><br>><br>> On Fri, Oct 27, 2017 at 2:56 PM, Amy Hendricks <<a href="mailto:ashendricks@alaska.edu">ashendricks@alaska.edu</a>> wrote:<br>>><br>>> Hello again NCL magicians,<br>>><br>>> As per requested, I have uploaded the shapefile "tresh_ease23.shp" to the incoming directory and attached the script and data file to be masked. The script is basically example #21 modified with my inputs. The script recognizes the shapefile and data, but doesn't plot like the examples, or write the mask (the data are all missing values). I'm looking to create a netcdf mask of just the Treshnikov region 1 (East Bering). Please help!<br>>><br>>> Thank you,<br>>><br>>> Amy<br>>><br>>><br>>><br>>> On Thu, Oct 26, 2017 at 4:17 PM, Amy Hendricks <<a href="mailto:ashendricks@alaska.edu">ashendricks@alaska.edu</a>> wrote:<br>>>><br>>>> Howdy NCL experts,<br>>>><br>>>> I'm trying to create a netcdf mask from a shapefile, however, the shape names are integers. All of the examples on the shapefiles examples page show how to mask with string shape names -- how do I convert the integer shape names to strings for creating a mask? <br>>>><br>>>> Cheers,<br>>>><br>>>> Amy<br>>>><br>>><br>>><br>>><br>>> --<br>>> Amy Hendricks<br>>> Graduate Research Assistant<br>>> Department of Atmospheric Sciences<br>>> University of Alaska Fairbanks<br>>> IARC 343-R<br>>> 907-388-9893<br>>> <a href="mailto:ashendricks@alaska.edu">ashendricks@alaska.edu</a><br>><br>><br>><br>><br>> --<br>> Amy Hendricks<br>> Graduate Research Assistant<br>> Department of Atmospheric Sciences<br>> University of Alaska Fairbanks<br>> IARC 343-R<br>> 907-388-9893<br>> <a href="mailto:ashendricks@alaska.edu">ashendricks@alaska.edu</a><br>><br>> _______________________________________________<br>> ncl-talk mailing list<br>> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>> List instructions, subscriber options, unsubscribe:<br>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>><br></div>