warning in interpolate
we are getting a warning like this:
EXECUTION : METRO_PREPROCESS_INTERPOL_FORECAST module: start execution
In interpolate, the arrays does nothave the same length. 51 != 1
EXECUTION : METRO_PREPROCESS_INTERPOL_FORECAST module:
in function:
def __interpolate_FA(self, wf_originpl_data, wf_interpolated_data):
there is
# If anthropogenic flux is not specified, FA is set to a constant value of 10 W/m^2
else:
lFA = [10]
npFA = numpy.array(lFA)
npFA = metro_util.interpolate(self.npTime, npFA)
I'd suggest using creating numpy array like this instead:
else:
npFA = numpy.empty(self.npTime.size);
npFA.fill (10);
npFA = metro_util.interpolate(self.npTime, npFA)