Opened 3 years ago

Closed 3 years ago

#460 closed defect (fixed)


Reported by: mmcgrath Owned by: somebody
Priority: minor Milestone:
Component: Biogeochemical processes Version:
Keywords: XIOS, turnover Cc:


At the end of the first year of a run with XIOS server (1 CPU for XIOS, 1 CPU for orchidee_ol) on Obelix for a small domain (39E,40E to 39N, 40N) I see the following:

Error [CNc4DataOutput::writeFieldData_ (CField* field)] : In file '/home/users/mmcgrath/ORCHIDEE-CN-CAN/modeles/XIOS/src/io/nc4_data_output.cpp', line 2691 -> On writing field data: TURNOVER_TIME_ROOT

In the context : orchidee_server
Error when calling function ncPutVaraType(ncid, varId, start, count, data)
NetCDF: Numeric conversion not representable
Unable to write data given the location id: 196608 and the variable whose id: 93 and name: TURNOVER_TIME_ROOT

It is at the end of the first year. Interestingly enough, I can remove the xios_orchidee_send_field for three related variables (TURNOVER_TIME_ROOT, TURNOVER_TIME_SAP_AB, TURNOVER_TIME_FRUIT) and leave the fourth (TURNOVER_TIME_LEAF) and it seems to run, though I have not yet discovered the difference in the interaction of those four with XIOS.

Change History (1)

comment:1 Changed 3 years ago by mmcgrath

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

Fixed in revision 5533. A bad array limit was passed to restget_p for the variable turnover_time, preventing the full array from being initialized. XIOS complained when occasional uninitialized large values (1e100) were sent to XIOS for writing.

Note: See TracTickets for help on using tickets.