Gdl

From RHESSI Wiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
hessi GUI will not work in GDL.
hessi GUI will not work in GDL.
-
== Installing ==
+
== Installing SSWGDL==
=== Mac OS X ===
=== Mac OS X ===
Line 18: Line 18:
  sudo port install gnudatalanguage
  sudo port install gnudatalanguage
# You should now be able to run gdl by typing "gdl" in the Terminal.
# You should now be able to run gdl by typing "gdl" in the Terminal.
 +
 +
The next step is to set up SSW''GDL''.  The following assumes that you already have an installation of SSW in /usr/local/ssw.  If not go to the [http://www.lmsal.com/solarsoft/ssw_install.html SSW installation page] and follow the instructions. 
 +
# Create a symbolic link to gdl with the following command.
# Create a symbolic link to gdl with the following command.
  ln -s /opt/local/bin/gdl /opt/local/bin/idl
  ln -s /opt/local/bin/gdl /opt/local/bin/idl
-
# You should now...
+
#  
 +
 
 +
 
== References ==
== References ==
* [http://gnudatalanguage.sourceforge.net/ GDL - GNU Data Language]
* [http://gnudatalanguage.sourceforge.net/ GDL - GNU Data Language]
* [http://www.mssl.ucl.ac.uk/surf/sswdoc/solarsoft/ssw_setup.html SSWIDL]
* [http://www.mssl.ucl.ac.uk/surf/sswdoc/solarsoft/ssw_setup.html SSWIDL]
-
 
+
* [http://hesperia.gsfc.nasa.gov/hessi/solar_install_bak/installation.html SSW Installation Instructions]
[[Category:Software]]
[[Category:Software]]

Revision as of 14:51, 26 May 2010

GDL is a free open-source version of IDL. Currently, GDL does not support GUI widgets therefore things like the hessi GUI will not work in GDL.

Installing SSWGDL

Mac OS X

The source code for GDL can be obtained from the GDL homepage. This source code needs to be compiled in order to create a gdl executable. Unfortunately, GDL uses many libraries which are not available with a standard installation of Mac OS X. Some programs such as Macports can make this process easier and will automatically obtain all of the libraries necessary to compile GDL.

  1. Install Apple's XCode. This will install many important libraries as well as install a compiler, gcc.
  2. Install macports.
  3. Run the following command which will (by default) install gdl in /opt/local/bin/
sudo port install gnudatalanguage
  1. You should now be able to run gdl by typing "gdl" in the Terminal.

The next step is to set up SSWGDL. The following assumes that you already have an installation of SSW in /usr/local/ssw. If not go to the SSW installation page and follow the instructions.

  1. Create a symbolic link to gdl with the following command.
ln -s /opt/local/bin/gdl /opt/local/bin/idl


References

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox