Opened 2 years ago

Last modified 2 years ago

#178 new defect

netcdf ouput with grid composed of scalar element differ of XIOS trunk output

Reported by: ymipsl Owned by: ymipsl
Priority: minor Component: XIOS
Version: coupling Keywords:
Cc: julien.derouillat@…

Description

See attached files of netcdf header as example.

Try to reproduce the result with generic testcase with grid defined as :

<grid>

<domain/>
<scalar value="10"/>

</grid>

Attachments (2)

header_coupling.txt (3.0 KB) - added by ymipsl 2 years ago.
header_trunk.txt (3.1 KB) - added by ymipsl 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by ymipsl

Changed 2 years ago by ymipsl

comment:1 Changed 2 years ago by jderouillat

The value attribute is seen as empty in CNc4DataOutput::writeScalar_(CScalar* scalar), so scalar is not operated by the call to addVariable.

This seems to be linked to the fact that the value attribute has now a default value (set to false) :

DECLARE_ATTRIBUTE(double, value, false)

This default value has been introduced in the commit https://forge.ipsl.jussieu.fr/ioserver/changeset/2264 ( Scalar can be now distributed on server side, avoiding incorrect result coming from redondant nature of scalar grid.)

Note: See TracTickets for help on using tickets.