Get cached cultivar definitions for a crop

get_cached_cultivars(crop)

Arguments

crop

Character scalar. Crop name for which to retrieve cached cultivars.

Value

A list of cultivar definitions previously cached by cache_apsim_cultivars().

Details

This function retrieves cultivar definitions that were previously cached by cache_apsim_cultivars(). If no cached cultivars are found for the specified crop, an error is raised. Users should run cache_apsim_cultivars() with appropriate APSIM resources before calling this function.

Examples

if (FALSE) { # \dontrun{
get_cached_cultivars("wheat")
} # }