Enhancing the understanding of marine phytoplankton primary production is paramount due to the relationships with oceanic food webs, energy fluxes, carbon cycle and Earth's climate. As field measurements of this process are both expensive and time consuming, indirect approaches, which can estimate primary production from remotely sensed imagery, are the only viable large-scale solution. We boosted the quality of phytoplankton primary production estimates, with respect to a previously developed model, by embedding ecological knowledge into the training of an artificial neural network. In order to achieve this goal, we drove the training procedure on the basis of both theoretical and data-derived ecological knowledge about phytoplankto...