diff --git a/TopoPyScale/topo_utils.py b/TopoPyScale/topo_utils.py index 8fec08e..440ec20 100644 --- a/TopoPyScale/topo_utils.py +++ b/TopoPyScale/topo_utils.py @@ -20,7 +20,7 @@ def FsmMetParser(file, freq="1h", resample=False): df.columns = ['ISWR', 'ILWR', 'Sf', 'Rf', 'TA', 'RH', 'VW', 'P'] if resample == "TRUE": - df = df.resample(freq).apply(resample_func) + #df = df.resample(freq).apply(resample_func) return (df) @@ -36,7 +36,8 @@ def FsmSnowParser(file, freq="1H", resample=False): df.columns = ['albedo', 'Rof', 'HS', 'SWE', 'TS10', 'TS50'] if resample == "TRUE": - df = df.resample(freq).apply(resample_func) + print('ERROR: line 39 to be fixed!') + #df = df.resample(freq).apply(resample_func) return (df) @@ -215,11 +216,11 @@ def plot_xyline(ax): myfile = "/home/joel/sim/topoPyscale_davos/outputs/FSM_pt_00.txt" df = FsmMetParser(myfile) - FsmPlot(df) + #FsmPlot(df) myfile = "/home/joel/sim/topoPyscale_davos/fsm_sims/sim_ENS1_FSM_pt_00.txt" df = FsmSnowParser(myfile) - FsmPlot(df) + #FsmPlot(df)