uncaught keyerror in dataset get_metadata and date dimension