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

Home » Public Forums » archive » Re: Problem with the astron database on Mac OS X
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: Problem with the astron database on Mac OS X [message #78845 is a reply to message #78767] Wed, 21 December 2011 13:13 Go to previous messageGo to previous message
rklein is currently offline  rklein
Messages: 5
Registered: June 2009
Junior Member
I update the library and the problems seems to be gone. But, let me
investigate further.
Randolf

On Dec 21, 8:13 am, Russell <rryan....@gmail.com> wrote:
> I'm very familiar with the Astrolib, but not so much with the database
> procedures.  Can you confirm which instance of the routines that
> you're using, maybe issuing something like
>
> findpro,'dbhelp' or 'dbopen', etc.  Just to make sure that you don't
> accidentally have an old version floating around somewhere?
>
> Russell
>
> On Dec 20, 8:20 pm, rklein <r_kl...@berkeley.edu> wrote:
>
>
>
>
>
>
>
>> Hi,
>
>> I am using the database routines from the IDL Astronomy User's
>> library: (http://idlastro.gsfc.nasa.gov/contents.html#C3) on Mac OS X,
>> IDL version 7.1.
>
>> The following happens when I try to open two linked databases (the
>> yale_bs and yale_bs_rmks databases are available athttp://idlastro.gsfc.nasa.gov/ftp/zdbase/):
>
>> IDL> astrolib
>> % Compiled module: ASTROLIB.
>> % ASTROLIB: Astronomy Library system variables have been added
>> IDL> dbopen,'yale_bs_rmks,yale_bs'
>> % Compiled module: DBOPEN.
>> % Compiled module: ZPARCHECK.
>> % Compiled module: STRSPLIT.
>> % Compiled module: DBCLOSE.
>> % Compiled module: FIND_WITH_DEF.
>> % Compiled module: FIND_ALL_DIR.
>> % Compiled module: BREAK_PATH.
>> Attempt to subscript SBYTE with I is out of range.
>> IDL> dbhelp
>> % Compiled module: DBHELP.
>> % Compiled module: DB_INFO.
>> % Compiled module: TEXTOPEN.
>> % Compiled module: FILEPATH.
>> % Compiled module: DB_ITEM_INFO.
>>  ENTRY      HR         CATEGORY   REMARKS    SPARES
>
>> -------  Indexed Items ------
>> HR
>
>> ----- Pointer Information ----
>> YALE_BS_RMKS.HR ---> YALE_BS
>
>> data base contains        9188 entries
>> % Compiled module: TEXTCLOSE.
>> IDL>
>
>> As you can see, only one is opened despite the two being linked.
>
>> I also noticed that using "/EXTERNAL" with dbcreate does not work on
>> Mac OS.
>
>> Does anyone has an idea what is going wrong. Is it an IDL bug on Mac
>> OS which treats binary files unexpectedly? Or is there an invalid
>> assumption in the database code?
>
>> Thanks and happy holidays.
>> Randolf
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: One Reason Python is not taking over for IDL
Next Topic: mpfit question

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

Current Time: Sat Oct 11 15:41:16 PDT 2025

Total time taken to generate the page: 1.12526 seconds