Browse Source

Fix 25 hour in T2

FGeo 7 months ago
parent
commit
f760296aaf
  1. 12
      0_prepare_data.ipynb
  2. BIN
      data/WRF/WRF_T2_LATxMON.npy

12
0_prepare_data.ipynb

@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 18,
"id": "87860fa8-0a9c-4304-9c3c-94561c3e966c",
"metadata": {},
"outputs": [],
@ -103,18 +103,18 @@ @@ -103,18 +103,18 @@
"# d = 5113 corresponds to 30 Dec 2021\n",
"# d = 4991 corresponds to 29 Dec 2020\n",
"# (we will restrict our attention to 1980–2020)\n",
"# h (axis 1) is the hour of the day (an integer in [0, 24])\n",
"# h (axis 1) is the hour of the day (an integer in [0, 25])\n",
"# the values corresponding to h = 0 and h = 24 are the same\n",
"# lat (axis 2) describes the latitude (an integer in [0, 179]) \n",
"# lon (axis 3) describes the longitude (an integer in [0, 359])\n",
"\n",
"wrf_T2_data = np.load(f\"{src_path}/WRF-T2-MAP.npy\")[:wrf_N_days]\n",
"wrf_T2_data = np.load(f\"{src_path}/WRF-T2-MAP.npy\")[:wrf_N_days, :24]\n",
"wrf_T2_data_DAYxLAT = wrf_T2_data.mean(axis=(1, 3))"
]
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 19,
"id": "1124d9f9-95d9-4c02-8176-82b9c0331d34",
"metadata": {},
"outputs": [
@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
"(4992, 180)"
]
},
"execution_count": 11,
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
@ -135,7 +135,7 @@ @@ -135,7 +135,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 20,
"id": "ec569ffd-93c2-4490-8ba1-69af4fab8f23",
"metadata": {},
"outputs": [],

BIN
data/WRF/WRF_T2_LATxMON.npy

Binary file not shown.
Loading…
Cancel
Save