Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Need GOES I...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 20 Topic 5540 of 6400
Post > Topic >>

Re: Need GOES Image Expert

by David Fanning <news@[EMAIL PROTECTED] > Mar 18, 2008 at 02:39 PM

Kenneth P. Bowman writes:

> There goes my chance for fame.  :-(

Well, hang on. There's still trouble in River City,
and it rhymes with "p", and it stands for "projection".

I got a little too excited before. :-)

It's pretty good. Not bad. But not bang on right, either.

If I open a GeoTIFF file like this AVHRR file here:

   http://www.dfanning.com/map_tips/tiffoverlay.html

Then I can find the UV bounding box by using the tie-points,
the scales, and the size of the image:

   s = Size(image, /Dimensions)
   xscale  = geotag.ModelPixelScaleTag[0]
   yscale  = geotag.ModelPixelScaleTag[1]
   tp      = geotag.ModelTiePointTag[3:4]

   xOrigin = tp[0]
   yOrigin = tp[1] - (yscale * s[1])
   xEnd = xOrigin + (xscale * s[0])   
   uv_box = [xOrigin, yOrigin, xEnd, yEnd]

This assumes that the image is "squared-up" with the UV
coordinate system. 

Unfortunately, my image is NOT "squared-up" with the UV
coordinate system. It is tilted a little bit. Here are
the four corners of my warped image in UV space, after
I warped the lat and lon arrays and converted the corner
points to UV space. (Starts in lower-left and goes clockwise.)

      -2361218.9      -1869566.0
      -2373277.4       1841973.4
       2360269.4       1842014.4
       2348276.6      -1869524.8

Thus, when I try to treat it as if it were the AVHRR image
above, I *almost* get it right, but not quite. I think I need
some way to "square up" this image with the UV coordinate system.
Unfortunately, it is not a simple rotation, because the image
itself is not a rectangle in this warped space. It's a
squarish blob. :-(

I'm looking for drugs or ideas, either one will do.

Cheers,

David


-- 
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 20 Posts in Topic:
Need GOES Image Expert
David Fanning <news@[E  2008-03-17 14:32:29 
Re: Need GOES Image Expert
Paul van Delst <Paul.v  2008-03-17 16:47:45 
Re: Need GOES Image Expert
"Kenneth P. Bowman&q  2008-03-17 16:01:18 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 23:24:02 
Re: Need GOES Image Expert
"Kenneth P. Bowman&q  2008-03-18 11:12:54 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-18 14:39:22 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-18 14:47:01 
Re: Need GOES Image Expert
Bob Crawford <Snowman4  2008-03-17 13:59:09 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 15:06:42 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 16:06:49 
Re: Need GOES Image Expert
kBob <KRDean@[EMAIL PR  2008-03-17 15:13:54 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 16:58:25 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 17:21:12 
Re: Need GOES Image Expert
kBob <KRDean@[EMAIL PR  2008-03-17 15:20:04 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-17 16:26:40 
Re: Need GOES Image Expert
kBob <KRDean@[EMAIL PR  2008-03-17 17:13:07 
Re: Need GOES Image Expert
Mark Conner <mconner1@  2008-03-20 10:08:37 
Re: Need GOES Image Expert
David Fanning <news@[E  2008-03-20 22:30:56 
Re: Need GOES Image Expert
kBob <KRDean@[EMAIL PR  2008-03-28 08:21:13 
Re: Need GOES Image Expert
Bruce Bowler <bbowler@  2008-03-21 12:28:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 10:17:13 CST 2008.