Readme
Name: Yang Xiang
Institution: Cooperative Institute for Climate, Ocean, & Ecosystem Studies (CICOES), University of Washington
Email: yaxiang@uw.edu
Associated paper: Subtropical gyre nutrient cycling in the upper ocean: Insights from a nutrient-ratio budget method 
Journal: Geophysical Research Letters

The code in version 2 has been updated to resolve the error related to random number generators that lead to some bias in results in version 1. This Monte Carlo Code is used to generate fractions of nutrient sources and sinks at time-series Station ALOHA and BATS based on a N/P budget method. Please cite the paper and code if you are using the code in your research. Enjoy!