From e06fd03a44faa2796b08e31f1211485d3f63caeb Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Tue, 10 Dec 2019 15:38:52 +0100
Subject: [PATCH] correct themisb peif

---
 INTERNAL_PARAM_DEF/thb_ion_sp_energy.xml | 10 ++++++++++
 PARAM_DEF/thb_ion_sp.xml                 | 25 ++++++++++++-------------
 2 files changed, 22 insertions(+), 13 deletions(-)
 create mode 100644 INTERNAL_PARAM_DEF/thb_ion_sp_energy.xml

diff --git a/INTERNAL_PARAM_DEF/thb_ion_sp_energy.xml b/INTERNAL_PARAM_DEF/thb_ion_sp_energy.xml
new file mode 100644
index 0000000..d02717b
--- /dev/null
+++ b/INTERNAL_PARAM_DEF/thb_ion_sp_energy.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<param xml:id="thb_ion_sp_energy">
+	<get>
+		<vi name="thb:esa:l2i">
+			<baseParam name="Energy"/>
+		</vi>
+	</get>
+	<process/>
+	<output/> 
+</param>
diff --git a/PARAM_DEF/thb_ion_sp.xml b/PARAM_DEF/thb_ion_sp.xml
index 7fe9d04..259d11d 100644
--- a/PARAM_DEF/thb_ion_sp.xml
+++ b/PARAM_DEF/thb_ion_sp.xml
@@ -2,16 +2,15 @@
 <param xml:id="thb_ion_sp">
 	<info>
 		<table>
-			<centerAutoTable name="energy" centerName="Energy" log="false" units="eV"/>
+			<centerAutoTable name="energy" centerName="thb_ion_sp_energy" log="false" units="eV"/>
 		</table>
 	</info>
 	<gap_threshold>8</gap_threshold>
 	<get>
 		<vi name="thb:esa:l2i">
-			<baseParam name="Flux">
-				<clb name="Energy"/>
-			</baseParam>
+			<baseParam name="Flux"/>
 		</vi>
+        <amdaParam name='thb_ion_sp_energy'/>
 	</get>
 	<process/>
 	<output>
@@ -23,24 +22,24 @@
 				</param>
 			</params> 
 			<axes>
-				<xAxis>
+<!--				<xAxis>
 					<timeAxis format="dd/mm/yy" reverse="false" scale="linear" color="[0,0,0]" thickness="1" showLegend="true" showTickMark="true">
 						<range extend="true"/>
 						<tick position="outwards" minorGrid="false" majorGrid="false"/>
 						<legend/>
 					</timeAxis>
-				</xAxis>
+				</xAxis>-->
 				<yAxis>
-					<digitalAxis id="y-left" reverse="false" scale="logarithmic" color="[0,0,0]" thickness="1" showLegend="true" showTickMark="true">
-						<range extend="true"/>
-						<tick position="outwards" minorGrid="false" majorGrid="false"/>
-						<legend/>
+					<digitalAxis id="y-left" reverse="false" scale="logarithmic">
+						<!--<range extend="true"/>-->
+						<!--<tick position="outwards" minorGrid="false" majorGrid="false"/>
+						<legend/>-->
 					</digitalAxis>					
 				</yAxis>
 				<zAxis>
-					<colorAxis colorMapIndex="1" reverse="false" scale="logarithmic" color="[0,0,0]" thickness="1" showLegend="true" showTickMark="true">
-						<range extend="true"/>
-						<tick position="outwards" minorGrid="false" majorGrid="false"/>
+					<colorAxis colorMapIndex="1" scale="logarithmic">
+						<!--<range extend="true"/>-->
+						<!--<tick position="outwards" minorGrid="false" majorGrid="false"/>-->
 					</colorAxis>
 				</zAxis>
 			</axes>
--
libgit2 0.21.2