Notebook
#&nampismezo ! parameters for microzooplankton zz_rate_mesozoo_winterconc2 = 0.41 #uM N mesozooplankton background concentration zz_rate_mesozoo_sumpeakval2 = np.expand_dims(np.array((0.14, 0.18, .22)) ,0) #uM N magnitude of mesozooplankton summer concentration peaks zz_rate_mesozoo_sumpeakwid2 = np.expand_dims(np.array((50.0, 65.00, 80.00)),0) # year-days widths of mesozooplankton summer concentration peaks,0) zz_rate_mesozoo_sumpeakpos2 = np.expand_dims(np.array((281.000, 155.000, 218.00)),0) # year-day times of mesozooplankton summer concentration peaks zz_day=np.arange(1,367) # in model, nday_year starts at 1 on jan 1 dts=[dt.datetime(2014,12,31)+dt.timedelta(days=float(ii)) for ii in zz_day] zz_day=np.expand_dims(zz_day,1) zz_MesZoBar3 = zz_rate_mesozoo_winterconc2 + \ zz_rate_mesozoo_summerconc2*(np.sum ( zz_rate_mesozoo_sumpeakval2 * \ np.exp(-(zz_day-zz_rate_mesozoo_sumpeakpos2)**2/zz_rate_mesozoo_sumpeakwid2**2),1) \ + np.sum ( zz_rate_mesozoo_sumpeakval2 * \ np.exp( -(zz_day-zz_rate_mesozoo_sumpeakpos2-365.25)**2/zz_rate_mesozoo_sumpeakwid2**2),1) \ + np.sum ( zz_rate_mesozoo_sumpeakval2 * \ np.exp( -(zz_day-zz_rate_mesozoo_sumpeakpos2+365.25)**2/zz_rate_mesozoo_sumpeakwid2**2),1) )