• Nasa Portal
  • Site Help
  • Feedback
  • Phone Book
Search For:
in
  • HOME
  • OVERVIEW
  • DATA
  • DOCUMENTS
  • SOFTWARE
  • PERSONNEL
  • RELATED SITES
  • ABOUT PDS
 

QUICK SEARCH

Advanced Search
List By Instrument
List By Missions

QUICK LINKS

FAQ
Citation Policy
Errata for all volumes
Help for Data Users
Help for Data Reviewers
Help for Data Providers

PDS NODES

PDS Home
Atmospheres
Geosciences
Cartography and Imaging Sciences
NAIF - SPICE
Ring-Moon Systems
Small Bodies
Management
Labeler is a Java application which uses the PDS/PPI ruleset processor to generate PDS labels for files. It can be run from the command-line or may be embedded in Java servlets.
Here's what is available
Ruleset Language reference document
User's guide
Source code: labeler.java
Compiled Java Application: labeler.class
Installation instructions
1. Place the "labeler.class" file in $JAVA_HOME/jre/lib/pdsppi
2. Add "$JAVA_HOME/jre/lib/pdsppi" to your CLASSPATH environment variable.
Note: The application also uses the PDS Label parser, PDS/PPI Ruleset Processor, IGPP classes (iggp.jar) and Javax Servlet (javax.servlet.jar).
You will need to download these Jar files as well.
Some examples
Example ruleset to process a file.
Example ruleset for constants
Example template
A servlet that calls the Labeler to generate a response
<%@ page language="java" contentType="text/html" %>
<%@ page import="ruleset.Labeler" %>
<%
    ruleset.Labeler example = new ruleset.Labeler();
    example.setOutput(out);
    example.processItem("example.rul", "example.dat");
%>
Important additional information.Read This

NEW RELEASES

More.....

PDS RESOURCES

Archive Planning Guide
Standards Reference
Data Dictionary
      Lookup Tool
      Document(3.3MB)
All documents and references
PDS Phonebook
PDS Subscription Service

OTHER RESOURCES

ADS Search
Privacy / Copyright
Freedom of Information Act
Web Master: PDS-PPI Operator
Nasa Official: William Knopf
Last Updated: Febuary 2009