5 "execution_count": null,
6 "id": "be267060-d899-4988-a5c5-cc5b5cc1954e",
10 "# both can change\n",
12 "import numpy as np\n",
13 "import pandas as pd\n",
17 "import matplotlib.pyplot as plt\n",
19 "import pickle, os\n",
20 "from utils import hash2\n",
21 "from utils import print_dict_summary, print_first, str2time\n",
22 "from data_funcs import load_and_fix_data\n",
29 "execution_count": null,
30 "id": "660990c3-dbbf-4a78-9658-6b62f18e9cd2",
34 "print('testing the original testing_dict for fmda__rnn_rain')"
39 "execution_count": null,
40 "id": "8ef1ea7d-4d63-43dd-b308-fd3e6b4b60f7",
44 "dict_file='data/testing_dict.pickle' # input path of FMDA dictionaries"
49 "execution_count": null,
50 "id": "b8490d18-2b7d-4c09-a039-78929c97c66a",
54 "testing_dict=load_and_fix_data(dict_file)"
59 "execution_count": null,
60 "id": "97d19ea1-671f-4cd9-89a4-effb5d8fac6a",
64 "print_dict_summary(testing_dict)"
69 "execution_count": null,
70 "id": "39eefc05-18e8-485c-9b60-af2d6879fe5b",
74 "with open(dict_file, 'rb') as file:\n",
75 " testing_dict_raw = pickle.load(file)"
80 "execution_count": null,
81 "id": "fcd21a77-d698-4daa-a62d-ef9f2916a9c0",
85 "print_dict_summary(testing_dict_raw)"
90 "execution_count": null,
91 "id": "b133757d-ca77-442d-bebb-3e8bd23962d8",
99 "display_name": "Python 3 (ipykernel)",
100 "language": "python",
108 "file_extension": ".py",
109 "mimetype": "text/x-python",
111 "nbconvert_exporter": "python",
112 "pygments_lexer": "ipython3",