<?xml version="1.0" encoding="UTF-8"?>
<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_3_1.xsd">
   <Version>2.3.1</Version>
   <NumericalData>
      <ResourceID>spase://CNES/NumericalData/CDPP-AMDA/PSP/SPC/psp-spc-fit</ResourceID>
      <ResourceHeader>
          <ResourceName>fits</ResourceName>
          <AlternateName>SWEAP Level 3 fits</AlternateName>      
          <ReleaseDate>2019-11-12T10:48:29Z</ReleaseDate>
         <Description>
             This data product contains derived measurements of ion properties in the solar wind, including 
             density, temperature, velocity vector. The velocity, temperature, and density of the solar wind proton 
             population are estimated by fitting each spectrum to a single Maxwellian or a set of Maxwellian ion 
             populations. 
             
             * p1 
             fit to the “primary” proton peak. This is the peak or largest amplitude observed in a 
             given l2i spectrum. A locus of measurements is selected that includes the absolute 
             maximum and at least the 1/e folding, if possible, on either side for this fit. 
             * a 
             fit to the “primary” alpha particle (He++) peak, if resolved. For l3i measurements, this is 
             “guessed” by searching for a secondary peak in each l2i spectrum in the neighborhood 
             of twice the p1 peak energy. 
             * 3 
             if an additional high signal-to-noise feature is present in the l2i spectrum, typically due 
             to a proton beam or shoulder but also potentially due to a cold minor ion population, a fit 
             is attempted to the p1-subtracted residuals on this neighborhood. The POP3_MTOQ 
             variable is used to indicate the species. 
             * p_tot 
             if p1 and 3 are successfully fit, and the 3 population is determined to be protons, this 
             signifies the total proton parameters (np =total proton density, vp = center of mass 
             velocity, wp = effective thermal velocity, accounting for both populations and their relative 
             drift).
             
         </Description>
         <Acknowledgement>
             Please acknowledge the NASA Parker Solar Probe Mission and SWEAP team 
             led by Justin Kasper for use of data.
         </Acknowledgement>
         <Contact>
           <PersonID>spase://SMWG/Person/Justin.C.Kasper</PersonID>
           <Role>PrincipalInvestigator</Role>
         </Contact>
          <Contact>
              <PersonID>spase://SMWG/Person/Anthony.W.Case</PersonID>
              <Role>SPCInstrumentScientist</Role>
          </Contact>
          <InformationURL>
           <Name>User Guide</Name>
             <URL>https://spdf.sci.gsfc.nasa.gov/pub/data/psp/sweap/sweap_data_user_guide.pdf</URL>
           <Description>
               User Guide for Parker Solar Probe SWEAP-SPC Investigation Data Products
           </Description>
         </InformationURL>
      </ResourceHeader>
      <AccessInformation>
         <RepositoryID>spase://SMWG/Repository/CNES/CDPP-AMDA</RepositoryID>
         <Availability>Online</Availability>
         <AccessRights>Open</AccessRights>
         <AccessURL>
            <Name>AMDA at CDPP</Name>
            <URL>
                http://amda.cdpp.eu
            </URL>
         </AccessURL>
         <Format>Text</Format>
         <Acknowledgement>
                AMDA is a science analysis system provided by the Centre de Donnees de la 
                Physique des Plasmas (CDPP) supported by CNRS, CNES, Observatoire de Paris and 
                Universite Paul Sabatier, Toulouse
         </Acknowledgement>
      </AccessInformation>
      <ProviderName>SPDF</ProviderName> 
       <ProviderResourceName>psp/sweap/spc/l3/l3i/</ProviderResourceName>
      <ProviderAcknowlegment> 
          Please acknowledge the CDAWeb team at GSFC/SPDF.</ProviderAcknowlegment>
      <InstrumentID>spase://CNES/Instrument/CDPP-AMDA/PSP/SPC</InstrumentID>
      <MeasurementType>Spectrum</MeasurementType>
      <TemporalDescription>
         <TimeSpan>
            <StartDate>2018-09-02T00:00:12Z</StartDate>
             <StopDate>2025-08-12T23:59:55Z</StopDate>
         </TimeSpan>
          <CadenceMin>PT0.002S</CadenceMin>
          <CadenceMax>PT250S</CadenceMax>
      </TemporalDescription>
      <ObservedRegion>Heliosphere.Inner</ObservedRegion>
      <ObservedRegion>Sun.Corona</ObservedRegion>
       

<!-- Parameters with p1 fit -->

      <Parameter>
         <Name>np1</Name>
         <ParameterKey>psp_spc_np1</ParameterKey>
         <Description>
             Number density, fitted to the “primary” proton peak
         </Description>
         <Units>cm-3</Units>
         <RenderingHints>
              <DisplayType>TimeSeries</DisplayType>
         </RenderingHints>
      </Parameter>
       <Parameter>
           <Name>np1_uncertainty</Name>
           <ParameterKey>psp_spc_dnp1</ParameterKey>
           <Description>
               Estimated uncertainty on the number density, fitted to the “primary” proton peak
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wp1</Name>
           <ParameterKey>psp_spc_wp1</ParameterKey>
           <Description>
               Thermal velocity = sqrt(2kT/m), fitted to the “primary” proton peak
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wp1_uncertainty</Name>
           <ParameterKey>psp_spc_dwp1</ParameterKey>
           <Description>
               Estimated uncertainty on the thermal velocity, fitted to the “primary” proton peak
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       
       <Parameter>
           <Name>vp1_rtn</Name>
           <ParameterKey>psp_spc_vp1</ParameterKey>
           <Description>
               Velocity vector, estimated from the radial thermal velocity fit p1 and flow angle
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>vp1r</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_vp1(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>vp1t</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_vp1(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>vp1n</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_vp1(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>
       <Parameter>
           <Name>vp1_uncertainty</Name>
           <ParameterKey>psp_spc_dvp1</ParameterKey>
           <Description>
               Velocity vector component upper uncertainties
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>dvp1r</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_dvp1(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>dvp1t</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_dvp1(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>dvp1n</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_dvp1(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>

<!-- Parameters with "a" fit -->


       <Parameter>
           <Name>na</Name>
           <ParameterKey>psp_spc_na</ParameterKey>
           <Description>
               Number density, fitted to the “primary” alpha particle (He++) peak, if resolved
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>na_uncertainty</Name>
           <ParameterKey>psp_spc_dna</ParameterKey>
           <Description>
               Estimated uncertainty on the number density, fitted to the “primary” alpha particle (He++) peak, if resolved
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wa</Name>
           <ParameterKey>psp_spc_wa</ParameterKey>
           <Description>
               Thermal velocity = sqrt(2kT/m), fitted to the “primary” alpha particle (He++) peak, if resolved
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wa_uncertainty</Name>
           <ParameterKey>psp_spc_dwa</ParameterKey>
           <Description>
               Estimated uncertainty on the thermal velocity, fitted to the “primary” alpha particle (He++) peak, if resolved
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>va_rtn</Name>
           <ParameterKey>psp_spc_va</ParameterKey>
           <Description>
               Velocity vector, estimated from the radial thermal velocity fit and flow angle
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>var</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_va(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>vat</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_va(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>van</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_va(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>
       <Parameter>
           <Name>va_uncertainty</Name>
           <ParameterKey>psp_spc_dva</ParameterKey>
           <Description>
               Velocity vector component uncertainties
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>dvar</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_dva(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>dvat</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_dva(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>dvan</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_dva(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>


<!-- parameters with 3 fit -->



       <Parameter>
           <Name>n3</Name>
           <ParameterKey>psp_spc_n3</ParameterKey>
           <Description>
               Number density, fitted to the p1 substracted residuals
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>n3_uncertainty</Name>
           <ParameterKey>psp_spc_dn3</ParameterKey>
           <Description>
               Estimated uncertainty on the number density, fitted to the p1 substracted residuals
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>w3</Name>
           <ParameterKey>psp_spc_w3</ParameterKey>
           <Description>
               Thermal velocity = sqrt(2kT/m), fitted to the p1 substracted residuals
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>w3_uncertainty</Name>
           <ParameterKey>psp_spc_dw3</ParameterKey>
           <Description>
               Estimated uncertainty on the thermal velocity, fitted to the p1 substracted residuals
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>v3_rtn</Name>
           <ParameterKey>psp_spc_v3</ParameterKey>
           <Description>
               Velocity vector, estimated from the radial thermal velocity fit and flow angle
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>v3r</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_v3(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>v3t</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_v3(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>v3n</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_v3(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>
       <Parameter>
           <Name>v3_uncertainty</Name>
           <ParameterKey>psp_spc_dv3</ParameterKey>
           <Description>
               Velocity vector component uncertainties
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>dv3r</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_dv3(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>dv3t</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_dv3(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>dv3n</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_dv3(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>

<!-- parameters with p tot -->


       <Parameter>
           <Name>np_tot</Name>
           <ParameterKey>psp_spc_np_tot</ParameterKey>
           <Description>
               If p1 and 3 are successfully fitted, total proton density
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>np_tot_uncertainty</Name>
           <ParameterKey>psp_spc_dnp_tot</ParameterKey>
           <Description>
               Estimated uncertainty on the number density
           </Description>
           <Units>cm-3</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wp_fit</Name>
           <ParameterKey>psp_spc_wp_tot</ParameterKey>
           <Description>
               If p1 and 3 are successfully fitted, effective thermal velocity
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>wp_tot_uncertainty</Name>
           <ParameterKey>psp_spc_dwp_tot</ParameterKey>
           <Units>km/s</Units>
           <Description>
               Estimated uncertainty on the thermal velocity
           </Description>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
       </Parameter>
       <Parameter>
           <Name>vp_tot_rtn</Name>
           <ParameterKey>psp_spc_vp_tot</ParameterKey>
           <Description>
               If p1 and 3 are successfully fitted, center of mass velocity vector
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>vp_totr</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_vp_tot(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>vp_tott</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_vp_tot(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>vp_totn</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_vp_tot(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>
       <Parameter>
           <Name>vp_tot_uncertainty</Name>
           <ParameterKey>psp_spc_dvp_tot</ParameterKey>
           <Description>
               Velocity vector component uncertainties
           </Description>
           <Units>km/s</Units>
           <RenderingHints>
               <DisplayType>TimeSeries</DisplayType>
           </RenderingHints>
           <Structure>
               <Size>3</Size>
               <Element>
                   <Name>dvp_totr</Name>
                   <Qualifier>Component.I</Qualifier>
                   <Index>1</Index>
                   <ParameterKey>psp_spc_dvp_tot(0)</ParameterKey>                           
               </Element>
               <Element>
                   <Name>dvp_tott</Name>
                   <Qualifier>Component.J</Qualifier>
                   <Index>2</Index>
                   <ParameterKey>psp_spc_dvp_tot(1)</ParameterKey>      
               </Element>
               <Element>
                   <Name>dvp_totn</Name>
                   <Qualifier>Component.K</Qualifier>
                   <Index>3</Index>
                   <ParameterKey>psp_spc_dvp_tot(2)</ParameterKey> 
               </Element>
           </Structure>
       </Parameter>
       
</NumericalData>
</Spase>