kopia lustrzana https://github.com/bristol-seds/pico-tracker
[geofence] reduce the prefix geofence to 20km resolution, cut out much of the southern hemisphere
rodzic
1e7d8eccd1
commit
0412146a06
Plik diff jest za duży
Load Diff
|
@ -32,7 +32,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 11
|
||||
"prompt_number": 2
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
@ -57,7 +57,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 12
|
||||
"prompt_number": 3
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
@ -107,7 +107,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 18
|
||||
"prompt_number": 4
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
@ -132,7 +132,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 14
|
||||
"prompt_number": 5
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
@ -193,7 +193,39 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 15
|
||||
"prompt_number": 6
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Cut below latitude"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"# Cuts out points below latitude\n",
|
||||
"def cut_below_latitude(outlines, threashold):\n",
|
||||
" new_outlines = []\n",
|
||||
" \n",
|
||||
" for outline in outlines:\n",
|
||||
" \n",
|
||||
" new_outline = [] \n",
|
||||
" for point in outline:\n",
|
||||
" if point[1] > threashold:\n",
|
||||
" new_outline.append(point)\n",
|
||||
" \n",
|
||||
" if len(new_outline):\n",
|
||||
" new_outlines.append(new_outline)\n",
|
||||
"\n",
|
||||
" return new_outlines"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 7
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
@ -298,7 +330,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 16
|
||||
"prompt_number": 8
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
|
@ -307,7 +339,7 @@
|
|||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 16
|
||||
"prompt_number": 8
|
||||
}
|
||||
],
|
||||
"metadata": {}
|
||||
|
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue