wiki:WorkingWithGDL

Version 9 (modified by pinsard, 10 years ago) (diff)

systemetasition de l'utilisation de span class file

Working with GDL

instead of IDL

installation

curie 0.9.3

configuration shell environement

curie

cf. ~pinsard/.bashrc

#
module load fftw3
module load wxwidgets
module load gdl
if [ "${GDL_STARTUP}" != "" ]
then
   GDL_STARTUP_SYS=${GDL_STARTUP}
   export GDL_STARTUP_SYS
   unset GDL_STARTUP
fi

cf. pulsation project_profile.sh

configuration IDL vs GDL

cf. pulsation project_init.pro

Running SAXO

tst_basic
@tst_initlev
tst_plt

works fine

file selection

troubles

no format calendar : http://sourceforge.net/tracker/?func=detail&aid=3532731&group_id=97659&atid=618686

Date: 2013-04-09 15:10:56 PDT Sender: gilles-duvert somwhere in the line. Stay tuned.

pas de keyword FILES dans Help

www : no test_directory keyword for file_search in gdl

www : no path_cache in gdl

LOADCT: FILE keyword not implemented yet, ignored. (FIXME)

LOADCT_INTERNALGDL: Table number must be from 0 to 40

% Warning: Keyword parameter C_LABEL not supported in call to: CONTOUR. Ignored.

% Warning: Keyword parameter C_CHARTHICK not supported in call to: CONTOUR. Ignored.

Function not found: SCOPE_TRACEBACK

Function not found: LABEL_REGION

save and restore : need CMSVLIB

Ci dessous sous curie en tete de /usr/local/gdl-0.9.3/share/gnudatalanguage/lib/save.pro et de /usr/local/gdl-0.9.3/share/gnudatalanguage/lib/restore.pro :

;    Serves as a wrapper around CMSAVE from Craig B. Markwardt CMSVLIB
;    library. You must download and install yourself this CMSVLIB library
;    then add it PATH in your GDL_PATH. This library can be found here:
;    http://cow.physics.wisc.edu/~craigm/idl/cmsave.html

CMSVLIB have been installed on curie on /usr/local/gdl-0.9.3/share/cmsvlib/lib .

but as catch is not implemented in gdl a great attention must be used on file value

this example works fine::

 a=1
save, a, file='ginette'
% Compiled module: CMSV_WREC.
% Compiled module: CMSV_RREC.
% Compiled module: CMSV_WRAW.
% Compiled module: CMSV_WVTYPE.
% Compiled module: CMSV_WDATA.

this example ends badly just because file dsqdqs/ginette can not be written :

a=1
save, a, file='/dsqdqs/ginette'
% Compiled module: SAVE.
% Compiled module: CMSVLIB.
% CATCH: feature not implemented yet (FIXME!).
% Compiled module: CMSV_OPEN.
% Compiled module: CMSAVE.
% Compiled module: CMSV_PTRSUM.
EXECUTE: CMSAVE: LOADCT: FILE keyword not implemented yet, ignored. (FIXME)

Procedure not found: MAP_SET

CATCH: feature not implemented yet (FIXME!).