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

Home » Public Forums » archive » i need to use this idl function. but how ?
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: i need to use this idl function. but how ? [message #91239 is a reply to message #91238] Fri, 19 June 2015 11:31 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Friday, 19 June 2015 10:02:49 UTC-7, David Fanning wrote:
> Cibi Raj writes:
>
>> This is the notes given in the read_wind_mfi.pro and it should be called by
>>
>> IDL> test = read_wind_mfi([arguments],KEYWORDS=[keywords])
>>
>> this. Now I need to know what to put in the place of arguments and keywords ?
>>
>> Can you please provide me an example of it , so i could just change the value and put it on IDL. ?
>
> Why don't you just keep reading? The documentation will explain the
> arguments to you, the order in which they should be placed after the
> name of the command, and the purpose and name of each of the keywords
> you can use.
>
> Honestly, if you can't figure this out on your own (perhaps with a bit
> of experimentation), you will never be able to use IDL. You should give
> up now and save yourself immense frustration. I say this in the kindest
> way possible. :-)
>
> Cheers,
>
> David

It looks like Cibi Raj has given all the documentation that was available, but needs a hand to connect the dots. If they had added an EXAMPLE section to the documentation, it might look like this:

; EXAMPLE
; result = read_wind_mfi(DATE='123199', TRANGE=[startTime, endTime])
; (where startTime and endTime are numbers in "Unix time")
; (https://en.wikipedia.org/wiki/Unix_time)

Don't give up hope! I think you first need to know the basics of IDL procedure and function calling. This page, describing how IDL routines are documented, may give some helpful examples:
http://www.exelisvis.com/docs/idl_syntax.html

Can anyone offer a link to a better "orientation" for someone who is thrown into the waters of IDL, perhaps as a first-time programmer without access to a mentor or even a good book? I will point out David's fine book (in PDF form), for those who have the option of buying it:
http://www.idlcoyote.com/coyotestore/index.php?main_page=pro duct_info&cPath=66&products_id=183

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing a Plot's Resolution
Next Topic: Trailing array dimensions

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

Current Time: Fri Oct 10 20:50:32 PDT 2025

Total time taken to generate the page: 0.63985 seconds