comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Georeferencing Errors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Georeferencing Errors [message #41509 is a reply to message #41507] Tue, 02 November 2004 12:57 Go to previous messageGo to previous message
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
Will McCarty <will.mccarty@msfc.nasa.gov> wrote:
> OK, I've posted on this before, and this time I'm using a bit of a
> more common dataset (GTOPO30 terrain elevation), but getting similar
> geolocation errors. Thus I'm interested in seeing what (if anything)
> you guys can come up with. I use the following code:
>
> --test_lat_lon.pro
> ulx = -99.99583333333334
> uly = 39.99583333333333
> dx = 0.00833333333333
> dy = 0.00833333333333

If you really care about that many significant figures, you need to
declare these as doubles, not floats:

IDL> dx = 0.00833333333333333333333333333
IDL> print,dx,format="(F25.21)"
0.008333333767950534821
IDL> dx = 0.00833333333333333333333333333d
IDL> print,dx,format="(F25.21)"
0.008333333333333333218

- Marshall
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Georeferencing Errors
Next Topic: Re: sql and idl

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 19:44:04 PST 2025

Total time taken to generate the page: 2.08364 seconds