From b4592115ed1f745c2e049fdfd613b08e363b0c2c Mon Sep 17 00:00:00 2001
From: Benjamin Renard <benjamin.renard@akka.eu>
Date: Thu, 29 Apr 2021 10:25:22 +0200
Subject: [PATCH] Merge MMS Ephemeris from amdadev

---
 NumericalData/CDPP-AMDA/MMS/MMS1/Ephemeris/mms1-orb-t89d.xml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 NumericalData/CDPP-AMDA/MMS/MMS2/Ephemeris/mms2-orb-t89d.xml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 NumericalData/CDPP-AMDA/MMS/MMS3/Ephemeris/mms3-orb-t89d.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 NumericalData/CDPP-AMDA/MMS/MMS4/Ephemeris/mms4-orb-t89d.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 Observatory/CDPP-AMDA/MMS.xml                                | 17 +++++++++++++++--
 5 files changed, 257 insertions(+), 14 deletions(-)

diff --git a/NumericalData/CDPP-AMDA/MMS/MMS1/Ephemeris/mms1-orb-t89d.xml b/NumericalData/CDPP-AMDA/MMS/MMS1/Ephemeris/mms1-orb-t89d.xml
index 712e0ba..e3e58df 100644
--- a/NumericalData/CDPP-AMDA/MMS/MMS1/Ephemeris/mms1-orb-t89d.xml
+++ b/NumericalData/CDPP-AMDA/MMS/MMS1/Ephemeris/mms1-orb-t89d.xml
@@ -21,7 +21,7 @@
             </InformationURL>
             <InformationURL>
                 <Name>Science Data Center at LASP</Name>
-                <URL>http://lasp.colorado.edu/mms/sdc/</URL>
+                <URL>https://lasp.colorado.edu/mms/sdc/public/datasets/mec/</URL>
             </InformationURL>
         </ResourceHeader>
         <AccessInformation>
@@ -34,7 +34,7 @@
             </AccessURL>
             <Format>NetCDF</Format>
         </AccessInformation>
-        <ProviderName>IRAP</ProviderName>
+        <ProviderName>LANL</ProviderName>
         <InstrumentID>spase://CNES/Instrument/CDPP-AMDA/MMS1/Ephemeris</InstrumentID>
         <MeasurementType>Ephemeris</MeasurementType>
         <TemporalDescription>
@@ -82,6 +82,64 @@
             <Support>
                 <SupportQuantity>Positional</SupportQuantity>
             </Support>          
-        </Parameter>        
+        </Parameter>
+
+	<Parameter>
+            <Name>xyz_gsm</Name>
+            <ParameterKey>mms1_xyz_gsm</ParameterKey>
+            <Description>Spacecraft position in GSM</Description>
+            <Ucd>pos.earth;instr.obsty</Ucd>
+            <Units>Re</Units>             
+            <UnitsConversion>6.4e6&gt;m</UnitsConversion>            
+            <CoordinateSystem>
+                <CoordinateRepresentation>Cartesian</CoordinateRepresentation>
+                <CoordinateSystemName>GSM</CoordinateSystemName>
+            </CoordinateSystem>            
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <Structure>
+                <Size>3</Size>
+                <Element>
+                    <Name>x</Name>
+                    <Qualifier>Component.I</Qualifier>
+                    <Index>1</Index>
+                    <ParameterKey>mms1_xyz_gsm(0)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>y</Name>
+                    <Qualifier>Component.J</Qualifier>
+                    <Index>2</Index>
+                    <ParameterKey>mms1_xyz_gsm(1)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>z</Name>
+                    <Qualifier>Component.K</Qualifier>
+                    <Index>3</Index>
+                    <ParameterKey>mms1_xyz_gsm(2)</ParameterKey>                  
+                </Element>
+            </Structure>
+            <Support>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>          
+        </Parameter>
+
+        <Parameter>
+            <Name>distance mms1-earth</Name>
+            <ParameterKey>mms1_r</ParameterKey>
+            <Description/>
+            <Ucd>pos.distance;instr.obsty</Ucd>
+            <Units>Re</Units>
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <ValidMin>0.0</ValidMin>
+            <FillValue>-1.0E31</FillValue>
+            <Support>
+                <Qualifier>Magnitude</Qualifier>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>
+        </Parameter>
+        
     </NumericalData>
 </Spase>
diff --git a/NumericalData/CDPP-AMDA/MMS/MMS2/Ephemeris/mms2-orb-t89d.xml b/NumericalData/CDPP-AMDA/MMS/MMS2/Ephemeris/mms2-orb-t89d.xml
index a71eaed..7722520 100644
--- a/NumericalData/CDPP-AMDA/MMS/MMS2/Ephemeris/mms2-orb-t89d.xml
+++ b/NumericalData/CDPP-AMDA/MMS/MMS2/Ephemeris/mms2-orb-t89d.xml
@@ -21,7 +21,7 @@
             </InformationURL>
             <InformationURL>
                 <Name>Science Data Center at LASP</Name>
-                <URL>http://lasp.colorado.edu/mms/sdc/</URL>
+                <URL>https://lasp.colorado.edu/mms/sdc/public/datasets/mec/</URL>
             </InformationURL>
         </ResourceHeader>
         <AccessInformation>
@@ -34,7 +34,7 @@
             </AccessURL>
             <Format>NetCDF</Format>
         </AccessInformation>
-        <ProviderName>IRAP</ProviderName>
+        <ProviderName>LANL</ProviderName>
         <InstrumentID>spase://CNES/Instrument/CDPP-AMDA/MMS2/Ephemeris</InstrumentID>
         <MeasurementType>Ephemeris</MeasurementType>
         <TemporalDescription>
@@ -82,6 +82,64 @@
             <Support>
                 <SupportQuantity>Positional</SupportQuantity>
             </Support>          
-        </Parameter>        
+        </Parameter>
+
+	<Parameter>
+            <Name>xyz_gsm</Name>
+            <ParameterKey>mms2_xyz_gsm</ParameterKey>
+            <Description>Spacecraft position in GSM</Description>
+            <Ucd>pos.earth;instr.obsty</Ucd>
+            <Units>Re</Units>             
+            <UnitsConversion>6.4e6&gt;m</UnitsConversion>            
+            <CoordinateSystem>
+                <CoordinateRepresentation>Cartesian</CoordinateRepresentation>
+                <CoordinateSystemName>GSM</CoordinateSystemName>
+            </CoordinateSystem>            
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <Structure>
+                <Size>3</Size>
+                <Element>
+                    <Name>x</Name>
+                    <Qualifier>Component.I</Qualifier>
+                    <Index>1</Index>
+                    <ParameterKey>mms2_xyz_gsm(0)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>y</Name>
+                    <Qualifier>Component.J</Qualifier>
+                    <Index>2</Index>
+                    <ParameterKey>mms2_xyz_gsm(1)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>z</Name>
+                    <Qualifier>Component.K</Qualifier>
+                    <Index>3</Index>
+                    <ParameterKey>mms2_xyz_gsm(2)</ParameterKey>                  
+                </Element>
+            </Structure>
+            <Support>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>          
+        </Parameter>
+
+        <Parameter>
+            <Name>distance mms2-earth</Name>
+            <ParameterKey>mms2_r</ParameterKey>
+            <Description/>
+            <Ucd>pos.distance;instr.obsty</Ucd>
+            <Units>Re</Units>
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <ValidMin>0.0</ValidMin>
+            <FillValue>-1.0E31</FillValue>
+            <Support>
+                <Qualifier>Magnitude</Qualifier>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>
+        </Parameter>
+
     </NumericalData>
 </Spase>
diff --git a/NumericalData/CDPP-AMDA/MMS/MMS3/Ephemeris/mms3-orb-t89d.xml b/NumericalData/CDPP-AMDA/MMS/MMS3/Ephemeris/mms3-orb-t89d.xml
index 3cffd47..1b60ffc 100644
--- a/NumericalData/CDPP-AMDA/MMS/MMS3/Ephemeris/mms3-orb-t89d.xml
+++ b/NumericalData/CDPP-AMDA/MMS/MMS3/Ephemeris/mms3-orb-t89d.xml
@@ -21,7 +21,7 @@
             </InformationURL>
             <InformationURL>
                 <Name>Science Data Center at LASP</Name>
-                <URL>http://lasp.colorado.edu/mms/sdc/</URL>
+                <URL>https://lasp.colorado.edu/mms/sdc/public/datasets/mec/</URL>
             </InformationURL>
         </ResourceHeader>
         <AccessInformation>
@@ -34,7 +34,7 @@
             </AccessURL>
             <Format>NetCDF</Format>
         </AccessInformation>
-        <ProviderName>IRAP</ProviderName>
+        <ProviderName>LANL</ProviderName>
         <InstrumentID>spase://CNES/Instrument/CDPP-AMDA/MMS3/Ephemeris</InstrumentID>
         <MeasurementType>Ephemeris</MeasurementType>
         <TemporalDescription>
@@ -82,6 +82,63 @@
             <Support>
                 <SupportQuantity>Positional</SupportQuantity>
             </Support>          
-        </Parameter>        
+        </Parameter>
+
+	<Parameter>
+            <Name>xyz_gsm</Name>
+            <ParameterKey>mms3_xyz_gsm</ParameterKey>
+            <Description>Spacecraft position in GSM</Description>
+            <Ucd>pos.earth;instr.obsty</Ucd>
+            <Units>Re</Units>             
+            <UnitsConversion>6.4e6&gt;m</UnitsConversion>            
+            <CoordinateSystem>
+                <CoordinateRepresentation>Cartesian</CoordinateRepresentation>
+                <CoordinateSystemName>GSM</CoordinateSystemName>
+            </CoordinateSystem>            
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <Structure>
+                <Size>3</Size>
+                <Element>
+                    <Name>x</Name>
+                    <Qualifier>Component.I</Qualifier>
+                    <Index>1</Index>
+                    <ParameterKey>mms3_xyz_gsm(0)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>y</Name>
+                    <Qualifier>Component.J</Qualifier>
+                    <Index>2</Index>
+                    <ParameterKey>mms3_xyz_gsm(1)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>z</Name>
+                    <Qualifier>Component.K</Qualifier>
+                    <Index>3</Index>
+                    <ParameterKey>mms3_xyz_gsm(2)</ParameterKey>                  
+                </Element>
+            </Structure>
+            <Support>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>          
+        </Parameter>
+
+        <Parameter>
+            <Name>distance mms3-earth</Name>
+            <ParameterKey>mms3_r</ParameterKey>
+            <Description/>
+            <Ucd>pos.distance;instr.obsty</Ucd>
+            <Units>Re</Units>
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <ValidMin>0.0</ValidMin>
+            <FillValue>-1.0E31</FillValue>
+            <Support>
+                <Qualifier>Magnitude</Qualifier>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>
+        </Parameter> 
     </NumericalData>
 </Spase>
diff --git a/NumericalData/CDPP-AMDA/MMS/MMS4/Ephemeris/mms4-orb-t89d.xml b/NumericalData/CDPP-AMDA/MMS/MMS4/Ephemeris/mms4-orb-t89d.xml
index 36bc286..c700717 100644
--- a/NumericalData/CDPP-AMDA/MMS/MMS4/Ephemeris/mms4-orb-t89d.xml
+++ b/NumericalData/CDPP-AMDA/MMS/MMS4/Ephemeris/mms4-orb-t89d.xml
@@ -21,7 +21,7 @@
             </InformationURL>
             <InformationURL>
                 <Name>Science Data Center at LASP</Name>
-                <URL>http://lasp.colorado.edu/mms/sdc/</URL>
+                <URL>https://lasp.colorado.edu/mms/sdc/public/datasets/mec/</URL>
             </InformationURL>
         </ResourceHeader>
         <AccessInformation>
@@ -34,7 +34,7 @@
             </AccessURL>
             <Format>NetCDF</Format>
         </AccessInformation>
-        <ProviderName>IRAP</ProviderName>
+        <ProviderName>LANL</ProviderName>
         <InstrumentID>spase://CNES/Instrument/CDPP-AMDA/MMS4/Ephemeris</InstrumentID>
         <MeasurementType>Ephemeris</MeasurementType>
         <TemporalDescription>
@@ -82,6 +82,63 @@
             <Support>
                 <SupportQuantity>Positional</SupportQuantity>
             </Support>          
-        </Parameter>        
+        </Parameter>
+
+	<Parameter>
+            <Name>xyz_gsm</Name>
+            <ParameterKey>mms4_xyz_gsm</ParameterKey>
+            <Description>Spacecraft position in GSM</Description>
+            <Ucd>pos.earth;instr.obsty</Ucd>
+            <Units>Re</Units>             
+            <UnitsConversion>6.4e6&gt;m</UnitsConversion>            
+            <CoordinateSystem>
+                <CoordinateRepresentation>Cartesian</CoordinateRepresentation>
+                <CoordinateSystemName>GSM</CoordinateSystemName>
+            </CoordinateSystem>            
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <Structure>
+                <Size>3</Size>
+                <Element>
+                    <Name>x</Name>
+                    <Qualifier>Component.I</Qualifier>
+                    <Index>1</Index>
+                    <ParameterKey>mms4_xyz_gsm(0)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>y</Name>
+                    <Qualifier>Component.J</Qualifier>
+                    <Index>2</Index>
+                    <ParameterKey>mms4_xyz_gsm(1)</ParameterKey>                   
+                </Element>
+                <Element>
+                    <Name>z</Name>
+                    <Qualifier>Component.K</Qualifier>
+                    <Index>3</Index>
+                    <ParameterKey>mms4_xyz_gsm(2)</ParameterKey>                  
+                </Element>
+            </Structure>
+            <Support>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>          
+        </Parameter>
+
+        <Parameter>
+            <Name>distance mms4-earth</Name>
+            <ParameterKey>mms4_r</ParameterKey>
+            <Description/>
+            <Ucd>pos.distance;instr.obsty</Ucd>
+            <Units>Re</Units>
+            <RenderingHints>
+                <DisplayType>TimeSeries</DisplayType>
+            </RenderingHints>
+            <ValidMin>0.0</ValidMin>
+            <FillValue>-1.0E31</FillValue>
+            <Support>
+                <Qualifier>Magnitude</Qualifier>
+                <SupportQuantity>Positional</SupportQuantity>
+            </Support>
+        </Parameter> 
     </NumericalData>
 </Spase>
diff --git a/Observatory/CDPP-AMDA/MMS.xml b/Observatory/CDPP-AMDA/MMS.xml
index f08fcec..96584ed 100644
--- a/Observatory/CDPP-AMDA/MMS.xml
+++ b/Observatory/CDPP-AMDA/MMS.xml
@@ -7,17 +7,30 @@
       <ResourceName>MMS</ResourceName>
       <AlternateName>Magnetospheric Multiscale Mission</AlternateName>
       <ReleaseDate>2019-03-01T20:05:54Z</ReleaseDate>
-      <Description>MMS consists of four identical spacecraft that orbit around Earth through the dynamic magnetic system surrounding our planet to study a little-understood phenomenon called magnetic reconnection.</Description>
+      <Description>MMS consists of four identical spacecraft that orbit around Earth through the dynamic 
+                 magnetic system surrounding our planet to study a little-understood phenomenon called 
+                 magnetic reconnection.
+                 * MMS was launched on March 12, 2015.
+                 * MMS includes 4 identically instrumented MMS spacecraft fly in an adjustable pyramid-like formation that enables them to observe microphysics processes like electron diffusion region, three-dimensional structure of magnetic reconnection, complex thin current structures, and more.
+      </Description>
       <Contact>
         <PersonID>spase://SMWG/Person/Thomas.Moore</PersonID>
         <Role>ProjectScientist</Role>
       </Contact>
+      <InformationURL>
+        <Name>MMS home at NASA</Name>
+        <URL>https://mms.gsfc.nasa.gov/index.html</URL>
+      </InformationURL>
+      <InformationURL>
+        <Name>Tooley, C.R., Black, R.K., Robertson, B.P. et al. The Magnetospheric Multiscale Constellation. Space Sci Rev 199, 23–76 (2016). https://doi.org/10.1007/s11214-015-0220-5</Name>
+        <URL>https://link.springer.com/article/10.1007/s11214-015-0220-5</URL>
+      </InformationURL>
     </ResourceHeader>
     <Location>
        <ObservatoryRegion>Earth.Magnetosphere</ObservatoryRegion>
     </Location>
     <OperatingSpan>
-      <StartDate>2015-09-01T00:00:00</StartDate>
+      <StartDate>2015-03-12T00:00:00</StartDate>
     </OperatingSpan>
   </Observatory>
 </Spase>
--
libgit2 0.21.2