Changeset 624 for XIOS/trunk/inputs


Ignore:
Timestamp:
06/22/15 13:36:37 (9 years ago)
Author:
mhnguyen
Message:

Final tests of zoom and inverse on axis

+) Modify test_client and test_complete to work with new grid definition
+) Correct some bugs causing memory leak
+) Clean abundant code
+) Add more comments to new files

Test
+) On Curie
+) test_client and test_complete pass with correct results

Location:
XIOS/trunk/inputs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/COMPLETE/context_atmosphere.xml

    r586 r624  
    44 
    55  <field_definition level="1" enabled=".FALSE." default_value="9.96921e+36"> 
    6     <field id="field_A_atm"  name="field_A_atm" operation="average" freq_op="1ts" domain_ref="domain_atm"  axis_ref="axis_atm" /> 
     6    <field id="field_A_atm"  name="field_A_atm_origin" operation="average" freq_op="1ts" grid_ref="grid_A_atm" /> 
     7    <field id="field_A_atm_zoom"  name="field_A_atm" operation="average" freq_op="1ts" field_ref="field_A_atm" grid_ref="grid_A_atm_zoom" /> 
    78  </field_definition> 
    89 
    910  <file_definition type="multiple_file" par_access="collective" output_freq="6h" sync_freq="6h" output_level="10" enabled=".TRUE."> 
    1011    <file id="output_atmosphere" name="output_atmosphere"> 
    11       <field field_ref="field_A_atm" /> 
     12      <field field_ref="field_A_atm_zoom" /> 
    1213    </file> 
    1314    <file id="output_atmosphere_zoom" name="output_atmosphere_zoom"> 
    14       <field field_ref="field_A_atm" name="field_A_atm_zoom" domain_ref="domain_atm_zoom" /> 
     15      <field field_ref="field_A_atm" name="field_A_atm_zoom" /> 
    1516    </file> 
    1617  </file_definition> 
    1718 
    1819  <axis_definition> 
    19     <axis id="axis_atm" zoom_size="2" zoom_end="2" /> 
     20    <axis id="axis_atm"/> 
     21    <axis id="axis_atm_zoom" axis_ref="axis_atm"> 
     22      <zoom_axis zoom_size="2" zoom_end="2" /> 
     23    </axis> 
    2024  </axis_definition> 
    2125 
     
    2529  </domain_definition> 
    2630 
    27   <grid_definition /> 
     31  <grid_definition> 
     32   <grid id="grid_A_atm"> 
     33     <domain domain_ref="domain_atm" /> 
     34     <axis axis_ref="axis_atm" /> 
     35   </grid> 
     36   <grid id="grid_A_atm_zoom"> 
     37     <domain domain_ref="domain_atm" /> 
     38     <axis axis_ref="axis_atm_zoom" /> 
     39   </grid> 
     40  </grid_definition> 
     41 
    2842 
    2943</context> 
  • XIOS/trunk/inputs/Version2/iodef.xml

    r623 r624  
    66 
    77 
    8    <field_definition level="1" enabled=".FALSE."> 
     8   <field_definition level="1" enabled=".FALSE." default_value="9.96921e+36"> 
    99     <field id="field_AA"  operation="average" freq_op="3600s" domain_ref="domain_A"  axis_ref="axis_A" /> 
    1010     <field id="field_A"  operation="average" freq_op="3600s" grid_ref="grid_A" /> 
    1111     <field id="field_Axis"  operation="average" freq_op="3600s" grid_ref="grid_Axis" /> 
    1212     <field id="field_Two_Axis"  operation="average" freq_op="3600s" grid_ref="grid_Two_Axis" /> 
    13      <field id="field_Axis_transformed"  operation="average" freq_op="3600s" field_ref="field_Two_Axis" grid_ref="grid_Axis_tranformed" /> 
     13     <field id="field_Axis_transformed"  operation="average" freq_op="3600s" field_ref="field_A" grid_ref="grid_Axis_tranformed" /> 
    1414     <field id="field_All_Axis" operation="average" freq_op="3600s" grid_ref="grid_All_Axis" /> 
    1515     <field id="field_Scalar" operation="average" freq_op="3600s" grid_ref="ScalarGrid" /> 
     
    3535   </file_definition> 
    3636 
    37  
    3837   <axis_definition> 
    3938     <axis id="axis_A" /> 
     
    4140     <axis id="axis_C" /> 
    4241     <axis id="axis_D" /> 
    43      <axis id="axis_E" axis_ref="axis_B"> 
    44         <inverse_axis /> 
     42     <axis id="axis_E" axis_ref="axis_C"> 
     43<!--        <inverse_axis />--> 
    4544 
    46         <zoom_axis zoom_begin="0" zoom_size="4" /> 
     45        <zoom_axis zoom_begin="1" zoom_size="2" /> 
    4746<!--        <inverse_axis />--> 
    4847     </axis> 
    4948     <axis id="axis_F" axis_ref="axis_A"> 
    50 <!--       <inverse_axis />--> 
     49       <inverse_axis /> 
    5150     </axis> 
    5251   </axis_definition> 
     
    7170       </grid> 
    7271       <grid id="grid_Axis_tranformed"> 
    73 <!--         <domain domain_ref="domain_A" />--> 
    74          <axis axis_ref="axis_F" /> 
    75          <axis axis_ref="axis_E" /> 
     72         <domain domain_ref="domain_A" /> 
     73            <axis axis_ref="axis_E" /> 
     74<!--         <axis axis_ref="axis_F" />--> 
     75<!--         <axis axis_ref="axis_E" />--> 
    7676       </grid> 
    7777       <grid id="grid_All_Axis"> 
  • XIOS/trunk/inputs/iodef.xml

    r554 r624  
    77 
    88   <field_definition level="1" enabled=".FALSE."> 
    9      <field id="field_A"  operation="average" freq_op="3600s" domain_ref="domain_A"  axis_ref="axis_A" /> 
     9     <field id="field_A"  operation="average" freq_op="3600s" grid_ref="grid_A"/> 
     10     <field id="field_A_zoom"  operation="average" freq_op="3600s" field_ref="field_A" grid_ref="grid_A_zoom"/> 
    1011   </field_definition> 
    1112 
     
    1314   <file_definition type="multiple_file" par_access="collective" output_freq="6h" output_level="10" enabled=".TRUE."> 
    1415     <file id="output" name="output"> 
    15         <field field_ref="field_A" /> 
     16        <field field_ref="field_A_zoom" name="field_A" /> 
    1617     </file> 
    1718   </file_definition> 
     
    1920 
    2021   <axis_definition> 
    21      <axis id="axis_A" zoom_size="2" zoom_end="2" /> 
     22     <axis id="axis_A"/> 
     23     <axis id="axis_A_zoom" axis_ref="axis_A"> 
     24       <zoom_axis zoom_begin="1" zoom_size="2" /> 
     25     </axis> 
    2226   </axis_definition> 
    2327 
     
    2630   </domain_definition> 
    2731 
    28    <grid_definition /> 
    29  
     32   <grid_definition> 
     33     <grid id="grid_A"> 
     34       <domain domain_ref="domain_A" /> 
     35       <axis axis_ref="axis_A" /> 
     36     </grid> 
     37     <grid id="grid_A_zoom"> 
     38       <domain domain_ref="domain_A" /> 
     39       <axis axis_ref="axis_A_zoom" /> 
     40     </grid> 
     41   </grid_definition> 
    3042  </context> 
    3143 
Note: See TracChangeset for help on using the changeset viewer.