#!/usr/bin/env python3

import met_nordic_forcing
from datetime import datetime
import sys

if __name__ == "__main__":
    if len(sys.argv) != 3:
        raise Exception("Usage: " + sys.argv[0] + " DTGSTART DTGSTOP")
    dtg1 = datetime.strptime(sys.argv[1], "%Y%m%d%H")
    dtg2 = datetime.strptime(sys.argv[2], "%Y%m%d%H")

    # Routine to set input
    met_nordic_forcing.check_missing_loop(dtg1, dtg2)

