Opened 10 years ago

Closed 10 years ago

#60 closed defect (fixed)

String variable with whitespaces are incorrectly parsed

Reported by: rlacroix Owned by: rlacroix
Priority: minor Component: XIOS
Version: 1.0 Keywords: variable string parsing whitespace
Cc: stephane.senesi@…

Description

How to reproduce:

   <file_definition type="multiple_file" par_access="collective" output_freq="6h" output_level="10" enabled=".TRUE.">
     <file id="output" name="output"> 
        <field field_ref="field_A" />
        <variable id="my_attribute1" type="string">surf_att</variable>
        <variable id="my_attribute2" type="string">I love whitespaces</variable>
     </file>
   </file_definition>

Using this configuration file will result in the following NetCDF output:

// global attributes:
		:name = "output" ;
		:description = "Created by xios" ;
                ...
		:my_attribute1 = "surf_att" ;
		:my_attribute2 = "I" ;

Expected result would be :my_attribute2 = "I love whitespaces" ;

Change History (1)

comment:1 Changed 10 years ago by rlacroix

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by r530.

Note: See TracTickets for help on using tickets.