agmip / translator-apsim

BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

A block without a layer creates a null keyed array. #1

Closed frostbytten closed 12 years ago

frostbytten commented 12 years ago

When parsing the wheat pilot information, the initial_conditions block is attempting to create a soilLayers=[] array when there isn't information for it. Might need to check for other blocks.

frostbytten commented 12 years ago

Fixed with bugfix on agmip-core.