Add verbose flag and some minor cosmetic changes.
Function to calculate downward shortwave radiation at a given latitude for a given time series.
Add full stop to the end of the sentence.
Update the help to be slightly better formatted.
Add the global verbose flag so that messages can be switched off to follow the rest of the toolbox functions.
Put the help back to correctly say it outputs a cell array.
Cosmetic changes to the code and fix verbose output statements here and there.
Minor stylistic change to the code (use new lines for each command, especially clearing variables).
Return data as doubles instead of singles. This is particularly important for the time variable to prevent truncating the times.
Fix bug where if a 2D variable is requested after a 3D variable, the getVar indexing is wrong. Essentially by not clearing two variables at the start of each loop, the code crashed.
Made the calculation array-based instead of loop-based to increase performance.
Remove some duplicated functions from the toolbox. In so doing, merge the two different functions so they are the same (these changes were only minor formatting and functionality changes).
Update the README to include a lot more information, including where to get the code and a bit of its history. This includes text from Geoffrey Cowles' version of the code.
Minor fix when declaring the global verbose variable.
Update the ChangeLog with the changes in this merge of the dev branch.
Merge branch 'dev'