Skip to content

Commit

Permalink
working version
Browse files Browse the repository at this point in the history
  • Loading branch information
cparcerisas committed Jan 27, 2023
1 parent 816c1b0 commit 5f93cf4
Show file tree
Hide file tree
Showing 4 changed files with 2,321 additions and 515 deletions.
2 changes: 1 addition & 1 deletion 0_download_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"metadata": {
"pycharm": {
"name": "#%%\n"
Expand Down
24 changes: 17 additions & 7 deletions 1_add_env_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@
"# Install the required packages. Geopandas can give problems in Windows machines, so better to install them using wheels when using Windows\n",
"import sys\n",
"!{sys.executable} -m pip install shapely==1.8.2\n",
"!{sys.executable} -m pip install git+https://github.com/paulfvliz/erddapy@localfile-fix\n",
"!{sys.executable} -m pip install bpnsdata\n",
"!{sys.executable} -m pip install pygeos"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {
"pycharm": {
"is_executing": true,
Expand All @@ -111,6 +112,13 @@
"C:\\Users\\cleap\\Envs\\sound-data-utils\\lib\\site-packages\\geopandas\\_compat.py:123: UserWarning: The Shapely GEOS version (3.10.2-CAPI-1.16.0) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.\n",
" warnings.warn(\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"1.2.1\n"
]
}
],
"source": [
Expand All @@ -124,7 +132,10 @@
"import xarray\n",
"from tqdm import tqdm\n",
"\n",
"import bpnsdata"
"import bpnsdata\n",
"\n",
"import erddapy \n",
"print(erddapy.__version__)"
]
},
{
Expand Down Expand Up @@ -383,14 +394,13 @@
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
Expand Down Expand Up @@ -421,4 +431,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
27 changes: 18 additions & 9 deletions 2_prepare_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 1,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand All @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 2,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand All @@ -53,7 +53,16 @@
"name": "#%%\n"
}
},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\cleap\\Envs\\sound-data-utils\\lib\\site-packages\\geopandas\\_compat.py:123: UserWarning: The Shapely GEOS version (3.10.2-CAPI-1.16.0) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.\n",
" warnings.warn(\n"
]
}
],
"source": [
"import datetime\n",
"import pathlib\n",
Expand All @@ -67,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 3,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand All @@ -85,7 +94,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 4,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand All @@ -102,7 +111,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 5,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand Down Expand Up @@ -146,7 +155,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 6,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand Down Expand Up @@ -191,7 +200,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 7,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand All @@ -210,7 +219,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 8,
"metadata": {
"jupyter": {
"outputs_hidden": false
Expand Down
Loading

0 comments on commit 5f93cf4

Please sign in to comment.