geez
[Top] [All Lists]

Re: Calibration and flipping data?

To: geez@autox.team.net
Subject: Re: Calibration and flipping data?
From: Byron Short <bshort@AFSinc.com>
Date: Wed, 08 Mar 2000 19:48:51 -0700
Okay, sharing perl commands on the GEEZ list qualifies you
for the GEEK of the WEEK award for this week.  Congrats! 
Now button your collar up to the top, put on some white
socks with those penny loafers, a piece of tape on your
glasses, and enjoy the rest of your week!  ;-)

--Byron

Todd Green wrote:
> 
> >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>