Skip to content

Commit 2e7be6e

Browse files
chore(examples): Automatic commit of example files in Markdown and Jupyter Notebook format.
1 parent cc2bf65 commit 2e7be6e

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed

docs/jupyter_notebooks/e1_pull_DWD_historical_to_all_output_formats.ipynb

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
{
22
"cells": [
3-
{
4-
"cell_type": "code",
5-
"execution_count": null,
6-
"metadata": {},
7-
"outputs": [],
8-
"source": "\"\"\"Contains examples\"\"\"\n"
9-
},
103
{
114
"cell_type": "markdown",
125
"metadata": {},
13-
"source": "pylint: disable=C0415, C0103\nlet pylint ignore to import from aixweather (Import outside toplevel), and ignore that pylint\nsuggests e1_pull_DWD_historical_to_all_output_formats would not be snake_case.\n"
14-
},
15-
{
16-
"cell_type": "code",
17-
"execution_count": null,
18-
"metadata": {},
19-
"outputs": [],
20-
"source": "import datetime as dt\n"
6+
"source": "Historical DWD pull example\n"
217
},
228
{
239
"cell_type": "markdown",
@@ -46,14 +32,14 @@
4632
{
4733
"cell_type": "markdown",
4834
"metadata": {},
49-
"source": "Step 0: Initiate the project class which contains or creates all variables and functions.\n"
35+
"source": "Step 0: Initiate the project class which contains or creates all variables and functions.\nFor this, we use the datetime module to specify dates.\n"
5036
},
5137
{
5238
"cell_type": "code",
5339
"execution_count": null,
5440
"metadata": {},
5541
"outputs": [],
56-
"source": "DWD_pull_project = ProjectClassDWDHistorical(\n start=dt.datetime(2022, 1, 1),\n end=dt.datetime(2023, 1, 1),\n station=15000,\n # specify whether nan-values should be filled when exporting\n fillna=True,\n # define results path if desired\n abs_result_folder_path=None,\n)\n"
42+
"source": "import datetime as dt\nDWD_pull_project = ProjectClassDWDHistorical(\n start=dt.datetime(2022, 1, 1),\n end=dt.datetime(2023, 1, 1),\n station=15000,\n # specify whether nan-values should be filled when exporting\n fillna=True,\n # define results path if desired\n abs_result_folder_path=None,\n)\n"
5743
},
5844
{
5945
"cell_type": "markdown",

docs/source/examples/e1_pull_DWD_historical_to_all_output_formats.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11

2-
```python
3-
"""Contains examples"""
4-
```
5-
6-
pylint: disable=C0415, C0103
7-
let pylint ignore to import from aixweather (Import outside toplevel), and ignore that pylint
8-
suggests e1_pull_DWD_historical_to_all_output_formats would not be snake_case.
9-
10-
```python
11-
import datetime as dt
12-
```
2+
Historical DWD pull example
133

144
Enable logging, this is just get more feedback through the terminal
155

@@ -26,8 +16,10 @@ from aixweather.project_class import ProjectClassDWDHistorical
2616
```
2717

2818
Step 0: Initiate the project class which contains or creates all variables and functions.
19+
For this, we use the datetime module to specify dates.
2920

3021
```python
22+
import datetime as dt
3123
DWD_pull_project = ProjectClassDWDHistorical(
3224
start=dt.datetime(2022, 1, 1),
3325
end=dt.datetime(2023, 1, 1),

0 commit comments

Comments
 (0)