wiki:VSOSoftware

Version 1 (modified by joe, 19 years ago) (diff)

--

VSO Software

Many VSO packages are available as installers at http://vso1.nascom.nasa.gov/installers/ .

The complete set of VSO modules are available through anonymous CVS.

Connecting via CVS

  1. Install a CVS client

In order to get the VSO Data Provider interface and code examples you should have a cvs client. If you don't you can get one at:

http://www.cvshome.org

If this is problematic for you let us know and we will package up a current set for you.

  1. Connect to the VSO CVS server
  1. Set the environmental variable CVSROOT to
    :pserver:anonymous@solarch.tuc.noao.edu:2401/vtarc1/vso/cvsroot
    

older versions of CVS may require

:pserver:anonymous@solarch.tuc.noao.edu/vtarc1/vso/cvsroot

For example:

# in bash/ksh
 > export CVSROOT=:pserver:anonymous@solarch.tuc.noao.edu:2401/vtarc1/vso/cvsroot
# in csh:
 > setenv CVSROOT :pserver:anonymous@solarch.tuc.noao.edu:2401/vtarc1/vso/cvsroot
  1. login to CVS
    > cvs login
    
  1. Hit the enter key when prompted for a password
  1. Download everything, or an individual module.
    # download everything
     > cvs checkout vso
    # download the 'DataProvider' inheritable
     > cvs checkout DataProvider
    

This will create the directory 'vso' in the current directory, and the directory structure of the modules requested.

  1. Install the modules
  1. Change to the module directory
    # for the DataProvider inheritable
     > cd vso/DataProviders/Inheritable/Perl
    
  1. Run the configuration program
     > perl Makefile.PL
    
  1. Build, test, and install the module.
     > make
     > make test
     > make install
    
  1. Read the documentation. You may need to examine the module's README file for its full name.
    # modules are installed in the 'Physics::Solar::VSO' heiarchy, but a VSO
    # module may include more than one perl package
    
    # continuing with the DataProvider example:
     > perldoc Physics::Solar::VSO::DataProvider
    

Note:

In the case of Data Providers, it may also be worthwhile to look in the module's Examples directory, or to download some of the other VSO Data Provider code to use as a reference:

 > cvs checkout NSO
 > cvs checkout OVRO
 > cvs checkout SDAC
 > cvs checkout SHA
 > cvs checkout NGDC

Most modules also contain a README file, which contains basic information about usage, and may provide additional information that is specific to that module.