add new task       

Task ID:  1028  Lucerne dormancy option does not work - error in lucerne.xml file    
Created by guest on 2009-09-07 11:28 AM, 3419 days ago
Project:  Module Code
Category:  Bug
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:7
Your Name:Keith Pembleton
Contact Details:
Dairy Centre, Tasmanian Institute of Agricultural Research 
University of Tasmania
Private Bag 3523
Burnie, TAS 7320
Telephone +61 3 6430 4522
Facsimile +61 3 6430 4959
Mobile 0408 880 669

show inline images      show change history

 comment 32423 posted by guest on 2011-03-09 11:45 AM, 2871 days ago 


APSIM  Fatal  Error


     Cannot find a parameter.

     Parameter name = head_grain_no_max

     Section name = hartog

     Component name: maize

 comment 30909 posted by hol353 on 2009-09-18 10:28 AM, 3408 days ago 
I've changed the element name from <dormancy> to <dormant> as per John H's suggestion in the APSIM Forum.
 comment 30830 posted by guest on 2009-09-07 11:28 AM, 3419 days ago 

When requesting a lucerne crop to go dormant through the following manager script:


if (today = date('1-apr-2007') then
lucerne dormancy


Apsim returns the following:


1 April 2007(Day of year=91), Empty manager:
     Manager sending message :- lucerne dormancy
1 April 2007(Day of year=91):
                      APSIM  Fatal  Error
     Cannot find a value for parameter: class_action
     Component name: lucerne


Changing segment labels in the lucerne.xml file from






corrects the problem