dbetchkal / NMSIM-Python

A Python-based wrapper for Noise Model Simulation (NMSIM). Eases the creation of input files and joining data from GIS databases.
GNU General Public License v2.0
10 stars 3 forks source link

Function for creating Site Files (.sit) from Coordinates #8

Closed dbetchkal closed 3 years ago

dbetchkal commented 4 years ago

Now that the elevation gridfloat files are saved with UTM Zone, converting coordinates to the correct UTM coordinates should be very straightforward.

The only nuance here will be writing in two ways to input the coordinates:

  1. directly as parameter(s)
  2. from the new NSNSD metadata database [anticipated 2021]
dbetchkal commented 3 years ago

The issue: "NMSIM references an entire project to the westernmost extent of the elevation (or landcover) file." Given that, the ArcToolbox now includes a function find_UTM_zone that uses the westernmost extent to find the correct zone. It tacks on a suffix to the elevation filename.

The main module then uses the function get_utm_zone to draw UTM zone information from the elevation filename for further use.