diff --git a/.gitignore b/.gitignore index 08f10013a16b98afea3e9a8c2a58f51eeb06d7b3..01ca296747666fee411aedca6fbb15a554a0bb51 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ Thumbs.db .idea/ /venv/ /venv*/ +/build/ # ignore HPC related skripts # ############################## diff --git a/run_hourly.py b/run_hourly.py index b831cf1e1ee733a3c652c6cea364013b44cf2c0d..a21c779bc007c7fbe67c98584687be3954e1d62c 100644 --- a/run_hourly.py +++ b/run_hourly.py @@ -6,6 +6,17 @@ import argparse from mlair.workflows import DefaultWorkflow +def load_stations(): + import json + try: + filename = 'supplement/station_list_north_german_plain.json' + with open(filename, 'r') as jfile: + stations = json.load(jfile) + except FileNotFoundError: + stations = None + return stations + + def main(parser_args): workflow = DefaultWorkflow(sampling="hourly", window_history_size=48, **parser_args.__dict__) diff --git a/supplement/station_list_north_german_plain.json b/supplement/station_list_north_german_plain.json new file mode 100644 index 0000000000000000000000000000000000000000..5e92dee5facdd26f0ac044a3c8cbfeac4256bf56 --- /dev/null +++ b/supplement/station_list_north_german_plain.json @@ -0,0 +1,81 @@ +[ +"DENI031", +"DESH016", +"DEBB050", +"DEHH022", +"DEHH049", +"DEHH021", +"DEMV007", +"DESH015", +"DEBE062", +"DEHH012", +"DESH004", +"DENI062", +"DEBE051", +"DEHH011", +"DEHH023", +"DEUB020", +"DESH005", +"DEBB039", +"DEHH050", +"DENI029", +"DESH001", +"DEBE001", +"DEHH030", +"DEHH018", +"DEUB022", +"DEBB038", +"DEBB053", +"DEMV017", +"DENI063", +"DENI058", +"DESH014", +"DEUB007", +"DEUB005", +"DEBB051", +"DEUB034", +"DEST089", +"DEHH005", +"DESH003", +"DEUB028", +"DESH017", +"DEUB030", +"DEMV012", +"DENI052", +"DENI059", +"DENI060", +"DESH013", +"DEUB006", +"DEMV018", +"DEUB027", +"DEUB026", +"DEUB038", +"DEMV001", +"DEUB024", +"DEUB037", +"DESH008", +"DEMV004", +"DEUB040", +"DEMV024", +"DEMV026", +"DESH056", +"DEHH063", +"DEUB001", +"DEST069", +"DEBB040", +"DEBB028", +"DEBB048", +"DEBB063", +"DEBB067", +"DESH006", +"DEBE008", +"DESH012", +"DEHH004", +"DEBE009", +"DEHH007", +"DEBE005", +"DEHH057", +"DEHH047", +"DEBE006", +"DEBB110" +]