Webnucleo.org

Mail Lists | Developers
small logo

Documentation from the file



solar_abundances/0.2/bin/input_abundances_ascii_perl.pl



Routine
Name: input_abundances_ascii_to_xml()

Description: Perl script to read in an ascii file giving (z,a,abundance) triplets in ascii format and convert that file to the webnucleo input_abundances xml output.

Syntax:
               perl input_abundances_ascii_to_xml.pl input_ascii_file output_xml_file
             
Input:

input_ascii_file: The input ascii file name must be passed in on the command line. It is the input directly after the name of the script. The input file may be either of the format: Z A Abundance or Z A Abundance Comma, delimeted, processes

Output:

output_xml_file: The output xml file name must be passed in on the command line. It is the input directly after the name of the script.

Example: Convert the data contained in an input ascii file named input_abundances.dat into an output xml file named input_abundances.xml

                 perl input_abundances_ascii_to_xml.pl input_abundances.dat input_abundances.xml
               

-top-




Valid XHTML 1.1        Copyright © 2001-2012, Clemson University. All rights reserved.        Valid CSS!
Page last modified on 2007/10/02 08:17