Skip to content

Commit

Permalink
完善了版本号获取方式,增加了 notebook 教程
Browse files Browse the repository at this point in the history
  • Loading branch information
longtsing committed Dec 11, 2024
1 parent a2de6bf commit b6bc591
Show file tree
Hide file tree
Showing 6 changed files with 829 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import os
import sys
sys.path.append(os.path.abspath('../'))
from datetime import datetime,timedelta
import dateutil.parser
import dateutil.rrule
import numpy as np
import pandas as pd
import xarray as xr
import matplotlib as mpl
import matplotlib.pyplot as plt
import types
from joblib import Parallel, delayed
import metgrs
from metgrs import WindProfileRadar


metgrs.__version__




























































230 changes: 230 additions & 0 deletions examples/1如何读取风廓线雷达数据.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "0e404e88-ae93-45d1-99a3-8a5aa5e87f12",
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import sys\n",
"sys.path.append(os.path.abspath('../'))\n",
"from datetime import datetime,timedelta\n",
"import dateutil.parser\n",
"import dateutil.rrule\n",
"import numpy as np\n",
"import pandas as pd\n",
"import xarray as xr\n",
"import matplotlib as mpl\n",
"import matplotlib.pyplot as plt\n",
"import types\n",
"from joblib import Parallel, delayed\n",
"import metgrs\n",
"from metgrs import WindProfileRadar"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "f821bc1d-df9b-409c-9285-93225d59a7a4",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'0.4.1'"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"metgrs.__version__"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "47dc0423-c6fa-4d91-b7c2-7015d3383104",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "253fca42-67f7-4fab-a8ac-5666f18cdbac",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "a4ce713e-dc9f-4a4b-8389-988b4fa26fc5",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "3f0b9a31-66f7-4261-82a0-4522563be9b9",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "27cd7e77-cf23-432b-934b-cee915d0efdb",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "eb19b291-31ee-4088-95f5-34125bf332a7",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "3b5ec986-8c6a-48dd-a520-16d5c779872f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "3000dade-cb3f-4ecb-aeb5-37613a3e58e7",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "ab801ce5-a125-4793-b184-0686f81e5bd3",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "54e88629-0155-4456-896b-b0798b158e74",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "13ba2d8a-ec1b-45a3-a4e9-5474a92ee103",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "4d7cd9c6-66ef-4711-a65d-cabb6cc35419",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "534bb695-fb5f-48d2-b16f-9cfaf28df66e",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "f82b0ae1-9074-4063-854b-50c76ab0992f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "58edd589-641f-4b82-9da2-a28344c8a0e8",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "55141b2e-6b34-4f4a-a2ed-395552699c32",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "322d2a43-8861-4cd4-9bea-7cf56ff3b86d",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "3e4560ad-1012-4c06-ae2d-e34abfccd158",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "749a22cb-2bcc-471e-ab78-e9b7b28993e2",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "9eb1f48f-aff0-41d6-9823-569c8dbf4af1",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:metgrs]",
"language": "python",
"name": "conda-env-metgrs-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.0"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading

0 comments on commit b6bc591

Please sign in to comment.