add new task       

Task ID:  4088  Cotton (Ozcot) 'stover' not going into pool surfaceom_wt_cotton on harvest    
 
Created by har297 on 2015-09-18 3:09 PM, 976 days ago
Project:  Module Code
Category:  Bug
Priority:  [no priority]
Assigned to:  joh491  
Status:  closed
Apsim Version:7.8
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 40310 posted by joh491 on 2016-03-23 1:58 PM, 789 days ago 

Included in patch for 7.8 release.

 comment 40292 posted by joh491 on 2016-03-21 9:07 AM, 792 days ago 

crop_type text string in mvOZCOT corrected to 'cotton'  (lowercase).

Problem can still be evident if crop_type not also corrected in existing .apsim files.  Once crop_type is set to lowercase 'cotton', then surfaceOM_wt_cotton reports correctly.

 comment 40201 posted by joh491 on 2016-03-10 2:34 PM, 802 days ago 

Will be reviewed and fixed in mvOZCOT only

 comment 38039 posted by har297 on 2015-09-18 3:09 PM, 976 days ago 

Take the Continous Cotton example and add to the outputfile variables (output daily) -

surfaceOM_wt

surfaceOM_wt_cotton

crop_type

You will see that at harvest, the cotton trash is added to surfaceOM_wt but does not appear in the cotton pool (surfaceOM_wt_cotton).

Note that the crop_type is reported with a capital C even though the ozcot.xml has lower case.

Some experimenting with maize worked as it should and the crop_type had a lower case m.

If the SurfaceOrganicMatter component is initialised with a Pool name with Cotton (capital C) then surfaceOM_wt_cotton is unknown for reporting.

It looks like the pool name is case sensitive and the cotton trash is going into a pool called Cotton which cannot be reported due to case.