Opened 18 months ago

Last modified 18 months 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@…


See attached files of netcdf header as example.

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


<scalar value="10"/>


Attachments (2)

header_coupling.txt (3.0 KB) - added by ymipsl 18 months ago.
header_trunk.txt (3.1 KB) - added by ymipsl 18 months ago.

Download all attachments as: .zip

Change History (3)

Changed 18 months ago by ymipsl

Changed 18 months ago by ymipsl

comment:1 Changed 18 months 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 ( 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.