From 7c2d25ef74622f501e9f7a963152ea93839b8413 Mon Sep 17 00:00:00 2001
From: Carsten Hinz <c.hinz@fz-juelich.de>
Date: Tue, 21 May 2024 13:41:09 +0200
Subject: [PATCH] changed time interval to only three days

added additional tests for type_of_area
and comment different out
---
 tests/get_sample_data.ipynb | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/tests/get_sample_data.ipynb b/tests/get_sample_data.ipynb
index 32962c2..af50c5b 100644
--- a/tests/get_sample_data.ipynb
+++ b/tests/get_sample_data.ipynb
@@ -12,7 +12,7 @@
     "\n",
     "sampling = \"daily\"  # FIXME check monthly !!!\n",
     "start = datetime(2010, 1, 1)\n",
-    "end = datetime(2010, 2, 1)\n",
+    "end = datetime(2010, 1, 3)\n",
     "\n",
     "statistics_endpoint = \"https://toar-data.fz-juelich.de/api/v2/analysis/statistics/\"\n",
     "statistic = \"mean\"\n",
@@ -20,7 +20,8 @@
     "time = TimeSample(start, end, sampling=sampling)\n",
     "# { \"station_type_of_area\" : \"urban\" } category is not known\n",
     "#metadata = Metadata.construct(\"mole_fraction_of_ozone_in_air\", time, statistic, { \"toar1_category\" : \"RuralLowElevation\"})#\n",
-    "metadata = Metadata.construct(\"mole_fraction_of_ozone_in_air\", time, statistic, { \"type_of_area\" : \"Urban\" })#also test Rural, Suburban,\n",
+    "#metadata = Metadata.construct(\"mole_fraction_of_ozone_in_air\", time, statistic, { \"type_of_area\" : \"Urban\" })#also test Rural, Suburban,\n",
+    "metadata = Metadata.construct(\"mole_fraction_of_ozone_in_air\", time, statistic, { \"type_of_area\" : \"Rural\" })#also test Rural, Suburban,\n",
     "\n",
     "start_time = datetime.now()\n",
     "print(start_time)"
@@ -50,13 +51,6 @@
     "end_time = datetime.now()\n",
     "print(end_time-start_time)"
    ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
   }
  ],
  "metadata": {
-- 
GitLab