add new task       

Task ID:  4145  Cotton report on harvest reports every day.    
 
Created by fai04d on 2016-03-31 2:28 PM, 784 days ago
Project:  Module Code
Category:  Bug
Priority:  [no priority]
Assigned to:  joh491  
Status:  closed
Apsim Version:
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 40349 posted by joh491 on 2016-04-01 10:34 AM, 783 days ago 

Problems exist in Manager script, not Cotton module.

Manager script does not defoliate the crop ( this is not the cause of the reported problem).

Script does not do an end_crop.  This causes the crop to be in a harvestable state according to the script, and so continues to harvest the crop each day until the crop is forcibly terminated at 300 DAS. Thus the report is called each day the script calls the 'cotton harvest'.

Attached is a text file with the original script  and a revised script that corrects the problem.

file 40348 attached by joh491 on 2016-04-01 10:34 AM, 783 days ago 
Revised manager script to defoliate, harvest and end_crop for cotton

attachment: Revised_Cott_1Script-Cott_380.txt   view   save

size: 3593   content-type: text/plain

 comment 40347 posted by fai04d on 2016-04-01 9:52 AM, 783 days ago 
These are from a user. All you should need to do is change the location of the met file.
file 40346 attached by fai04d on 2016-04-01 9:50 AM, 783 days ago 

attachment: cott.apsim   view   save

size: 122324   content-type: application/octet-stream

file 40345 attached by fai04d on 2016-04-01 9:50 AM, 783 days ago 

attachment: NARRABRI_053030.MET   view   save

size: 2488827   content-type: application/octet-stream

 email 40344 sent to justin.fainges@csiro.au by joh491 on 2016-04-01 9:26 AM, 783 days ago 
Subject: Cotton report on harvest reports every day. (DO NOT EDIT THIS:4145)

Justin,  could you provide me with a .apsim file showing this please.

The way that I am approaching it is not showing up the problem.

Thanks

 

>Worked ok in 7.7, but in 7.8 instead of reporting only on harvesting, the harvesting event reports every day.

 

 

 comment 40342 posted by fai04d on 2016-03-31 2:28 PM, 784 days ago 
Worked ok in 7.7, but in 7.8 instead of reporting only on harvesting, the harvesting event reports every day.