Commit c81767a2 authored by Miguel Tremblay's avatar Miguel Tremblay
Browse files

Fixed bug issue #9 (warning in interpolate FA)

parent ccb9e35d
......@@ -467,8 +467,8 @@ class Metro_preprocess_interpol_forecast(Metro_preprocess):
npFA = wf_originpl_data.get_matrix_col('FA')
# If anthropogenic flux is not specified, FA is set to a constant value of 10 W/m^2
lFA = [10]
npFA = numpy.array(lFA)
npFA = numpy.empty(self.npTime.size);
npFA.fill (10);
npFA = metro_util.interpolate(self.npTime, npFA)
wf_interpolated_data.append_matrix_col('FA', npFA)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment