<Spase xmlns="http://www.spase-group.org/data/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.spase-group.org/data/schema  http://www.spase-group.org/data/schema/spase-2_2_1.xsd">
    <Version>2.2.1</Version>
    <NumericalData>
        <ResourceID>spase://VEPO/NumericalData/ACE/EPAM/PHA/G93</ResourceID>
        <ResourceHeader>
            <ResourceName>ACE Electron Proton Alpha Monitor (EPAM) PHA Event Data</ResourceName>
            <AlternateName>EPAM-PHA-EVENT</AlternateName>
            <ReleaseDate>2007-11-06T00:00:00.000</ReleaseDate>
            <ExpirationDate>2008-10-01T00:00:00.000</ExpirationDate>
            <Description>
	Pulse Height Analyzer matrix data for a single Solar Energetic Particle event
	from the ACE:EPAM instrument.  Using the PHA data, one can quickly and 
	very accurately determine composition.
      </Description>
            <Acknowledgement>Thomas P. Armstrong, Fundamental Technologies LLC</Acknowledgement>
            <Contact>
                <PersonID>spase://SMWG/Person/Thomas.P.Armstrong</PersonID>
                <Role>DataProducer</Role>
            </Contact>
            <InformationURL>
                <Name>EPAM Overview at ASC</Name>
                <URL>http://www.srl.caltech.edu/ACE/ASC/level2/epam_l2desc.html</URL>
                <Description>Overview of EPAM instrument, terminology, species and 
energy bins</Description>
            </InformationURL>
            <InformationURL>
                <Name>Explanation of print-groups and CSV file nomenclature.</Name>
                <URL>http://data.ftecs.com/VHO/VEPO/ulysses_hiscale/metadata/explanations/</URL>
                <Description>The Explanation.html page at Fundamental Technologies (FTECS) 
describes how the numeric data from the Ulysses HISCALE instrument are divided into 
different print-groups (referred to as "data" sets above), the nomenclature of the 
ASCII-based comma-separated variable (CSV) files, and how those files can be 
accessed.  Owing to their great similarities, "this file works for both EPAM
and HISCALE." - TPA</Description>
            </InformationURL>
            <Association>
                <AssociationID>spase://VEPO/NumericalData/ACE/EPAM/PHA/G94</AssociationID>
            </Association>
        </ResourceHeader>
        <AccessInformation>
            <RepositoryID>spase://SMWG/Repository/FTECS</RepositoryID>
            <Availability>Online</Availability>
            <AccessRights>Open</AccessRights>
            <AccessURL>
                <Name>ACE EPAM PHA Event Data</Name>
                <URL>http://data.ftecs.com/VHO/VEPO/ace_epam/pha/events/</URL>
                <Description>
          Parent directory containing the PHA event data for the ACE/EPAM instrument
	  for the entire mission.
        </Description>
            </AccessURL>
            <Format>Text</Format>
            <Encoding>ASCII</Encoding>
            <Acknowledgement>Thomas P. Armstrong, Fundamental Technologies LLC</Acknowledgement>
        </AccessInformation>
        <InstrumentID>spase://SMWG/Instrument/ACE/EPAM</InstrumentID>
        <MeasurementType>EnergeticParticles</MeasurementType>
        <TemporalDescription>
            <TimeSpan>
                <StartDate>1990-01-01T00:00:00.000</StartDate>
                <StopDate>2007-12-31T23:59:59.000</StopDate>
            </TimeSpan>
            <Cadence>PT17M</Cadence>
        </TemporalDescription>
        <ObservedRegion>Heliosphere.Outer</ObservedRegion>
    
    <!--Time Block-->
        <Parameter>
            <Name>Time for the record</Name>
            <ParameterKey>TimeStamp</ParameterKey>
            <Description>
        Time for the record given in year, day of year, hour, min, and decimal seconds.
        The given time represents the beginning of the event interval.
      </Description>
            <Structure>
                <Size>5</Size>
                <Element>
                    <Name>Year</Name>
                    <Index>1</Index>
                    <ValidMin>"+cyear+"</ValidMin>
                    <ValidMax>"+cyear+"</ValidMax>
                    <FillValue>-9999</FillValue>
                </Element>
                <Element>
                    <Name>Day of year</Name>
                    <Index>2</Index>
                    <ValidMin>1</ValidMin>
                    <ValidMax>366</ValidMax>
                    <FillValue>-999</FillValue>
                </Element>
                <Element>
                    <Name>Hour of day</Name>
                    <Index>3</Index>
                    <ValidMin>0</ValidMin>
                    <ValidMax>23</ValidMax>
                    <FillValue>-99</FillValue>
                </Element>
                <Element>
                    <Name>Minute of hour</Name>
                    <Index>4</Index>
                    <ValidMin>0</ValidMin>
                    <ValidMax>59</ValidMax>
                    <FillValue>-99</FillValue>
                </Element>
                <Element>
                    <Name>Seconds of minute</Name>
                    <Index>5</Index>
                    <ValidMin>0.00</ValidMin>
                    <ValidMax>59.99</ValidMax>
                    <FillValue>-99.99</FillValue>
                </Element>
            </Structure>
            <Support>
                <SupportQuantity>Temporal</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>Number of Events</Name>
            <ParameterKey>NEVENTS</ParameterKey>
            <Description>Number of C/D pairs contained in this event file.</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>1024</ValidMax>
            <FillValue>null</FillValue>
            <Support>
                <SupportQuantity>Other</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>Event time offset</Name>
            <ParameterKey>ETIME</ParameterKey>
            <Description>Time offset for a given C/D pair in hundredths of a second</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>204800</ValidMax>
            <FillValue>null</FillValue>
            <Support>
                <SupportQuantity>Temporal</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>Sector</Name>
            <ParameterKey>SECT</ParameterKey>
            <Description>Sector, 1-8, in which the C/D event pair occurs.</Description>
            <ValidMin>1</ValidMin>
            <ValidMax>8</ValidMax>
            <FillValue>null</FillValue>
            <Support>
                <SupportQuantity>Other</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>C1 Digitized Height</Name>
            <ParameterKey>C1</ParameterKey>
            <Description>Digitized pulse height from the first sampling of the C detector.</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>255</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>D1 Digitized Height</Name>
            <ParameterKey>D1</ParameterKey>
            <Description>Digitized pulse height from the first sampling of the D detector.</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>255</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>C2 Digitized Height</Name>
            <ParameterKey>C2</ParameterKey>
            <Description>Digitized pulse height from the second sampling of the C detector.</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>255</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>D2 Digitized Height</Name>
            <ParameterKey>D2</ParameterKey>
            <Description>Digitized pulse height from the second sampling of the D detector.</Description>
            <ValidMin>0</ValidMin>
            <ValidMax>255</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>C1 Energy</Name>
            <ParameterKey>C1-Eng</ParameterKey>
            <Description>Deposited energy from the first sampling of the C detector.</Description>
            <Units>keV</Units>
            <ValidMin>0.0</ValidMin>
            <ValidMax>1.00E+06</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>D1 Energy</Name>
            <ParameterKey>D1-Eng</ParameterKey>
            <Description>Deposited energy from the first sampling of the D detector.</Description>
            <Units>keV</Units>
            <ValidMin>0.0</ValidMin>
            <ValidMax>1.00E+06</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>C2 Energy</Name>
            <ParameterKey>C2-Eng</ParameterKey>
            <Description>Deposited energy from the second sampling of the C detector.</Description>
            <Units>keV</Units>
            <ValidMin>0.0</ValidMin>
            <ValidMax>1.00E+06</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>D2 Energy</Name>
            <ParameterKey>D2-Eng</ParameterKey>
            <Description>Deposited energy from the second sampling of the D detector.</Description>
            <Units>keV</Units>
            <ValidMin>0.0</ValidMin>
            <ValidMax>1.00E+06</ValidMax>
            <FillValue>null</FillValue>
            <Particle>
                <ParticleType>Ion</ParticleType>
                <ParticleQuantity>Energy</ParticleQuantity>
            </Particle>
        </Parameter>
        <Parameter>
            <Name>Priority Schedule</Name>
            <ParameterKey>PSCHED</ParameterKey>
            <Description>
	Schedule for species priority:
	  0 - Fe, O, He, H
	  1 - O, Fe, H, He
	  2 - H, Fe, O, He
	  3 - He, Fe, O, H
      </Description>
            <ValidMin>0</ValidMin>
            <ValidMax>3</ValidMax>
            <FillValue>null</FillValue>
            <Support>
                <SupportQuantity>Other</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>Event 1 Channel</Name>
            <ParameterKey>E1-Ch</ParameterKey>
            <Description>Channel which triggered the first event pair, W1-W8.</Description>
            <Support>
                <SupportQuantity>Other</SupportQuantity>
            </Support>
        </Parameter>
        <Parameter>
            <Name>Event 2 Channel</Name>
            <ParameterKey>E2-Ch</ParameterKey>
            <Description>Channel which triggered the second event pair, W1-W8.</Description>
            <Support>
                <SupportQuantity>Other</SupportQuantity>
            </Support>
        </Parameter>
    </NumericalData>
</Spase>