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

Home » Public Forums » archive » 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
Problem with the astron database on Mac OS X [message #78777] Tue, 20 December 2011 17:20 Go to previous message
rklein is currently offline  rklein
Messages: 5
Registered: June 2009
Junior Member
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 at
http://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: Updates to Markwardt Library
Next Topic: Grumbling about setting double precision

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

Current Time: Wed Oct 08 15:39:29 PDT 2025

Total time taken to generate the page: 0.00366 seconds