Skip to content

Using the dap2tin Python Toolbox in ArcMap

rsignell-usgs edited this page Jan 11, 2013 · 5 revisions

The dap2tin tool allows ArcMap users to access unstructured (e.g. triangular) grid model results via OPeNDAP (or a local NetCDF file), and bring them into ArcMAP as a TIN, preserving the original mesh connectivity. If raster data is desired in ArcMap, the tin2raster function can then be used, which will do the right thing (not interpolate across coast, islands, etc.). The toolbox has been somewhat hardwired to access data from FVCOM model results, and convert from geographic to Mass State Plane Coordinates. We will make this tool more general in the future, but for now, it should be easy to modify the Python code for other applications (different variable names, different projections, etc).

Requirements for using dap2tin.pyt tool:

  • ArcGIS 10.1
  • NetCDF4-Python
  • PyProj (if you want to reproject the mesh coordinates)

NetCDF4-Python and PyProj are part of the Enthought Python Distribution (EPD), for USGS users, see theUSGS EPD Site License Info.

Converting the TIN to raster in ArcMap:

  1. Specify the geoprocessing extent (the extent of the raster that will be created): geoprocessing extent
  2. Use the Tin2Raster function in the ArcToolbox 3D tools: tin2raster
Clone this wiki locally