[ncl-talk] Drawing Economic Zones derived from netcdf file

Jonathan Buzan jbuzan at purdue.edu
Wed Oct 18 07:12:19 MDT 2023


Hi Dave,

Thanks!  I’ll look into this—I do have a higher resolution map.

Cheers,
-Jonathan



On Oct 18, 2023, at 14:25, Dave Allured - NOAA Affiliate <dave.allured at noaa.gov<mailto:dave.allured at noaa.gov>> wrote:

---- External Email: Use caution with attachments, links, or sharing data ----

Converting a grid of classification data into outlines is possible with custom code, but it would produce blocky outlines.  NCL's missing value perimeter lines use this outline algorithm.  You may be able to force NCL to draw these perimeter lines as overlays, one at a time for each zone.  You could also do this with fully custom code, stepping through all grid cells and erasing shared cell boundaries.

Your zone map might be based on a more normally drawn original zone map.  I suggest looking into the origins of the Netcdf zone map, to see whether there might be an outline shapefile available, or something like it.  That would look good as an overlay on a temperature contour map.


On Wed, Oct 18, 2023 at 3:10 AM Jonathan Buzan via ncl-talk <ncl-talk at mailman.ucar.edu<mailto:ncl-talk at mailman.ucar.edu>> wrote:
Hi NCL-Talk,

I am attempting to draw a the borders for economic zones on top of my temperature data. The Economic Zones map is the same resolution as the temperature file. The values for the economic zones are 1-16. I was looking through the map outlines page, but I don’t see anything that takes a netcdf file and converts that data into borders.

Perhaps NCL users know a method?

Thanks,
-Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20231018/9c92de90/attachment.htm>


More information about the ncl-talk mailing list