Added two general purpose functions useful for interacting with projections other than EPSG:4326:
reproject convert X/Y coordinates between different EPSGs. It's more general than some of the other UTM conversion functions- for instance, to_latlon can now just call the reproject function to do the conversion.
get_image_rowcol to find the pixel location nearest to some lat/lon location
Both functions are used in the GPS class to convert the gps station locations in lat/lon to whatever the image projection is, stored in the EPSG attribute
Future note- I've also used this in a change to tropo_pyaps.py to run that script on non-EPSG:4326 images. That will be submitted after
Description of proposed changes
reproject
convert X/Y coordinates between different EPSGs. It's more general than some of the other UTM conversion functions- for instance,to_latlon
can now just call thereproject
function to do the conversion.get_image_rowcol
to find the pixel location nearest to some lat/lon locationGPS
class to convert the gps station locations in lat/lon to whatever the image projection is, stored in theEPSG
attributetropo_pyaps.py
to run that script on non-EPSG:4326 images. That will be submitted afterReminders