From 7356d3112a7f0d572f98f6ce1a6c585bb9ddae46 Mon Sep 17 00:00:00 2001 From: RoyCaitSith Date: Sat, 14 Sep 2024 14:04:44 -0600 Subject: [PATCH] update --- notebooks/cycling_da.ipynb | 549 +-------- notebooks/cycling_da_01.ipynb | 8 +- notebooks/cycling_da_02.ipynb | 2055 +-------------------------------- 3 files changed, 14 insertions(+), 2598 deletions(-) diff --git a/notebooks/cycling_da.ipynb b/notebooks/cycling_da.ipynb index 7fcfb98..a8f01ba 100644 --- a/notebooks/cycling_da.ipynb +++ b/notebooks/cycling_da.ipynb @@ -38,7 +38,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 4, "id": "73945b5f-6382-43d3-85b8-82aa501f3df8", "metadata": {}, "outputs": [ @@ -52,7 +52,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "2d1364e34c92422988bafb1ad0a90366", + "model_id": "bf7421a71b0d4cc48d8fd4962d56cfdb", "version_major": 2, "version_minor": 0 }, @@ -77,546 +77,7 @@ "Create ens folder, and copy wrfout to ens\n", "Copy, revise, and the script of running gsi at 2021092318\n", "Run gsi for domain d01 at 2021092318\n", - "jobid: ['13391755']\n", - "Finish running the job\n", - "Finish running gsi at 2021092318 for d01\n", - "Copy diag conv ges files\n", - "Run read_diag_conv.x\n", - " open file \n", - " /uufs/chpc.utah.edu/common/home/zpu-group30/cfeng/TROPICS/12_Sam_Cycling_DA/cyc\n", - " ling_da/Sam_HVOLD_GEFS_CYG_V1_CS_QT_C08/da/results_conv_ges.2021092318.d01\n", - " process date: 2021092318\n", - " t 1 26 3 1\n", - " uv 1 37 3 1\n", - " ps 1 25 12 2\n", - " t 1 26 14 2\n", - " q 1 27 12 2\n", - " uv 1 37 14 2\n", - " ps 1 25 37 5\n", - " t 1 26 37 5\n", - " q 1 27 37 5\n", - " uv 1 37 31 5\n", - " spd 1 31 64 5\n", - " ps 1 25 70 6\n", - " t 1 26 66 6\n", - " q 1 27 65 6\n", - " uv 1 37 66 6\n", - " spd 1 31 308 6\n", - " ps 1 25 254 7\n", - " t 1 26 311 7\n", - " q 1 27 18 7\n", - " uv 1 37 239 7\n", - " spd 1 31 225 7\n", - " ps 1 25 29 8\n", - " t 1 26 449 8\n", - " q 1 27 25 8\n", - " uv 1 37 447 8\n", - " spd 1 31 220 8\n", - " ps 1 25 67 9\n", - " t 1 26 79 9\n", - " q 1 27 65 9\n", - " uv 1 37 78 9\n", - " spd 1 31 260 9\n", - " t 1 26 1 10\n", - " uv 1 37 1 10\n", - " spd 1 31 229 10\n", - " ps 1 25 6 11\n", - " t 1 26 1 11\n", - " uv 1 37 1 11\n", - " spd 1 31 703 11\n", - " ps 1 25 66 12\n", - " t 1 26 67 12\n", - " q 1 27 66 12\n", - " uv 1 37 67 12\n", - " spd 1 31 790 12\n", - " t 1 26 4 13\n", - " uv 1 37 4 13\n", - " spd 1 31 277 13\n", - " ps 1 25 6 14\n", - " t 1 26 9 14\n", - " q 1 27 6 14\n", - " uv 1 37 9 14\n", - " ps 1 25 7 15\n", - " t 1 26 8 15\n", - " q 1 27 7 15\n", - " uv 1 37 1 15\n", - " spd 1 31 123 19\n", - " ps 1 25 18 20\n", - " t 1 26 9 20\n", - " q 1 27 1 20\n", - " uv 1 37 9 20\n", - " spd 1 31 321 20\n", - " ps 1 25 479 21\n", - " t 1 26 578 21\n", - " q 1 27 88 21\n", - " uv 1 37 498 21\n", - " spd 1 31 253 21\n", - " ps 1 25 197 22\n", - " t 1 26 495 22\n", - " q 1 27 86 22\n", - " uv 1 37 493 22\n", - " spd 1 31 351 22\n", - " t 1 26 1 23\n", - " uv 1 37 1 23\n", - " spd 1 31 194 23\n", - " spd 1 31 364 24\n", - " ps 1 25 72 25\n", - " t 1 26 66 25\n", - " q 1 27 66 25\n", - " uv 1 37 66 25\n", - " spd 1 31 846 25\n", - " ps 1 25 25 26\n", - " t 1 26 15 26\n", - " q 1 27 13 26\n", - " uv 1 37 15 26\n", - " spd 1 31 628 26\n", - " t 1 26 7 27\n", - " uv 1 37 7 27\n", - " spd 1 31 328 27\n", - " ps 1 25 35 29\n", - " t 1 26 35 29\n", - " q 1 27 35 29\n", - " uv 1 37 35 29\n", - " ps 1 25 8 31\n", - " t 1 26 8 31\n", - " q 1 27 8 31\n", - " uv 1 37 8 31\n", - " t 1 26 2 32\n", - " uv 1 37 2 32\n", - " spd 1 31 3 32\n", - " ps 1 25 24 33\n", - " t 1 26 27 33\n", - " q 1 27 24 33\n", - " uv 1 37 27 33\n", - " spd 1 31 215 33\n", - " ps 1 25 51 34\n", - " t 1 26 117 34\n", - " q 1 27 45 34\n", - " uv 1 37 115 34\n", - " spd 1 31 213 34\n", - " ps 1 25 148 35\n", - " t 1 26 247 35\n", - " q 1 27 52 35\n", - " uv 1 37 186 35\n", - " spd 1 31 273 35\n", - " ps 1 25 6 36\n", - " t 1 26 4 36\n", - " uv 1 37 4 36\n", - " spd 1 31 245 36\n", - " ps 1 25 6 37\n", - " t 1 26 7 37\n", - " q 1 27 6 37\n", - " uv 1 37 7 37\n", - " spd 1 31 305 37\n", - " ps 1 25 24 38\n", - " t 1 26 1 38\n", - " uv 1 37 1 38\n", - " spd 1 31 593 38\n", - " ps 1 25 12 39\n", - " spd 1 31 721 39\n", - " spd 1 31 403 40\n", - " ps 1 25 12 41\n", - " spd 1 31 331 41\n", - " ps 1 25 10 42\n", - " t 1 26 10 42\n", - " q 1 27 10 42\n", - " uv 1 37 3 42\n", - " ps 1 25 5 43\n", - " t 1 26 5 43\n", - " q 1 27 5 43\n", - " uv 1 37 5 43\n", - " t 1 26 2 44\n", - " uv 1 37 2 44\n", - " t 1 26 3 45\n", - " uv 1 37 3 45\n", - " ps 1 25 15 46\n", - " t 1 26 17 46\n", - " q 1 27 15 46\n", - " uv 1 37 17 46\n", - " spd 1 31 105 46\n", - " spd 1 31 258 47\n", - " spd 1 31 283 48\n", - " ps 1 25 6 49\n", - " t 1 26 6 49\n", - " q 1 27 6 49\n", - " uv 1 37 6 49\n", - " spd 1 31 376 49\n", - " ps 1 25 1 50\n", - " t 1 26 3 50\n", - " q 1 27 1 50\n", - " uv 1 37 3 50\n", - " spd 1 31 243 50\n", - " ps 1 25 65 51\n", - " t 1 26 67 51\n", - " uv 1 37 2 51\n", - " spd 1 31 346 51\n", - " ps 1 25 24 52\n", - " t 1 26 4 52\n", - " uv 1 37 4 52\n", - " spd 1 31 601 52\n", - " t 1 26 1 53\n", - " uv 1 37 1 53\n", - " spd 1 31 553 53\n", - " ps 1 25 12 54\n", - " spd 1 31 365 54\n", - " ps 1 25 2 55\n", - " spd 1 31 283 55\n", - " t 1 26 2 56\n", - " uv 1 37 2 56\n", - " ps 1 25 14 57\n", - " t 1 26 17 57\n", - " q 1 27 14 57\n", - " uv 1 37 17 57\n", - " t 1 26 2 58\n", - " uv 1 37 2 58\n", - " ps 1 25 44 59\n", - " t 1 26 44 59\n", - " q 1 27 44 59\n", - " uv 1 37 44 59\n", - " t 1 26 300 59\n", - " q 1 27 300 59\n", - " ps 1 25 6 60\n", - " spd 1 31 225 60\n", - " t 1 26 6800 60\n", - " q 1 27 6800 60\n", - " ps 1 25 6 61\n", - " spd 1 31 251 61\n", - " t 1 26 4100 61\n", - " q 1 27 4100 61\n", - " ps 1 25 65 62\n", - " t 1 26 65 62\n", - " q 1 27 65 62\n", - " uv 1 37 65 62\n", - " spd 1 31 384 62\n", - " t 1 26 2400 62\n", - " q 1 27 2400 62\n", - " ps 1 25 12 63\n", - " spd 1 31 313 63\n", - " t 1 26 1200 63\n", - " q 1 27 1200 63\n", - " spd 1 31 223 64\n", - " t 1 26 400 64\n", - " q 1 27 400 64\n", - " ps 1 25 3 65\n", - " t 1 26 5 65\n", - " q 1 27 3 65\n", - " uv 1 37 5 65\n", - " spd 1 31 378 65\n", - " ps 1 25 3 66\n", - " t 1 26 3 66\n", - " q 1 27 3 66\n", - " uv 1 37 3 66\n", - " spd 1 31 493 66\n", - " t 1 26 2 67\n", - " uv 1 37 2 67\n", - " spd 1 31 419 67\n", - " ps 1 25 12 68\n", - " t 1 26 3 68\n", - " uv 1 37 3 68\n", - " spd 1 31 323 68\n", - " ps 1 25 2 69\n", - " t 1 26 2 69\n", - " q 1 27 2 69\n", - " uv 1 37 2 69\n", - " spd 1 31 185 69\n", - " ps 1 25 19 70\n", - " t 1 26 19 70\n", - " q 1 27 13 70\n", - " uv 1 37 19 70\n", - " ps 1 25 6 71\n", - " t 1 26 6 71\n", - " q 1 27 6 71\n", - " uv 1 37 6 71\n", - " ps 1 25 9 72\n", - " t 1 26 9 72\n", - " q 1 27 9 72\n", - " uv 1 37 8 72\n", - " spd 1 31 81 72\n", - " t 1 26 10200 72\n", - " q 1 27 10200 72\n", - " ps 1 25 21 73\n", - " t 1 26 15 73\n", - " q 1 27 15 73\n", - " uv 1 37 15 73\n", - " spd 1 31 138 73\n", - " t 1 26 18200 73\n", - " q 1 27 18200 73\n", - " ps 1 25 6 74\n", - " spd 1 31 294 74\n", - " t 1 26 22800 74\n", - " q 1 27 22800 74\n", - " spd 1 31 340 75\n", - " t 1 26 18000 75\n", - " q 1 27 18000 75\n", - " spd 1 31 348 76\n", - " t 1 26 15300 76\n", - " q 1 27 15300 76\n", - " ps 1 25 6 77\n", - " spd 1 31 274 77\n", - " t 1 26 11800 77\n", - " q 1 27 11800 77\n", - " spd 1 31 267 78\n", - " t 1 26 11500 78\n", - " q 1 27 11500 78\n", - " t 1 26 1 79\n", - " uv 1 37 1 79\n", - " spd 1 31 459 79\n", - " t 1 26 9200 79\n", - " q 1 27 9200 79\n", - " t 1 26 1 80\n", - " uv 1 37 1 80\n", - " spd 1 31 465 80\n", - " t 1 26 6500 80\n", - " q 1 27 6500 80\n", - " ps 1 25 6 81\n", - " spd 1 31 421 81\n", - " t 1 26 5600 81\n", - " q 1 27 5600 81\n", - " ps 1 25 1 82\n", - " t 1 26 1 82\n", - " q 1 27 1 82\n", - " uv 1 37 1 82\n", - " spd 1 31 291 82\n", - " t 1 26 4900 82\n", - " q 1 27 4900 82\n", - " ps 1 25 5 83\n", - " t 1 26 6 83\n", - " q 1 27 5 83\n", - " uv 1 37 6 83\n", - " spd 1 31 85 83\n", - " t 1 26 3600 83\n", - " q 1 27 3600 83\n", - " ps 1 25 25 84\n", - " t 1 26 25 84\n", - " q 1 27 25 84\n", - " uv 1 37 25 84\n", - " ps 1 25 32 85\n", - " t 1 26 26 85\n", - " q 1 27 26 85\n", - " uv 1 37 20 85\n", - " spd 1 31 7 85\n", - " t 1 26 4900 85\n", - " q 1 27 4900 85\n", - " ps 1 25 1 86\n", - " t 1 26 1 86\n", - " uv 1 37 1 86\n", - " spd 1 31 145 86\n", - " t 1 26 56400 86\n", - " q 1 27 56400 86\n", - " ps 1 25 1 87\n", - " t 1 26 1 87\n", - " q 1 27 1 87\n", - " uv 1 37 1 87\n", - " spd 1 31 224 87\n", - " t 1 26 45700 87\n", - " q 1 27 45700 87\n", - " ps 1 25 18 88\n", - " spd 1 31 240 88\n", - " t 1 26 39800 88\n", - " q 1 27 39800 88\n", - " spd 1 31 375 89\n", - " t 1 26 38300 89\n", - " q 1 27 38300 89\n", - " ps 1 25 6 90\n", - " spd 1 31 260 90\n", - " t 1 26 36100 90\n", - " q 1 27 36100 90\n", - " spd 1 31 249 91\n", - " t 1 26 25500 91\n", - " q 1 27 25500 91\n", - " spd 1 31 402 92\n", - " t 1 26 24200 92\n", - " q 1 27 24200 92\n", - " ps 1 25 6 93\n", - " spd 1 31 400 93\n", - " t 1 26 20900 93\n", - " q 1 27 20900 93\n", - " t 1 26 2 94\n", - " uv 1 37 2 94\n", - " spd 1 31 481 94\n", - " t 1 26 15400 94\n", - " q 1 27 15400 94\n", - " ps 1 25 19 95\n", - " t 1 26 1 95\n", - " q 1 27 1 95\n", - " uv 1 37 1 95\n", - " spd 1 31 402 95\n", - " t 1 26 14700 95\n", - " q 1 27 14700 95\n", - " spd 1 31 164 96\n", - " t 1 26 13500 96\n", - " q 1 27 13500 96\n", - " ps 1 25 6 97\n", - " spd 1 31 25 97\n", - " t 1 26 11900 97\n", - " q 1 27 11900 97\n", - " ps 1 25 34 98\n", - " t 1 26 34 98\n", - " q 1 27 34 98\n", - " uv 1 37 34 98\n", - " ps 1 25 32 99\n", - " t 1 26 21 99\n", - " q 1 27 20 99\n", - " uv 1 37 27 99\n", - " spd 1 31 78 99\n", - " t 1 26 27700 99\n", - " q 1 27 27700 99\n", - " ps 1 25 6 100\n", - " t 1 26 8 100\n", - " q 1 27 6 100\n", - " uv 1 37 2 100\n", - " spd 1 31 177 100\n", - " t 1 26 55700 100\n", - " q 1 27 55700 100\n", - " ps 1 25 6 101\n", - " spd 1 31 186 101\n", - " t 1 26 50300 101\n", - " q 1 27 50300 101\n", - " spd 1 31 338 102\n", - " t 1 26 34700 102\n", - " q 1 27 34700 102\n", - " spd 1 31 296 103\n", - " t 1 26 38700 103\n", - " q 1 27 38700 103\n", - " spd 1 31 285 104\n", - " t 1 26 26900 104\n", - " q 1 27 26900 104\n", - " spd 1 31 274 105\n", - " t 1 26 29100 105\n", - " q 1 27 29100 105\n", - " spd 1 31 459 106\n", - " t 1 26 42700 106\n", - " q 1 27 42700 106\n", - " ps 1 25 6 107\n", - " spd 1 31 379 107\n", - " t 1 26 41500 107\n", - " q 1 27 41500 107\n", - " ps 1 25 18 108\n", - " spd 1 31 395 108\n", - " t 1 26 25900 108\n", - " q 1 27 25900 108\n", - " ps 1 25 3 109\n", - " t 1 26 2 109\n", - " uv 1 37 2 109\n", - " spd 1 31 302 109\n", - " t 1 26 24500 109\n", - " q 1 27 24500 109\n", - " ps 1 25 9 110\n", - " spd 1 31 102 110\n", - " t 1 26 27100 110\n", - " q 1 27 27100 110\n", - " ps 1 25 6 111\n", - " t 1 26 23500 111\n", - " q 1 27 23500 111\n", - " ps 1 25 38 112\n", - " t 1 26 38 112\n", - " q 1 27 38 112\n", - " uv 1 37 38 112\n", - " ps 1 25 14 113\n", - " t 1 26 15 113\n", - " q 1 27 14 113\n", - " uv 1 37 15 113\n", - " spd 1 31 81 113\n", - " t 1 26 17700 113\n", - " q 1 27 17700 113\n", - " t 1 26 1 114\n", - " uv 1 37 1 114\n", - " spd 1 31 177 114\n", - " t 1 26 28700 114\n", - " q 1 27 28700 114\n", - " ps 1 25 6 115\n", - " t 1 26 1 115\n", - " uv 1 37 1 115\n", - " spd 1 31 291 115\n", - " t 1 26 32800 115\n", - " q 1 27 32800 115\n", - " uv 1 37 20 116\n", - " spd 1 31 339 116\n", - " t 1 26 32500 116\n", - " q 1 27 32500 116\n", - " uv 1 37 100 117\n", - " spd 1 31 385 117\n", - " t 1 26 1300 117\n", - " q 1 27 1300 117\n", - " ps 1 25 5 118\n", - " t 1 26 5 118\n", - " uv 1 37 25 118\n", - " spd 1 31 272 118\n", - " t 1 26 4700 118\n", - " q 1 27 4700 118\n", - " spd 1 31 396 119\n", - " t 1 26 32000 119\n", - " q 1 27 32000 119\n", - " ps 1 25 5 120\n", - " t 1 26 5 120\n", - " uv 1 37 5 120\n", - " spd 1 31 299 120\n", - " t 1 26 36800 120\n", - " q 1 27 36800 120\n", - " ps 1 25 12 121\n", - " spd 1 31 340 121\n", - " t 1 26 46500 121\n", - " q 1 27 46500 121\n", - " ps 1 25 6 122\n", - " spd 1 31 359 122\n", - " t 1 26 18900 122\n", - " q 1 27 18900 122\n", - " ps 1 25 18 123\n", - " spd 1 31 179 123\n", - " t 1 26 17800 123\n", - " q 1 27 17800 123\n", - " ps 1 25 6 124\n", - " t 1 26 2 124\n", - " uv 1 37 2 124\n", - " spd 1 31 32 124\n", - " t 1 26 40600 124\n", - " q 1 27 40600 124\n", - " t 1 26 16000 125\n", - " q 1 27 16000 125\n", - " ps 1 25 39 126\n", - " t 1 26 34 126\n", - " q 1 27 33 126\n", - " uv 1 37 34 126\n", - " spd 1 31 47 126\n", - " t 1 26 1400 126\n", - " q 1 27 1400 126\n", - " t 1 26 5 127\n", - " uv 1 37 5 127\n", - " spd 1 31 156 127\n", - " t 1 26 10000 127\n", - " q 1 27 10000 127\n", - " t 1 26 4 128\n", - " uv 1 37 4 128\n", - " spd 1 31 220 128\n", - " t 1 26 12800 128\n", - " q 1 27 12800 128\n", - " ps 1 25 6 129\n", - " t 1 26 5 129\n", - " uv 1 37 5 129\n", - " spd 1 31 375 129\n", - " t 1 26 15700 129\n", - " q 1 27 15700 129\n", - " ps 1 25 6 130\n", - " spd 1 31 433 130\n", - " t 1 26 17800 130\n", - " q 1 27 17800 130\n", - " ps 1 25 6 131\n", - " uv 1 37 30 131\n", - " spd 1 31 318 131\n", - " t 1 26 15600 131\n", - " q 1 27 15600 131\n", - " uv 1 37 5 132\n", - " spd 1 31 338 132\n", - " t 1 26 17500 132\n", - " q 1 27 17500 132\n", - " spd 1 31 208 133\n", - " t 1 26 23700 133\n", - " q 1 27 23700 133\n", - " spd 1 31 406 134\n", - " t 1 26 27300 134\n", - " q 1 27 27300 134\n", - " spd 1 31 390 135\n", - " t 1 26 29800 135\n" + "jobid: ['13402176']\n" ] } ], @@ -626,7 +87,7 @@ "run_cycling_da(data_library_name='tropics',\n", " dir_case='/TROPICS/12_Sam_Cycling_DA',\n", " case_name='Sam',\n", - " exp_name='HVOLD_GEFS_CYG_V1_CS_QT',\n", + " exp_name='HVOLD_GEFS_V1_CS_T',\n", " gsi_nodes=8, gsi_ntasks=192, gsi_account='zpu-kp', gsi_partition='zpu-kp', gsi_nodelist='kp[272-279]',\n", " wrf_nodes=4, wrf_ntasks=96, wrf_account='zpu-kp', wrf_partition='zpu-kp', wrf_nodelist='kp[272-275]')\n", " # gsi_nodes=3, gsi_ntasks=168, gsi_account='zpu-np', gsi_partition='zpu-np', gsi_nodelist='notch[382-384]',\n", @@ -654,7 +115,7 @@ "# prepare_wrf_forecast(data_library_name='tropics',\n", "# dir_case='/TROPICS/12_Sam_Cycling_DA',\n", "# case_name='Sam',\n", - "# exp_name='HVOLD_GEFS_CYG_V1_AS_QT')" + "# exp_name='HVOLD_GEFS_V1_AS_T')" ] }, { diff --git a/notebooks/cycling_da_01.ipynb b/notebooks/cycling_da_01.ipynb index 988519d..360398c 100644 --- a/notebooks/cycling_da_01.ipynb +++ b/notebooks/cycling_da_01.ipynb @@ -116,7 +116,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 32, "id": "76881246-975c-4eee-b07c-16f244be13c1", "metadata": { "tags": [] @@ -134,7 +134,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "ea314ea2b05843ce9dc0ce79c7cd2478", + "model_id": "5eb13cf5b78644ad87d43550ef7870ba", "version_major": 2, "version_minor": 0 }, @@ -150,7 +150,7 @@ "output_type": "stream", "text": [ "Cycle 8: Run wrf from 2021-09-25 12:00:00 to 2021-09-28 18:00:00\n", - "jobid: ['1703032']\n" + "jobid: ['1774959']\n" ] } ], @@ -160,7 +160,7 @@ "run_wrf_forecast(data_library_name='tropics',\n", " dir_case='/TROPICS/12_Sam_Cycling_DA',\n", " case_name='Sam',\n", - " exp_name='HVOLD_GEFS_CYG_V1_AS_QT',\n", + " exp_name='HVOLD_GEFS_V1_CS_QT',\n", " da_cycle=8,\n", " # whether_wait=False, nodes=1, ntasks=32, account='zpu-np', partition='zpu-np', nodelist='notch[063-064]')\n", " whether_wait=False, nodes=1, ntasks=32, account='zpu-np', partition='zpu-np', nodelist='')" diff --git a/notebooks/cycling_da_02.ipynb b/notebooks/cycling_da_02.ipynb index 56d258e..5c53045 100644 --- a/notebooks/cycling_da_02.ipynb +++ b/notebooks/cycling_da_02.ipynb @@ -38,2062 +38,17 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "73945b5f-6382-43d3-85b8-82aa501f3df8", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Copy files to dir_option\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "1ef362b4ca9640ceb2284532dac216cd", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DA Cycle: 0/8 DA Cycles | 00:00