From aed96e3a0aed56e5a1afab7bcdcd452c8b50338d Mon Sep 17 00:00:00 2001
From: Quentin Brzustowski <quentin.brzustowski@irap.omp.eu>
Date: Tue, 3 Dec 2019 12:37:26 +0100
Subject: [PATCH] Added new person in spase and file QFLAG4 as a test

---
 NumericalData/AMDA/PSP/QFLAGS4.xml | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Person/Nicola.J.Fox.xml            | 12 ++++++++++++
 2 files changed, 106 insertions(+), 0 deletions(-)
 create mode 100644 NumericalData/AMDA/PSP/QFLAGS4.xml
 create mode 100644 Person/Nicola.J.Fox.xml

diff --git a/NumericalData/AMDA/PSP/QFLAGS4.xml b/NumericalData/AMDA/PSP/QFLAGS4.xml
new file mode 100644
index 0000000..36ce980
--- /dev/null
+++ b/NumericalData/AMDA/PSP/QFLAGS4.xml
@@ -0,0 +1,94 @@
+<?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_0.xsd">
+   <Version>2.3.0</Version>
+   <NumericalData>
+      <ResourceID>spase://CDPP/NumericalData/AMDA/PSP/MAG/psp-fld-qflags</ResourceID>
+      <ResourceHeader>
+          <ResourceName>FIELDS Quality Flags</ResourceName>
+          <AlternateName>PSP FIELDS Q-flags</AlternateName>      
+          <ReleaseDate>2019-11-12T10:48:29Z</ReleaseDate>
+         <Description> 
+             The quality flags is a bitwise variable, meaning that multiple flags can be set for a single time, by adding flag values. Current flagged values are: 
+             1: FIELDS antenna bias sweep, 
+             2: PSP thruster firing, 
+             4: SCM Calibration, 
+             8: PSP rotations for MAG calibration (MAG rolls), 
+             16: FIELDS MAG calibration sequence, 
+             32: SWEAP SPC in electron mode, 
+             64: PSP Solar limb sensor (SLS) test. 
+             128: PSP spacecraft is off umbra pointing (heat shield not pointed sunward). 
+             A value of zero corresponds to no set flags
+         </Description>
+         <Acknowledgement>
+         </Acknowledgement>
+         <Contact>
+           <PersonID>spase://SMWG/Person/Stuart.D.Bale </PersonID>
+           <Role>PrincipalInvestigator</Role>
+         </Contact>
+         <InformationURL>
+           <Name>FIELDS data release information</Name>
+             <URL>http://fields.ssl.berkeley.edu/data/</URL>
+           <Description>
+              Relevant information to the data released for the FIELDS instrument on the Parker Solar Probe
+           </Description>
+         </InformationURL>
+      </ResourceHeader>
+      <AccessInformation>
+         <RepositoryID>spase://SMWG/Repository/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/fields/l2/mag_rtn_1min/</ProviderResourceName>
+      <ProviderAcknowlegment> 
+          Please acknowledge the CDAWeb team at GSFC/SPDF.</ProviderAcknowlegment>
+      <InstrumentID>spase://CDPP/Instrument/AMDA/PSP/MAG</InstrumentID>
+      <MeasurementType>InstrumentStatus</MeasurementType>
+      <TemporalDescription>
+         <TimeSpan>
+            <StartDate>2018-08-12T00:00:12Z</StartDate>
+             <StopDate>2025-08-29T23:59:55Z</StopDate>
+         </TimeSpan>
+         <Cadence>PT60S</Cadence>
+      </TemporalDescription>
+      <ObservedRegion>Heliosphere.Inner</ObservedRegion>
+      <Parameter>
+         <Name>quality</Name>
+         <ParameterKey>psp_fld_qfl</ParameterKey>
+         <Description>
+             Bitwise variable quality
+         </Description>
+         <Units></Units>
+         <RenderingHints>
+              <DisplayType>TimeSeries</DisplayType>
+         </RenderingHints>
+         <Structure>
+            <Size>1</Size>
+            <Element>
+                <Name>flag</Name>
+                <Qualifier>Component</Qualifier>
+                <ParameterKey>psp_fld_qfl</ParameterKey>                           
+            </Element>
+         </Structure>
+         <Field>
+            <Qualifier>Vector</Qualifier>
+            <Qualifier>Component.I</Qualifier>
+            <Qualifier>Component.J</Qualifier>
+            <Qualifier>Component.K</Qualifier>
+            <FieldQuantity>Magnetic</FieldQuantity>
+         </Field>
+      </Parameter>
+</NumericalData>
+</Spase>
diff --git a/Person/Nicola.J.Fox.xml b/Person/Nicola.J.Fox.xml
new file mode 100644
index 0000000..153f208
--- /dev/null
+++ b/Person/Nicola.J.Fox.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Spase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.spase-group.org/data/schema" xsi:schemaLocation="http://www.spase-group.org/data/schema http://www.spase-group.org/data/schema/spase-2_2_2.xsd">
+    <Version>2.2.2</Version>
+    <Person>
+        <ResourceID>spase://SMWG/Person/Nicola.J.Fox</ResourceID>
+        <ReleaseDate>2010-03-01T14:30:21Z</ReleaseDate>
+        <PersonName>Dr. Nicola J. Fox</PersonName>
+        <OrganizationName>JHU/APL</OrganizationName>
+        <Address>Applied Physics Laboratory Johns Hopkins University, 11100 Johns Hopkins Road, Laurel MD 20723-6099</Address>
+        <Email>nicola.fox@jhuapl.edu</Email>
+    </Person>
+</Spase>
--
libgit2 0.21.2