===============================================================================
       Juno Waves Ground Support Software - PDS File Formats and Storage
		 
First Rev: 2009-10-22 through ????, Chris Piker

Revision History
----------------
                          
                
===============================================================================

1. DATA LEVEL DEFINITIONS
=========================
Stream - Raw Stream from test equipment without modifications.  See 
         waves_gs_fmts_stor.txt for more info.

Raw  (Level 1)
       - Packetized stream, contains RPWSGSE headers, see waves_gs_fmts_stor.txt
		   for more information.

Uncalibrated (Level 2)
       - Packetized data that is unsegmented, decompressed and unpacked.  These
		   are the results of the processing documented in waves_gs_fmts_stor.txt.
			Packets in the same format define the Level 2 products below.  The
			*.ucal and *.hsk.raw data are sorted into files as defined in this
			document.

PDS (Level 3)
       - Planetary Data Systems archive approved formats, defined here and in
		   the Juno Waves SIS (Software Interface Specification) apporved by the
			PPI node (UCLA) of the PDS.
			
			
			
2. FILE NAME PATTERNS
=====================			

        Add More Here, describe fixed coverage period nature of the files
		  and how this affects the file names.
			
			
3. STORAGE HIERARCHY
====================

PDS_DATA_TOP                             PDS compliant files. All times on these
 |                                       files are taken from SCLK inside
 |                                       the packets.  PDS files contain data
 |                                       in defined time ranges, i.e. 1 file
 |                                       per day, 1 file per hour etc.   The
 |                                       basic filename pattern for PDS data
 |                                       is reproduced here.  See the Juno PDS
 |                                       SIS for most details.
 |
 +-WAVES_LEVEL2                          Sorted Packets from *.lrs.ucal, 
 |  |                                    *.hrs.ucal, and *.hsk.raw files.
 |  |
 |  +-TYYYYxxxx
 |     |
 |     +-TYYYYMMxx
 |		    |
 |        +-TYYYYMMDD
 | 			 |
 |           +-WAV_L2.FMT
 |           |
 |           +-WAV_YYYYMMDDTHH_LRS_L2-Vnn.LBL
 |           +-WAV_YYYYMMDDTHH_LRS_L2-Vnn.PKT
 |           |
 |           +-WAV_YYYYMMDDTHH_HRS_L2-Vnn.LBL
 |           +-WAV_YYYYMMDDTHH_HRS_L2-Vnn.PKT
 |           |
 |           +-WAV_YYYYMMDDTHH_HSK_L2-Vnn.LBL  (Not Included in data shipped
 |           +-WAV_YYYYMMDDTHH_HSK_L2-Vnn.PKT   to the JSOC, but needed for
 |                                              generating LEVEL3 data.)
 |
 |
 +-WAVES_LEVEL3_SPECTRA                  Generated from LEVEL2 and CALIB data
 |  |                                    
 |  |
 |  +-TYYYYXXXX
 |    | 
 |     +-TYYYYMMXX
 |        |
 |        +-WAV_L3_SPECTRA.FMT
 |        |
 |        +-WAV_YYYYMMDD_SPEC_B-Vnn.LBL
 |        +-WAV_YYYYMMDD_SPEC_B-Vnn.DAT
 |        |
 |        +-WAV_YYYYMMDD_SPEC_E-Vnn.LBL
 |        +-WAV_YYYYMMDD_SPEC_E-Vnn.DAT
 |
 |
 +-WAVES_LEVEL3_WAVEFORM                 Generated from LEVEL2 and CALIB data
    |                                    
    |
    +-TYYYYXXXX
      | 
       +-TYYYYMMXX
          |
          +-WAV_L3_WAVEFORM.FMT
          |
          +-WAV_L3_WAVEFORM_MIXED.FMT
          |
          +-WAV_YYYYMMDD_0020_KHZ_B-Vnn.LBL
          +-WAV_YYYYMMDD_0020_KHZ_B-Vnn.DAT
          |
          +-WAV_YYYYMMDD_0020_KHZ_E-Vnn.LBL
          +-WAV_YYYYMMDD_0020_KHZ_E-Vnn.DAT
          |
          +-WAV_YYYYMMDD_0150_KHZ_E-Vnn.LBL
          +-WAV_YYYYMMDD_0150_KHZ_E-Vnn.DAT
          |
          +-WAV_YYYYMMDD_3000_KHZ_E-Vnn.LBL
          +-WAV_YYYYMMDD_3000_KHZ_E-Vnn.DAT
          |
          +-WAV_YYYYMMDD_MIXED____E-Vnn.LBL
          +-WAV_YYYYMMDD_MIXED____E-Vnn.DAT
