Skip to content

Commit

Permalink
Fixed broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
oduerr committed Jan 27, 2025
1 parent bd6da4b commit d243a7f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions internal/weather_pred.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@
],
"source": [
"## Download the files from Dropbox to the local directory if they are not already there\n",
"# The files are:\n",
"# https://www.dropbox.com/scl/fi/3htpqzo16kwyxl3341j3x/DWD_lead_time24_max_lag48_Times.csv?rlkey=paudy33ut9yl2cmjmzsu15bm8&dl=0\n",
"# https://www.dropbox.com/scl/fi/8k5p5ynj015mtnfbkoo98/DWD_lead_time24_max_lag48_X.csv?rlkey=7oia5bnd93s11eyvgug7tgkjr&dl=0\n",
"# https://www.dropbox.com/scl/fi/p9aymv2jby1at26ng6w4g/DWD_lead_time24_max_lag48_y.csv?rlkey=mqp9ls9rorix1pu9r19tbxq67&dl=0\n",
"# The internal dropbox path is DL_WBL/HS24_25_WBL/Projekte/wetter/DWD_lead_time24_max_lag48_X.csv ...\n",
"\n",
"\n",
"\n",
"import os\n",
"import requests\n",
Expand Down Expand Up @@ -111,7 +115,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 40,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -151,19 +155,17 @@
"((10503, 96), (10503, 1))"
]
},
"execution_count": 29,
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"### reading csv file from \n",
"file='~/Dropbox/__ZHAW/__Projekte_Post_ZHAH/DL_WBL/HS24_25_WBL/Projekte/wetter/DWD_lead_time24_max_lag48_X.csv'\n",
"\n",
"import pandas as pd\n",
"X = pd.read_csv(file)\n",
"y = pd.read_csv('~/Dropbox/__ZHAW/__Projekte_Post_ZHAH/DL_WBL/HS24_25_WBL/Projekte/wetter/DWD_lead_time24_max_lag48_y.csv')\n",
"times_sec = pd.read_csv('~/Dropbox/__ZHAW/__Projekte_Post_ZHAH/DL_WBL/HS24_25_WBL/Projekte/wetter/DWD_lead_time24_max_lag48_times.csv')\n",
"X = pd.read_csv('data/DWD_lead_time24_max_lag48_X.csv')\n",
"y = pd.read_csv('data/DWD_lead_time24_max_lag48_y.csv')\n",
"times_sec = pd.read_csv('data/DWD_lead_time24_max_lag48_Times.csv')\n",
"#Times are stored in seconds since 1970-01-01 00:00:00\n",
"\n",
"print(X.iloc[0:5, 0:3])\n",
Expand Down

0 comments on commit d243a7f

Please sign in to comment.