add new task       

Task ID:  6219  skip vs skiprow    
 
Created by peter.devoil on 2017-08-16 10:17 AM, 429 days ago
Project:  Module Code
Category:  Bug
Priority:  [no priority]
Assigned to:  [not assigned]  
Status:  Submitted
Apsim Version:
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 42656 posted by peter.devoil on 2017-09-15 12:50 PM, 399 days ago 

Plant, Sorghum & Cropmod are mostly consistent in r4063.

If the 'SkipRow' argument to a sow command exists and is non-zero, it is used.

>> NB. Sorghum 'SkipRow' code (1,1.5,2) still has a different meaning from plant (0,1,2)! <<

If the 'Skip' argument is defined, they look for a string like "solid", "single", or "double".

 comment 42652 posted by peter.devoil on 2017-08-16 10:17 AM, 429 days ago 

sowing events have two arguments for skiprow configuration: skip (a string) and skiprow (a double, treated as integer).

Sorghum ignores skiprow, and calculates its own internal multiplier (Model/Sorghum/Plant.cpp:190)

Plant uses SkipRow to derive the same internal multiplier ((2.0 + skip_row)/2.0) (Model/Plant/PlantSpatial.cpp:95)

No error or warning is given if either parameter is specified but unused.