[ncl-talk] converting shapefile to netcdf

Amy Hendricks ashendricks at alaska.edu
Mon Nov 25 16:26:14 MST 2019


Hello NCL geniuses,

I am trying to write a shapefile to netcdf. The shapefile consists of
circumpolar Treshnikov regions, and I would like to create a netCDF file
that has the region values like tresh(lon,lat) = [region# from shapefile]
on the ERA5 grid. All the examples I'm finding are for creating binary
masks, and the ncl_convert2nc does not seem to work, at least it doesn't
return anything useable.

Attached are the ERA5 netCDF file, Treshnikov shapefile, as well as the
result of ncl_convert2nc.

Thank you in advance,

Amy

-- 
Amy Hendricks
Graduate Research Assistant
Department of Atmospheric Sciences
University of Alaska Fairbanks
IARC 343-E
907-388-9893
ashendricks at alaska.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191125/5c4f6b56/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tresh4ncltalk.zip
Type: application/zip
Size: 7207055 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191125/5c4f6b56/attachment-0001.zip>


More information about the ncl-talk mailing list