You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please avoid adding `disp` messages to the main loop of the model. Doing so will increase the size of the command output sometimes to GB, especially when processing long time series for multiple locations on HPC, and can cause issues when running the model in parallel. If you need to capture this information, it should be logged to a separate file with a specific filename. or you can write a test script under directory `tests`.
logFid = fopen(fullfile(OutputPath, 'YourLogFile.txt'), 'a'); % this before the main loop
fprintf(logFid, ...); % this should be in the main loop to store e.g. KT
fclose(logFid); % this after the main loop
You can also use diary which is available in both matlab and octave, but I have not tried it.
Originally posted by @SarahAlidoost in #243 (comment)
The text was updated successfully, but these errors were encountered: