GDL GNUDataLanguage reading IDL .sav files

Your version of GDL may not come with the CMSvlib installed necessary to read/write .sav files from IDL.

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