Operation

The Tools Service offers access to both the Transform Tool and the Validate Tool via the PDS Tools Service or the WRP Tools Service applications.

Transform Tool Service

The Transform Tool Service is accessed via the PDS Tools Service which interfaces with WRP Tools Service to perform the transformations. The main screen of the application is as follows:

Transform Tools Service Screen Shot
Click on the image for a larger version.


  1. Click 'Browse...' button to choose file(s).
  2. Click 'Upload File(s)' button to upload file(s).
  3. Click 'Continue' button.
Before transforming
Click on the image for a larger version.


  1. Choose a format to transform from the format list.
  2. Choose a check box of 'List Objects' if needed.
  3. Click 'Transform' button.
After transforming
Click on the image for a larger version.


Click a link 'Download' from the result page to download a transformed product.

After transforming
Click on the image for a larger version.


Validate Tool Service

The Validate Tool Service software will eventually be a part of the PDS Tools Service which interfaces with the WRP Tools Service. In this release though, the Validate Tool can be called directly from the WRP Tools Service with REST-based request. The following is an example of validating a URL-referenced product via the service:

http://localhost:8080/ts/validate?target="https://starbase.jpl.nasa.gov/pds4/1700/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml"&options=f

The above command returns the results in JSON format:

{"application":"validate-1.13.0","result":{"stdout":"{\n \"title\": \"PDS Validation Tool Report\",\n \"configuration\": {\n \"version\": \"1.13.0\",\n \"date\": \"2018-04-23T22:53:25Z\"\n },\n \"parameters\": {\n \"targets\": \"[https://starbase.jpl.nasa.gov/pds4/1700/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml]\",\n \"severityLevel\": \"WARNING\",\n \"recurseDirectories\": \"true\",\n \"fileFiltersUsed\": \"[*.xml, *.XML]\",\n \"forceMode\": \"on\",\n \"dataContentValidation\": \"on\"\n },\n \"productLevelValidationResults\": [\n {\n \"status\": \"PASS\",\n \"label\": \"https://starbase.jpl.nasa.gov/pds4/1700/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml\",\n \"messages\": [],\n \"fragments\": [],\n \"dataContents\": []\n }\n ],\n \"summary\": {\n \"totalErrors\": 0,\n \"totalWarnings\": 0\n }\n}","rv":0,"success":true,"stderr":"","hash":"43efe3bb2d29203da55093a6d095776f"},"error":{"type":"n/a","message":""},"input":{"keyed":{"target":"\"https://starbase.jpl.nasa.gov/pds4/1700/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml\"","options":"f"}},"method":"GET","ts":{"application":"wrp-tools-service","version":"pdseng"}}