Fixes on QuantileMapping correctly handle exp_cor and dependencies
This merge request solves issue #70 (closed): waiting for external user feedback.
It also moves package qmap from Imports to Depends in DESCRIPTION file to avoid manual package loading.
The function should be tested and fixed when possible to work with weather types dimension, similar to this:
exp <- array(rnorm(2*3*5*6*7*4), c(lon = 2, lat = 3, member = 5, sdate = 6,
ftime = 7, wt = 4))
obs <- array(rnorm(2*3*1*6*7*4), c(lon = 2, lat = 3, member = 1, sdate = 6,
ftime = 7, wt = 4))
res <- QuantileMapping(exp, obs, sample_dims = 'ftime')
res <- QuantileMapping(exp, obs, sample_dims = c('sdate','ftime'))
res <- QuantileMapping(exp, obs, sample_dims = c('sdate','ftime', 'member'))