5 "execution_count": null,
6 "id": "83cc1dc4-3dcb-4325-9263-58101a3dc378",
10 "from utils import print_dict_summary, print_first, str2time\n",
12 "import os.path as osp"
17 "execution_count": null,
18 "id": "89e3ab9c-dfe0-4327-9ef6-0cd6f7afe1d4",
22 "file_name='test_NW_202401.pkl'\n",
28 "execution_count": null,
29 "id": "e0eea49b-bc80-4be0-9977-af5851d3256f",
33 "file_name='test_CA_202401.pkl'\n",
39 "execution_count": null,
40 "id": "70e99786-05b3-47a8-b305-31571babd46b",
44 "file_path = osp.join(file_dir,file_name)"
49 "execution_count": null,
50 "id": "0ea76be6-0a45-49ea-b14c-903304890a81",
54 "with open(file_path, 'rb') as file:\n",
55 " dict = pickle.load(file)"
60 "execution_count": null,
61 "id": "3c92d66b-6ab9-43b4-865a-7a8584e19179",
65 "i=list(dict.keys())\n",
71 "execution_count": null,
72 "id": "c65dca54-72f5-4121-9f37-89b8fa1f8351",
76 "first_key = next(iter(dict))\n",
78 "times=dict[first_key]['RAWS']['time']\n",
79 "print_first(times)\n",
85 "execution_count": null,
86 "id": "3fcc24dd-364a-45c1-ae41-16b0c048a9a5",
90 "dict[first_key]['HRRR']['f01']['descr']"
95 "execution_count": null,
96 "id": "286d472f-0805-4166-880c-5ac9fa8a61b4",
100 "timed=str2time(times)\n",
106 "execution_count": null,
107 "id": "b5a6b407-5872-46f9-8823-25c7a9803b9b",
111 "print_dict_summary(dict,first=['time','time_raws'],first_num=5)"
116 "execution_count": null,
117 "id": "c2d62d94-f906-4a7d-950a-b616f3b6cb55",
124 "execution_count": null,
125 "id": "490e700d-30e9-4b38-993f-edd59edf6f54",
132 "execution_count": null,
133 "id": "2e876b3e-3839-4912-bf63-d56b8ea66b14",
141 "display_name": "Python 3 (ipykernel)",
142 "language": "python",
150 "file_extension": ".py",
151 "mimetype": "text/x-python",
153 "nbconvert_exporter": "python",
154 "pygments_lexer": "ipython3",