Skip to content

Commit

Permalink
第五次作业开工
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuhan-xue committed Jun 7, 2023
1 parent b73da2a commit b389fd8
Show file tree
Hide file tree
Showing 5 changed files with 2,085 additions and 26 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
## 作业三 [长期水位资料的调和分析](https://nbviewer.org/github/Yuhan-xue/HAN_Marine_element/blob/main/WORK3/WORK3.ipynb)

## 作业四 [地转流计算](https://nbviewer.org/github/Yuhan-xue/HAN_Marine_element/blob/main/WORK4/WORK4.ipynb)

## 作业五 [海浪资料统计分析-施工ing 06\07\2023](https://nbviewer.org/github/Yuhan-xue/HAN_Marine_element/blob/main/WORK5/WORK5.ipynb)
61 changes: 35 additions & 26 deletions WORK4/WORK4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
{
"cell_type": "code",
"execution_count": 73,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -93,7 +93,7 @@
},
{
"cell_type": "code",
"execution_count": 74,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -119,7 +119,7 @@
"# NC 文件加载与信息提取\n",
"das1=nc.Dataset('TS_201801_GLB.nc')\n",
"das2=nc.Dataset('TS_201807_GLB.nc')\n",
"def getNCinfo(das):z\n",
"def getNCinfo(das):\n",
" for i in list(das.variables.keys()):\n",
" ignolist=['time','lat','lon','LONGITUDE', 'LATITUDE', 'TIME', 'bnds','err','ERR','error','ERROR']\n",
" if i in ignolist or i.split('_')[-1] in ignolist:\n",
Expand All @@ -140,7 +140,7 @@
},
{
"cell_type": "code",
"execution_count": 75,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -181,7 +181,7 @@
},
{
"cell_type": "code",
"execution_count": 76,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -217,7 +217,7 @@
},
{
"cell_type": "code",
"execution_count": 77,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -234,7 +234,7 @@
},
{
"cell_type": "code",
"execution_count": 78,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -267,7 +267,7 @@
},
{
"cell_type": "code",
"execution_count": 79,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -297,7 +297,7 @@
},
{
"cell_type": "code",
"execution_count": 80,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -347,7 +347,7 @@
},
{
"cell_type": "code",
"execution_count": 81,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -425,7 +425,7 @@
},
{
"cell_type": "code",
"execution_count": 82,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -434,7 +434,7 @@
"[None, None, None, None]"
]
},
"execution_count": 82,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -529,7 +529,7 @@
},
{
"cell_type": "code",
"execution_count": 83,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -551,7 +551,7 @@
},
{
"cell_type": "code",
"execution_count": 84,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -568,7 +568,7 @@
},
{
"cell_type": "code",
"execution_count": 85,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -589,7 +589,7 @@
},
{
"cell_type": "code",
"execution_count": 86,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -619,7 +619,7 @@
},
{
"cell_type": "code",
"execution_count": 87,
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -636,7 +636,7 @@
},
{
"cell_type": "code",
"execution_count": 88,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -714,7 +714,7 @@
},
{
"cell_type": "code",
"execution_count": 89,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand All @@ -723,7 +723,7 @@
"[None, None, None, None]"
]
},
"execution_count": 89,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -810,16 +810,16 @@
},
{
"cell_type": "code",
"execution_count": 101,
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x26ac103bd90>"
"<matplotlib.legend.Legend at 0x2df66f19690>"
]
},
"execution_count": 101,
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -860,7 +860,7 @@
},
{
"cell_type": "code",
"execution_count": 124,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -889,9 +889,18 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 20,
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "SyntaxError",
"evalue": "invalid syntax (2665640575.py, line 1)",
"output_type": "error",
"traceback": [
"\u001b[1;36m Cell \u001b[1;32mIn[20], line 1\u001b[1;36m\u001b[0m\n\u001b[1;33m 3.10.10 | packaged by Anaconda, Inc. | (main, Mar 21 2023, 18:39:17) [MSC v.1916 64 bit (AMD64)]\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n"
]
}
],
"source": [
"3.10.10 | packaged by Anaconda, Inc. | (main, Mar 21 2023, 18:39:17) [MSC v.1916 64 bit (AMD64)]\n",
"gsw 3.6.16.post1\n",
Expand Down
Empty file added WORK5/WORK5.ipynb
Empty file.
Loading

0 comments on commit b389fd8

Please sign in to comment.