Marchowes / pyProm

Surface Network Analyzer.
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Consider changing x,y to cartesian grid? Or at least improve docs #145

Open Marchowes opened 5 years ago

Marchowes commented 5 years ago

The break down:

Standard geographic coordinates follow the following model: (Latitude, Longitude). (row, column)

Matrix (for numpy): (x,y) [row][column]

Cartesian grid: (x,y) [column][row]

This gets a little confusing when casting cartesian grids into numpy matrixes. Probably best to update docs and keep this as is, rather than make a large code change.

Marchowes commented 5 years ago

I think the best solution here is to update comments in https://github.com/Marchowes/pyProm/blob/master/pyprom/lib/datamap.py#L107 change form GDAL native to "cartesian"