GDL GNUDataLanguage reading IDL .sav files

GDL typically needs the CMSvlib installed to read/write IDL .sav files.

Enable GDL to read/write .sav files

  1. install CMSvlib

     mkdir ~/cmsvlib
     wget -P ~/cmsvlib
     cd ~/cmsvlib
     tar xf cmsvlib.tar.gz
  2. add line to ~/.bashrc

     export GDL_STARTUP=$HOME/.gdl/"
  3. copy and paste into  ~/.gdl/

  4. reopen Terminal

Load a .sav file from GDL

Either of these commands are used from GDL

cmrestore, 'myfile.sav'



check that GDL has loaded the correct paths

in GDL type


Leave a Comment