Groups | Search | Server Info | Login | Register
| Newsgroups | comp.lang.idl |
|---|---|
| Date | 2017-10-20 10:46 -0700 |
| Message-ID | <621b4dd3-e5ac-4ef8-807d-26ea2dbd5c10@googlegroups.com> (permalink) |
| Subject | IDL not recognizing procedure in expanded path |
| From | nelson.kevin09@gmail.com |
Hello, I have a problem on my hands I haven't been able to find a solution for. Here are the basics: I'm creating a centralized library for my research group of IDL procedures and routines that we can call to avoid re-inventing the wheel and not have to include the @procedure_path statements at the beginning of out programs. I was able to get IDL to recognize the path to all of the routines in the centralized library by following David Fanning's page (http://www.idlcoyote.com/code_tips/installcoyote.php). When I use IDL's PrintPath function, it returns the correct path to the directory: IDL> PrintPath ... /cloud/code_ro/lib/idl/io_lib/gps_io ... The full file path is then: /cloud/code_ro/lib/idl/io_lib/gps_io/get_ncdf_atmPrf_ucar_cosmic2013.pro IDL> I have a program I wrote just to test why these particular routines won't automatically compile and run inside the main program as well by giving it a file path and then calling the routine, which amounts to: file_name = foo (this is super long with the whole path) get_ncdf_atmPrf_ucar_cosmic2013, foo, ... END The result I get when I run this is: IDL> .run test.pro % Compiled module: $MAIN$. % Attempt to call undefined procedure: 'GET_NCDF_ATMPRF_UCAR_COSMIC2013'. % Execution halted at: $MAIN$ 4 /home/knelson12/test.pro IDL> However, I can run the following, and it recognizes the routine just fine: IDL> .compile get_ncdf_atmPrf_ucar_cosmic2013 % Compiled module: GET_NCDF_ATMPRF_UCAR_COSMIC2013. IDL> Does anyone have any thoughts on this? Thank you in advance. - Kevin
Back to comp.lang.idl | Previous | Next — Next in thread | Find similar
IDL not recognizing procedure in expanded path nelson.kevin09@gmail.com - 2017-10-20 10:46 -0700
Re: IDL not recognizing procedure in expanded path benjamin.castellani@gmail.com - 2017-10-25 07:12 -0700
Re: IDL not recognizing procedure in expanded path nelson.kevin09@gmail.com - 2017-10-31 10:28 -0700
Re: IDL not recognizing procedure in expanded path nelson.kevin09@gmail.com - 2017-10-31 11:23 -0700
csiph-web