Error: routine is not found: CW_BGROUP
I must apologise as this bug report is going to be vague as I don’t actually have any experience with IDL. I’m trying to run NASA’s CISSCAL software (IDL files can be downloaded from http://ciclops.org/sci/cisscal.php , specifically https://pds-imaging.jpl.nasa.gov/data/cassini/cassini_orbiter/coiss_0011_v4.2/extras/cisscal.tar.gz ), but I’m encountering the following error:
$ CisscalDir=/medusa/bob/prog/cisscal/cisscal CalibrationBaseDir=/medusa/bob/prog/cisscal/calib ImageBaseDir=/medusa/bob/prog/cisscal /medusa/bob/prog/cisscal/fl/fl_0.79.47/bin/fl64_cmd
No entry for terminal type "xterm";
using dumb terminal settings.
Fawlty Language 0.79.47 (linux amd64 m64) Copyright (c) 2000-2019, Lajos Foldy
If this program is older than 3-6 months, consider downloading a newer version.
http://www.flxpert.hu/fl/
*** THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! ***
Type 'help, /lib' for system routines info.
FL> @cisscal
% Compiled routine: DEFINED
% Compiled routine: GUIPRINT
% Compiled routine: TOSTR
% Compiled routine: GUIENABMENUOPTS
% Compiled routine: GUITRACKCURSOR
% Compiled routine: GUIMAKEWIN
% Compiled routine: GUISELECTWIN
% Compiled routine: GUIOPENFILE
% Compiled routine: GUISHOWLABEL
% Compiled routine: GUISAVEFILE
% Compiled routine: GUISATFILE
% Compiled routine: GUIMISSFILE
% Compiled routine: GUIMASKFILE
% Compiled routine: GUIIMGDISP
% Compiled routine: GUITOOLSHISTO
% Compiled routine: GUITOOLSPROF
% Compiled routine: GUITOOLSPROFAVE
% Compiled routine: GUITOOLSINSPECT
% Compiled routine: GUIPLOTOVERCLOCKS
% Compiled routine: GUIHELPABOUT
% Compiled routine: GUIQUIT
% Compiled routine: GUIIMGCAL
% Compiled routine: GUIOPTIONCHANGE
% Compiled routine: GUIONOFFCHANGE
% Compiled routine: LOGLEVELCHANGE_EVENT
% Compiled routine: LOGLEVELCHANGE
% Compiled routine: SATMISSPIXELCHANGE_EVENT
% Compiled routine: SATMISSPIXELCHANGE
% Compiled routine: GUISELECTDARK
% Compiled routine: GUISELECTMASK
% Compiled routine: GUISELECTMISSING
% Compiled routine: GUISELECTSPEC
% Compiled routine: CISSCALGUI_EVENT
% Compiled routine: GRAPHWIN_EVENT
% Compiled routine: CISSCAL_GUI
% Compiled routine: CISSCAL_READOPTFILE
% Error: routine is not found: CW_BGROUP
% Execution halted at: CISSCAL_GUI 1566 /medusa/bob/prog/cisscal/cisscal/cisscal_gui.pro
% $MAIN$
FL>
CW_BGROUP seems to be a part of the base language as far as I can tell ( https://www.harrisgeospatial.com/docs/CW_BGROUP.html ), so I can only assume that this is simply a case of this particular function not being implemented in FL yet. The offending line:
GuiOnOffGrp = CW_BGROUP(GuiOnOffBase, GuiOnOffText, /NONEXCLUSIVE, $
UVALUE='GuiOnOff',SET_VALUE=GuiOnOffList,LABEL_TOP='On/Off')
Comments (4)
-
repo owner -
reporter Hi, thanks for the prompt response! That’s totally understandable. Just for other folks in a similar situation, I found success by:
- Using GDL (as opposed to IDL)
- Grabbing cw_bgroup.pro off the internet, throwing it in the cisscal folder
- Deleting comments that confuse GDL:
grep -rl 'include COMMON definitions' | grep [.]pro | xargs sed -i 's/; include COMMON definitions//g' grep -rl 'include COMMON definitions' | grep [.]pro | xargs sed -i 's/;include COMMON definitions//g'
Didn’t take too long after all, and could get basic image calibrations going with CISSCAL.
-
repo owner Great!
-
repo owner - changed status to resolved
Closed.
- Log in to comment
Widget support is not ready yet, a lot of routines and keywords are missing. You’ll need IDL for widgets, sorry.