From ad9b86d81bd066c554d3049ba105ca39fabd686f Mon Sep 17 00:00:00 2001
From: Quentin Brzustowski <quentin.brzustowski@irap.omp.eu>
Date: Wed, 4 Dec 2019 16:33:22 +0100
Subject: [PATCH] Antenna => antenna

---
 NumericalData/AMDA/PSP/fld_qflags.xml | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 136 insertions(+), 0 deletions(-)
 create mode 100644 NumericalData/AMDA/PSP/fld_qflags.xml

diff --git a/NumericalData/AMDA/PSP/fld_qflags.xml b/NumericalData/AMDA/PSP/fld_qflags.xml
new file mode 100644
index 0000000..5bc2eb0
--- /dev/null
+++ b/NumericalData/AMDA/PSP/fld_qflags.xml
@@ -0,0 +1,136 @@
+<?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/psp-fld-qfl</ResourceID>
+      <ResourceHeader>
+          <ResourceName>quality flag</ResourceName>
+          <AlternateName>PSP FIELDS Quality 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). 
+             * 0: A value of zero corresponds to no set flags
+             The data is available both in the form of an integer and as a vector of 8 components corresponding to the flagging of each scenarii.
+         </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>q value</Name>
+         <ParameterKey>psp_fld_qfl</ParameterKey>
+         <Description>
+             Bitwise variable quality
+         </Description>
+         <Units></Units>
+         <RenderingHints>
+              <DisplayType>TimeSeries</DisplayType>
+         </RenderingHints>
+         <Structure>
+             <Size>1</Size>
+         </Structure>
+      </Parameter>
+      <Parameter>
+          <Name>q vector</Name>
+          <ParameterKey>psp_fld_qflbin</ParameterKey>
+          <Description>
+              Quality flags described as a vector. Each component corresponds to a flag value
+          </Description>
+          <RenderingHints>
+              <DisplayType>TimeSeries</DisplayType>
+          </RenderingHints>
+          <Structure>
+              <Size>8</Size>
+              <Element>
+                  <Name>antenna sweep</Name>
+                  <Index>1</Index>
+                  <ParameterKey>psp_fld_qflbin(0)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>thruster firing</Name>
+                  <Index>2</Index>
+                  <ParameterKey>psp_fld_qflbin(1)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>SCM calibr.</Name>
+                  <Index>3</Index>
+                  <ParameterKey>psp_fld_qflbin(2)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>PSP rotations</Name>
+                  <Index>4</Index>
+                  <ParameterKey>psp_fld_qflbin(3)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>MAG calibr. seq.</Name>
+                  <Index>5</Index>
+                  <ParameterKey>psp_fld_qflbin(4)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>SWP cup e- mode</Name>
+                  <Index>6</Index>
+                  <ParameterKey>psp_fld_qflbin(5)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>SLS test</Name>
+                  <Index>7</Index>
+                  <ParameterKey>psp_fld_qflbin(6)</ParameterKey>
+              </Element>
+              <Element>
+                  <Name>off umbra</Name>
+                  <Index>8</Index>
+                  <ParameterKey>psp_fld_qflbin(7)</ParameterKey>
+              </Element>
+          </Structure>
+       </Parameter>
+</NumericalData>
+</Spase>
--
libgit2 0.21.2