Created structure for data.mining module and pulled over original hacked-up wavelet spectra code from Dietze et al. 2011 JGR-B
Moved basic spectra code to a new file, ModelResidualSpectra.R, and cleaned up. Had to update code for changes in dplR library. Encapsulated innermost code in site x model loop into a function, ResidSpectra(data,model) that returns the spectum itself.
Moved ResidSpectra function to it's own file
Started cleaning up null spectra code
merge from master

Merge branch 'master' of https://github.com/PecanProject/pecan
Merge branch 'master' of https://github.com/PecanProject/pecan
Dietze added a bunch of old code related to meterological drivers to modules/data.atmosphere. Much of this is ED2 specific and all of it needs to be sorted through and consolidated down to functions that convert various met info into the netCDF CF standard (redmine #720). This includes conversions of flux tower files to met drivers (redmine #147, redmine #1383), files for downloading, managing, and building from NARR, NCEP, and NOMADS (redmine #297, redmine #1311). There is also code for downloading LSHRG, loading NOAA station data, merging met files to fill gaps or (re/down)scaling, weather generating winter precip, and calculating lapse rates.
Merge pull request #53 from mdietze/master

Dietze's old meteorology scripts