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

Home » Public Forums » archive » Save file creation rules of the road
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Save file creation rules of the road [message #69827] Thu, 18 February 2010 03:30 Go to previous message
Rob[2] is currently offline  Rob[2]
Messages: 11
Registered: May 2007
Junior Member
Dear save file gurus,

I'm trying to create a distributable IDL save file via IDLDE > Project
> "Build Project". A save file was created without error -- some
initial complaints were issued, then automatically resolved. I then
restored this save file in a new IDL cli session. All expected
functions and procedures were listed, via "restore, /verbose" and
"help"; see below. However, an attempt to run one of the restored
procedures yielded the annoying "Variable is undefined:
SPIDR_ASCII_GET_META.... EXCEPTION..." I've experienced this before
and the hack I employed wasn't pretty. It involved compiling
(via .compile) all functions and procedures I thought I needed and
creating a save file somewhat manually, then a sacrificial lamb and a
kabuki dance. Thus, I suppose I've never really learned how to create
a proper save file with just the functionality I need. Can someone
point me in the right direction?

Debug follows:

Noting the below "help" after restore in new session, you can see for
yourself that "SPIDR_ASCII_GET_META" is defined:

Compiled Procedures:
$MAIN$ BAR_PLOT CALDAT CHECK_INIT DOC_LIBRARY
LEGEND LOADCT LOGGER LOG_DEBUG LOG_ERROR
LOG_FATAL LOG_INFO LOG_WARN MG_OPEN_URL
NGDC_BOILER PRINT_LOG_MESSAGE RESOLVE_ALL
SPIDR_CLIENT SPIDR_CRIB SPIDR_CRIB_IONO_7_DAYS
SPIDR_CRIB_IONO_EVENT SPIDR_CRIB_SENSOR_FUSION

Compiled Functions:

FGDC_TO_SIMPLE_STRUCT FILEPATH IS_STRUCT
IS_STRUCTURE JDAY_TO_TIME_8601
JDAY_TO_TIME_ARRAY JDAY_TO_UNIX_TIME JULDAY
LABEL_DATE MEAN MM MOMENT
SPIDR_ASCII_GET_META
SPIDR_ASCII_TO_STRUCTURE SPIDR_GET_DATA
SPIDR_GET_METADATA
STDDEV STRSPLIT TEST_SPIDR_ASCII_TO_STRUCTURE
TEST_SPIDR_GET_DATA TEST_SPIDR_GET_METADATA
TIME_8601_TO_ARRAY TIME_ARRAY_TO_8601 UNIQ

IDL> print, TEST_SPIDR_ASCII_TO_STRUCTURE()
% Variable is undefined: SPIDR_ASCII_GET_META.
% Execution halted at: SPIDR_ASCII_TO_STRUCTURE
% TEST_SPIDR_ASCII_TO_STRUCTURE
% $MAIN$
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: coping with a slow license server
Next Topic: Re: Breaking files

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

Current Time: Wed Oct 08 17:25:13 PDT 2025

Total time taken to generate the page: 0.00411 seconds