Skip to contents

Read a .CRO file and return it as a list

Usage

read_CRO(default_crop)

Arguments

default_crop

file path of the .CRO file to be read.

Value

a named list with crop parameter name-value pairs.

Details

The crop file required for AquaCrop 7.0 and higher requires 83 lines of content. Crop files generated using previous AquaCrop versions, typically contain less lines (76). The read_CRO function detects whether the file has sufficient length, and complements the file if needed.