diff --git a/tests.ipynb b/conversion.ipynb similarity index 99% rename from tests.ipynb rename to conversion.ipynb index 65ea47f..3fe78b8 100644 --- a/tests.ipynb +++ b/conversion.ipynb @@ -10,132 +10,13 @@ "import matplotlib.pyplot as plt" ] }, - { - "cell_type": "code", - "execution_count": 493, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "1 21.079909\n", - "2 21.079909\n", - "3 21.079909\n", - "4 21.079909\n", - "5 21.079909\n", - " ... \n", - "1362 21.080085\n", - "1363 21.080085\n", - "1364 21.080085\n", - "1365 21.080085\n", - "1366 21.080085\n", - "Name: longitude, Length: 1366, dtype: float64" - ] - }, - "execution_count": 493, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df = pd.read_csv('data/simulations/11km.txt', sep='\\t', encoding='latin')\n", - "df = df.drop([0], axis=0)\n", - "df = df.astype(float)\n", - "\n", - "df['longitude']" - ] - }, - { - "cell_type": "code", - "execution_count": 494, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "1 67.885478\n", - "2 67.885478\n", - "3 67.885478\n", - "4 67.885478\n", - "5 67.885478\n", - " ... \n", - "1362 67.959101\n", - "1363 67.959101\n", - "1364 67.959101\n", - "1365 67.959101\n", - "1366 67.959101\n", - "Name: latitude, Length: 1366, dtype: float64" - ] - }, - "execution_count": 494, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df['latitude']" - ] - }, - { - "cell_type": "code", - "execution_count": 495, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "1 67.750940\n", - "2 67.750940\n", - "3 67.750940\n", - "4 67.750940\n", - "5 67.750940\n", - " ... \n", - "1362 67.824918\n", - "1363 67.824918\n", - "1364 67.824918\n", - "1365 67.824918\n", - "1366 67.824918\n", - "Name: declination, Length: 1366, dtype: float64" - ] - }, - "execution_count": 495, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df['declination']" - ] - }, - { - "cell_type": "code", - "execution_count": 496, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8.20214666930979e-13 -1.51393643837011e-12 -2.40063988328838e-12\n" - ] - } - ], - "source": [ - "print(df.at[2, 'x_FL'], df.at[2, 'y_FL'], df.at[2, 'z_FL'])" - ] - }, { "cell_type": "code", "execution_count": 497, "metadata": {}, "outputs": [], "source": [ - "df = pd.read_csv('data/simulations/raw/Resultmin20.txt', sep='\\t')\n", - "\n", - "# Result_Exporte -> 19km\n", - "# Resultadd10 -> 16km\n", - "# Resultmin10 -> 23km\n", - "# Resultmin20 ->" + "df = pd.read_csv('data/simulations/raw/Resultmin20.txt', sep='\\t')" ] }, {