Commit 6934ff13 authored by Lukas Brunner's avatar Lukas Brunner
Browse files

Update docstring

parent ac426e82
......@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
Time-stamp: <2019-03-19 12:00:33 lukbrunn>
Time-stamp: <2019-05-31 15:26:30 lukbrunn>
(c) 2019 under a MIT License (https://mit-license.org)
......@@ -48,8 +48,11 @@ def apply_fixes(ds, metadata, time_res):
Returns
-------
ds : same as input
open_issues : list
List of strings describing not fixable issues
applies_fixes : string
String of a semicolon-separated short description of the changes
flag : int
"""
model = metadata['model']
run_type = metadata['run_type']
......@@ -97,7 +100,7 @@ def apply_fixes(ds, metadata, time_res):
# --- flag issue #7 ---
if model in ['BCC-ESM1']:
if time_res == 'day' and metadata['run_type'] == 'historical':
if metadata['run_type'] == 'historical':
if metadata['varn'] in ['tas', 'tasmin', 'tasmax']:
# --- flag issue #8 ---
......
Supports Markdown
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