I am using a Bayesian Dynamic Linear Model in this
code, which involves lots of array manipulation. It works fine when only processing 5 years data. But when working on the full range (17 years), the results cannot be output to Google Drive with "Internal server error", even for one pixel. Anyone has suggestions on refining the code structure and/or other ways to solve this output problem? Many thanks!