Commit 4b730e9b9d2b8acff91106d19372d4fd48d7113c

Authored by Benjamin Renard
1 parent a0999b08

Add Themis A ESA PEIR SP parameter

install/testParams/newKernelDDBase/tha_peir_sp.xml 0 โ†’ 100644
... ... @@ -0,0 +1,27 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<param xml:id="tha_peir_sp">
  3 + <info>
  4 + <name>Themis-A PEIR Energy Flux</name>
  5 + <short_name>Energy Flux</short_name>
  6 + <components></components>
  7 + <units>eV/(cm^2-s-sr-eV)</units>
  8 + <coordinates_system></coordinates_system>
  9 + <tensor_order>0</tensor_order>
  10 + <si_conversion></si_conversion>
  11 + <table>
  12 + <centerAutoTable variable="true" name="Energy" centerName="tha_peir_sp_energy" units="eV" log="true"/>
  13 + </table>
  14 + <fill_value>-1e+31</fill_value>
  15 + <ucd></ucd>
  16 + <dataset_id></dataset_id>
  17 + </info>
  18 + <get>
  19 + <vi name='tha:peir:sp'>
  20 + <baseParam name="Flux">
  21 + </baseParam>
  22 + </vi>
  23 + <amdaParam name="tha_peir_sp_energy"/>
  24 + </get>
  25 + <process/>
  26 + <output/>
  27 +</param>
... ...
install/testParams/newKernelDDBase/tha_peir_sp_energy.xml 0 โ†’ 100644
... ... @@ -0,0 +1,19 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="tha_peir_sp_energy">
  3 + <clbManual name="ModeToEnergyIndex">
  4 + <value>0</value>
  5 + <value>1</value>
  6 + <value>2</value>
  7 + <value>3</value>
  8 + <value>3</value>
  9 + <value>4</value>
  10 + <value>5</value>
  11 + <value>1</value>
  12 + <value>3</value>
  13 + </clbManual>
  14 + <get>
  15 + <amdaParam name="tha_peir_sp_mode"/>
  16 + </get>
  17 + <process description="Themis A ESA ION Reduced Energy">#getClbInfoByIndex(ModeToEnergyIndex[$tha_peir_sp_mode];i_energy;6)</process>
  18 + <output/>
  19 +</param>
0 20 \ No newline at end of file
... ...
install/testParams/newKernelDDBase/tha_peir_sp_mode.xml 0 โ†’ 100644
... ... @@ -0,0 +1,12 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="tha_peir_sp_mode">
  3 + <get>
  4 + <vi name='tha:peir:sp'>
  5 + <baseParam name="Mode" useNearestValue="true">
  6 + <clb name="i_energy"/>
  7 + </baseParam>
  8 + </vi>
  9 + </get>
  10 + <process description="Themis A ESA Mode">$tha_peir_sp_Mode[2]</process>
  11 + <output/>
  12 +</param>
0 13 \ No newline at end of file
... ...