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

Home » Public Forums » archive » Distance between coordinates
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: Distance between coordinates [message #90950 is a reply to message #90944] Mon, 18 May 2015 11:49 Go to previous messageGo to previous message
astr74323 is currently offline  astr74323
Messages: 4
Registered: May 2015
Junior Member
بتاريخ الاثنين، 18 مايو، 2015 6:28:46 ص UTC+3، كتب wlandsman:
> On Saturday, May 16, 2015 at 8:23:49 PM UTC-4, astr...@gmail.com wrote:
>> Hello Michael I have a problem in Code regard to gcirc.pro, It gave me incorrect of argument through IDL programme, How can I solve that?
>
> We can't tell you what you are doing wrong if we don't know what you are doing. You need to show us how you are calling gcirc.pro ( not a standard IDL procedure but in the IDL Astronomy library http://idlastro.gsfc.nasa.gov/ftp/pro/astro/gcirc.pro )
>
> But here is how to get the same result as the example in the MAP_2POINTS documentation, the angular distance between Boulder and London.

>
> B = [ -105.19, 40.02] ;Boulder Longitude, latitude in degrees.
> L = [ -0.07, 51.30] ;London Longitude, latitude in degrees.
>
> IDL> gcirc,2,b[0],b[1],l[0],l[1],dis
>
> where we set the units (first) parameter to 2 ( RAx and DCx in degrees, DIS in arc seconds)
>
> so the angular distance between Boulder and London in arc seconds and degrees is
> IDL> print,dis,dis/3600.
> 244275.60 67.854333


Hello Wlandsman,

Colud you give me your email or Skype?

Beacuse I've many quetions

I look forward to hearing from you
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to ignore NaNs in the data array with function cgPercentile.pro or Percentile.pro?
Next Topic: Illegal operand error with window,/free

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

Current Time: Wed Oct 08 13:58:54 PDT 2025

Total time taken to generate the page: 0.00481 seconds