Commit 2425935e0b323ef7724a1783cefa7a2379940a17

Authored by Benjamin Renard
1 parent ee51453f
Exists in juice_jdc and in 1 other branch amdadev

Add parameters for Bepi/MIA & Cain

PARAM_DEF/bcain_mso.xml
1   -<?xml version="1.0"?>
2   -<-- TBD -->
3   -<param xml:id="bcain_mso"><get><vi><baseParam/></vi></get><process/><output/></param>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<param xml:id="bcain_mso_##sampling##_##orbit##">
  3 + <get>
  4 + <amdaParam name="##orbit##"/>
  5 + </get>
  6 + <process description="Cain B field along orbit">#framesTransformation(#bcain(#sampling_classic($##orbit##;##sampling##;5);1);IAU_MARS;MSO)</process>
  7 + <output/>
  8 +</param>
... ...
PARAM_DEF/bcain_tot.xml
1   -<?xml version="1.0"?>
2   -<!-- TBD -->
3   -<param xml:id="bcain_tot"><get><vi><baseParam/></vi></get><process/><output/></param>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<param xml:id="bcain_tot_##sampling##_##orbit##">
  3 + <get>
  4 + <amdaParam name="##orbit##"/>
  5 + </get>
  6 + <process description="Magnitude of Cain B field along orbit">#bcain(#sampling_classic($##orbit##;##sampling##;5);0)</process>
  7 + <output/>
  8 +</param>
... ...
PARAM_DEF/ena_venus2_channel.xml 0 → 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="ena_venus2_channel_##channel##">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:ena:venus2">
  10 + <baseParam name="channel_##channel##">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="ena_venus2_channel_##channel##">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="logarithmic"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
ParamTemplateList.xml
... ... @@ -1232,6 +1232,36 @@
1232 1232 <param>b_jrm09_can_tot_60_1_gll_xyz_iau</param>
1233 1233 </predefined>
1234 1234 </paramTemplate>
  1235 + <paramTemplate paramId="bcain_mso" fileName="bcain_mso_##sampling##_##orbit##">
  1236 + <arguments>
  1237 + <argument key="sampling" name="Time Step (sec)" type="float" default="60"/>
  1238 + <argument key="orbit" name="Spacecraft Orbit" type="list" default="mav_latlonalt_iaumars">
  1239 + <item key='mex_latlonalt_iaumars' name='MEX'/>
  1240 + <item key='mav_latlonalt_iaumars' name='MAVEN'/>
  1241 + <item key='mgs_latlonalt_iaumars' name='MGS'/>
  1242 + </argument>
  1243 + </arguments>
  1244 + <predefined>
  1245 + <param>bcain_mso_60_mex_latlonalt_iaumars</param>
  1246 + <param>bcain_mso_60_mav_latlonalt_iaumars</param>
  1247 + <param>bcain_mso_60_mgs_latlonalt_iaumars</param>
  1248 + </predefined>
  1249 + </paramTemplate>
  1250 + <paramTemplate paramId="bcain_tot" fileName="bcain_tot_##sampling##_##orbit##">
  1251 + <arguments>
  1252 + <argument key="sampling" name="Time Step (sec)" type="float" default="60"/>
  1253 + <argument key="orbit" name="Spacecraft Orbit" type="list" default="mav_latlonalt_iaumars">
  1254 + <item key='mex_latlonalt_iaumars' name='MEX'/>
  1255 + <item key='mav_latlonalt_iaumars' name='MAVEN'/>
  1256 + <item key='mgs_latlonalt_iaumars' name='MGS'/>
  1257 + </argument>
  1258 + </arguments>
  1259 + <predefined>
  1260 + <param>bcain_tot_60_mex_latlonalt_iaumars</param>
  1261 + <param>bcain_tot_60_mav_latlonalt_iaumars</param>
  1262 + <param>bcain_tot_60_mgs_latlonalt_iaumars</param>
  1263 + </predefined>
  1264 + </paramTemplate>
1235 1265 <paramTemplate paramId="eiscat_esr42m_ne" fileName="eiscat_esr42m_ne_##mode##_##corrected##_##yaxis##">
1236 1266 <arguments>
1237 1267 <argument key="mode" name="Mode" type="list" default="fieldaligned">
... ... @@ -1627,6 +1657,19 @@
1627 1657 </argument>
1628 1658 </arguments>
1629 1659 </paramTemplate>
  1660 + <paramTemplate paramId="ena_venus2_channel" fileName="ena_venus2_channel_##channel##">
  1661 + <arguments>
  1662 + <argument key="channel" name="Channel" type="list" default="0">
  1663 + <item key="0" name="Channel 0"/>
  1664 + <item key="1" name="Channel 1"/>
  1665 + <item key="2" name="Channel 2"/>
  1666 + <item key="3" name="Channel 3"/>
  1667 + <item key="4" name="Channel 4"/>
  1668 + <item key="5" name="Channel 5"/>
  1669 + <item key="6" name="Channel 6"/>
  1670 + </argument>
  1671 + </arguments>
  1672 + </paramTemplate>
1630 1673 <paramTemplate paramId="maglib_mlt" fileName="maglib_mlt_##ORBIT##">
1631 1674 <arguments>
1632 1675 <argument key="ORBIT" name="Spacecraft" type="list" default="c1_xyz_gsm">
... ...