I'm curious if anyone out there has written a python script or knows of one that allows the input of an ASCII file (pixel coordinates) and output of a numpy array or similar format for storing the actual geographic coordinates?
I can easily use GDAL to convert from ASCII to GeoTiff or something similar and then extract values using that raster but I'm curious if there is an easy way to do this directly without a GIS from:
- ASCII Header Information
- Known Coordinate System of ASCII
I think I should be able to use gdal_translate
and gdal warp
if I knew the projection equation.