diff --git "a/make_multipic_conv_train.ipynb" "b/make_multipic_conv_train.ipynb" --- "a/make_multipic_conv_train.ipynb" +++ "b/make_multipic_conv_train.ipynb" @@ -23,7 +23,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "7cc89208-69c2-455b-97c3-1e2d470d326c", "metadata": {}, "outputs": [ @@ -49,7 +49,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 5, @@ -78,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 25, "id": "cf514138", "metadata": {}, "outputs": [ @@ -195,14 +195,14 @@ "sat_imvx = resample_to_target(sat_imv['VX'], transform, target_shape, target_crs)\n", "sat_imvy = resample_to_target(sat_imv['VY'], transform, target_shape, target_crs)\n", "sat_imz = resample_to_target(sat_imz['surface'], transform, target_shape, target_crs)\n", - "sat_imsmb = resample_to_target(sat_imsmb, transform, target_shape, target_crs)\n", + "sat_imsmb = resample_to_target(sat_imsmb, transform, target_shape, target_crs).fillna(0)\n", "sat_imt2m = resample_to_target(sat_imt2m, transform, target_shape, target_crs).fillna(271).expand_dims(dim=\"band\")\n", "print('Done')" ] }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 29, "id": "efb1c26c-7fe4-4a0c-9c6e-0aa1bdbadb98", "metadata": {}, "outputs": [], @@ -212,7 +212,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 31, "id": "471dfdd9-f924-44c4-80bb-8c1652b2e0f8", "metadata": {}, "outputs": [ @@ -276,7 +276,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 39, "id": "3ac4d327-47e2-429e-a99c-69df29d4ba9e", "metadata": {}, "outputs": [ @@ -285,18 +285,20 @@ "output_type": "stream", "text": [ "(1, 1768, 2123)\n", - "(1768, 2123)\n" + "| 2605.16, 0.00,-2732000.00|\n", + "| 0.00,-2605.16, 2373000.00|\n", + "| 0.00, 0.00, 1.00|\n" ] } ], "source": [ "print(ref_shape)\n", - "print(sat_imt2m.rio.shape)" + "print(sat_imt2m.rio.transform())" ] }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 35, "id": "876d8393-5611-4611-a54d-5b0b1c85b08f", "metadata": {}, "outputs": [ @@ -831,12 +833,12 @@ "data": { "application/vnd.holoviews_exec.v0+json": "", "text/html": [ - "
\n", - "
\n", + "
\n", + "
\n", "
\n", "