cons2.main.write_crp_output¶
-
cons2.main.write_crp_output(directory, name, cname, years, data, dates, starts, ends, bwrite)[source]¶ Writes output data for each crop.
Parameters: directory: string
Directory where .csv files will be saved.
name: string
Name of the site.
cname:
Name of the crop.
years: list
List of integer years for the site.
data: list
List of arrays containing the data for each variable.
dates: list
Planting season dates.
starts: list
List of Julian dates for the begining of the growing season.
ends: list
List of Julian dates for the end of the gowring season.
bwrite: boolean
Logical determing whether or not to print individual crop files.