geez
[Top] [All Lists]

Re: Calibration and flipping data?

To: "Darren P. Madams" <darren@madams.com>
Subject: Re: Calibration and flipping data?
From: Todd Green <tag@cs.utah.edu>
Date: Wed, 08 Mar 2000 17:11:24 -0700
>Any way to flip the data around to see if that was indeed the problem?
>

If you have perl you can run the following (which will translate the
file and put the orig in *.bak):

perl -pi".bak" -e '($lat,$lon) = split(/,/,$_); $lon *= -1; $_ =
"$lat,$lon\n"' <filename>

(Note that if you are using 8.3 filenames this might not work, make a
backup of your file if you are going to run it, I wrote it off the top
of my head.)

If you don't have perl, feel free to email me your file and I'll
translate it and send it back.

Todd

<Prev in Thread] Current Thread [Next in Thread>