Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Leonie Pick
ClassifyStorms
Commits
8520c990
Commit
8520c990
authored
May 14, 2019
by
Leonie Pick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checked formular. No relevant changes applied.
parent
2867006b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
3 deletions
+36
-3
ClassifyStorms.ipynb
ClassifyStorms.ipynb
+36
-3
No files found.
ClassifyStorms.ipynb
View file @
8520c990
...
...
@@ -41,9 +41,42 @@
},
{
"cell_type": "code",
"execution_count":
1
,
"execution_count":
2
,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<xarray.Dataset>\n",
"Dimensions: (ASY measures: 3, CD axes: 3, Events: 868, Hours: 1016832, KpHours: 251544, MLT hours: 24, OBS IDs: 34, Properties: 3, SNYears: 317, TimeUnits: 5)\n",
"Coordinates:\n",
" * Properties (Properties) object 'Class' 'TimeIndex' 'inTarget'\n",
" * KpHours (KpHours) float64 1.932e+03 1.932e+03 ... 2.018e+03 2.018e+03\n",
" * CD axes (CD axes) object 'X' 'Y' 'Z'\n",
" * TimeUnits (TimeUnits) object 'Year' 'Month' 'Day' 'Hour' 'DecimalYear'\n",
" * OBS IDs (OBS IDs) object 'POT' 'SED' 'NGK' 'PSM' ... 'WAT' 'GNA' 'GNG'\n",
" * Hours (Hours) datetime64[ns] 1900-01-01T00:30:00 ... 2015-12-31T23:30:00\n",
" * SNYears (SNYears) float64 1.7e+03 1.702e+03 ... 2.016e+03 2.016e+03\n",
" * ASY measures (ASY measures) object 'ASY1' 'ASY2' 'MLT of max ASY2'\n",
" * Events (Events) object 'Jian' 'Jian' 'Jian' ... 'Shen' 'Shen' 'Shen'\n",
" * MLT hours (MLT hours) int64 0 1 2 3 4 5 6 7 ... 16 17 18 19 20 21 22 23\n",
"Data variables:\n",
" Position (OBS IDs, Hours, CD axes) float64 ...\n",
" SN (SNYears) float64 ...\n",
" Time (Hours, TimeUnits) float64 ...\n",
" HMC (Hours) float64 ...\n",
" Training (Events, Properties) int64 ...\n",
" ASY (Hours, ASY measures) float64 ...\n",
" Kp (KpHours) float64 ...\n",
" B_MLT (Hours, MLT hours) float64 ...\n",
" B_OBS (OBS IDs, Hours, CD axes) float64 ...\n",
"Attributes:\n",
" Owner: Leonie Pick, lpick@gfz-potsdam.de\n",
" Last modified: February 2019\n"
]
}
],
"source": [
"%matplotlib inline\n",
"from Imports import *\n",
...
...
@@ -52,7 +85,7 @@
"PathInput = './Input.nc'\n",
"Input = xr.open_dataset(PathInput)\n",
"# Have a look at the xarray dataset:\n",
"
#
print(Input)\n",
"print(Input)\n",
"\n",
"Var = dict()\n",
"for key in Input.keys(): Var[key] = Input[key].values\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment