ecohydro / maize-Toff

Repo for modeling analysis of of maize yield variability and tradeoffs between yield and crop failure.
4 stars 2 forks source link

Completed calc_kc function in Plant. Updated readme with renamed farm… #10

Closed Ntkrell closed 5 years ago

Ntkrell commented 5 years ago

… directory

@noah-de Check out these updates and let's see if we can produce some tests for calc_kc, e.g. plotting this figure:

# Plot kc
d = np.arange(121)
plt.plot(d, [calc_kc(t) for t in d], '-')
plt.title('Relationship between Kc and Time of Season')
plt.xlabel('Time of Season, $\mathit{t}$')
plt.ylabel('Crop Coefficient, $\mathit{kc}$')
plt.show()

image