From 51f5b8f2d491c993ebfcb1bbd529ad7f305bae99 Mon Sep 17 00:00:00 2001 From: alexrad71 <140546242+alexrad71@users.noreply.github.com> Date: Mon, 30 Dec 2024 19:03:02 -0500 Subject: [PATCH] Add files via upload --- ...O_tropNO2_validation_with_Pandora_03.ipynb | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/TEMPO/L2_validation_codes/TEMPO_tropNO2_validation_with_Pandora_03.ipynb b/TEMPO/L2_validation_codes/TEMPO_tropNO2_validation_with_Pandora_03.ipynb index 9d2448f..b406575 100644 --- a/TEMPO/L2_validation_codes/TEMPO_tropNO2_validation_with_Pandora_03.ipynb +++ b/TEMPO/L2_validation_codes/TEMPO_tropNO2_validation_with_Pandora_03.ipynb @@ -133,7 +133,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": { "id": "IAAuhYMcEkvP" }, @@ -192,7 +192,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "metadata": { "id": "YEwbJTAFsGT1" }, @@ -233,7 +233,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": { "id": "YUOuYq-8sclr" }, @@ -302,7 +302,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "metadata": { "id": "AViZrctjsVWN" }, @@ -364,7 +364,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 5, "metadata": { "id": "1NYdVqlBuKBT" }, @@ -476,7 +476,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 6, "metadata": { "id": "GedTZnASz9o_" }, @@ -560,7 +560,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 7, "metadata": { "id": "XLSYQezN28Bq" }, @@ -639,7 +639,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 8, "metadata": { "id": "WjLz_BRH3MO7" }, @@ -715,7 +715,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 9, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -741,7 +741,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 10, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -797,7 +797,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 11, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -990,14 +990,14 @@ "name": "stdin", "output_type": "stream", "text": [ - "Enter a name of a Pandora site: Bould\n" + "Enter a name of a Pandora site: BoulderCO\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Bould\n", + "BoulderCO\n", "there are 2 site names, select one from\n", "BoulderCO-NCAR\n", "BoulderCO\n" @@ -1019,9 +1019,7 @@ "BoulderCO-NCAR\n", "from the list of existing Pandora sites\n", "https://data.pandonia-global-network.org/BoulderCO-NCAR/Pandora204s1/L2/Pandora204s1_BoulderCO-NCAR_L2_rnvh3p1-8.txt\n", - "Pandora204s1_BoulderCO-NCAR_L2_rnvh3p1-8.txt does not exit in local directory, downloading from the web\n", - "https://data.pandonia-global-network.org/BoulderCO-NCAR/Pandora204s1/L2/Pandora204s1_BoulderCO-NCAR_L2_rnvh3p1-8.txt\n", - "Pandora L2 file Pandora204s1_BoulderCO-NCAR_L2_rnvh3p1-8.txt has been downloaded\n" + "Pandora204s1_BoulderCO-NCAR_L2_rnvh3p1-8.txt exits in local directory\n" ] } ], @@ -1087,7 +1085,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 12, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -1151,7 +1149,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 13, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -1202,7 +1200,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 14, "metadata": { "id": "uEaqIobZ7F81" }, @@ -1242,7 +1240,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 15, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -1286,7 +1284,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 16, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1401,7 +1399,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 17, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -1566,6 +1564,10 @@ " mn = int(fname[Tind+3 : Tind+5])\n", " ss = float(fname[Tind+5 : Tind+7])\n", "\n", + "# check whether POI is in the granule. If not - move to the next granule\n", + " pp = np.array([POI[1], POI[0]])\n", + " p = Point(pp) # POI[0] - latitudes, POI[1] - longitudes\n", + "\n", " POI_found = False\n", " for ix in range(nx-1):\n", " for iy in range(ny-1):\n", @@ -1725,7 +1727,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 18, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -1839,7 +1841,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 19, "metadata": { "id": "6cHK-fIs9KCs" }, @@ -1893,7 +1895,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 20, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1949,7 +1951,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 22, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -2112,7 +2114,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 23, "metadata": { "colab": { "base_uri": "https://localhost:8080/",