add new task       

Task ID:  955  Output file variables are still in the list but there name is old    
 
Created by ver078 on 2009-05-25 3:15 PM, 3372 days ago
Project:  Module Code
Category:  Minor
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 30994 posted by hol353 on 2009-09-23 2:41 PM, 3251 days ago 
I've changed APSIM to probe the Sugar.dll for variable names rather than using an outdated list.
 comment 30686 posted by guest on 2009-05-26 11:43 AM, 3371 days ago 
In sugar module - the following variables are wrong in the variable drag list:

das -> should be daysaftersowing
dm_senesced -> should be senescedwt
leaf_wt -> should be leafgreenwt
n_senesced -> should be senescedn
root_wt -> should be rootgreenwt
stage_name -> should be stagename

Also, when you output n_green you get the five components n_green(1), n_green(2)... ngreen(5). It would be nice if they could have names that make sense:

n-green(1) -> root_N
n_green(2) -> leaf_N
n_green(3) -> cane_N
n_green(4) -> cabbage_N
n_green(5) -> sucrose_N??? never has any output - always 0
 comment 30673 posted by ver078 on 2009-05-25 3:15 PM, 3372 days ago 


In Output file variable list, there are old variable names still in the variables to drag list. Allowing users to add them to the output file list. But when you do a run they obviously do not output and all you get is question marks for the columns because obviously Apsim does not know these old varaible names.

Examples of these old variable names,

fertilizer -> should be fertiliser
das -> should be DaysAfterSowing