Skip to content
Permalink
Browse files
Fix wrong projection string
  • Loading branch information
Koko Alberti committed Feb 14, 2020
1 parent 0933412 commit d8bfde0d5e2a12cea4f098983c3cf9cad2901222
Showing with 1 addition and 1 deletion.
  1. +1 −1 mkprofile/mkprofile.py
@@ -36,7 +36,7 @@
sys.exit(1)

# Set up coordinate transform
proj_str = "+proj=tpeqd +lon_1={} +lat_1={} +lon_2={} +lat_2={}".format(args.lon_1, args.lat_1, args.lon_2, args.lon_2)
proj_str = "+proj=tpeqd +lon_1={} +lat_1={} +lon_2={} +lat_2={}".format(args.lon_1, args.lat_1, args.lon_2, args.lat_2)
tpeqd = CRS.from_proj4(proj_str)
transformer = Transformer.from_crs(CRS.from_proj4("+proj=latlon"), tpeqd)

0 comments on commit d8bfde0

Please sign in to comment.