Skip to content

Commit 4e18058

Browse files
committed
Top level data object
1 parent ec9c9f4 commit 4e18058

30 files changed

+6480
-152
lines changed
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 2,
6+
"id": "8b8e4d31-6d6b-4794-87ae-305a2deff5e1",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"name": "stdout",
11+
"output_type": "stream",
12+
"text": [
13+
"_from_source: src= CovjsonReader(/Users/cgr/git/earthkit-data/tests/data/points.covjson)\n"
14+
]
15+
}
16+
],
17+
"source": [
18+
"import earthkit.data as ekd\n",
19+
"import os\n",
20+
"\n",
21+
"p = os.path.expanduser(\"~/git/earthkit-data/tests/data/points.covjson\")\n",
22+
"ds = ekd.from_source(\"file\", p)"
23+
]
24+
},
25+
{
26+
"cell_type": "code",
27+
"execution_count": null,
28+
"id": "aca26a25-cc3f-4b20-a42f-c4a60d7ff58a",
29+
"metadata": {},
30+
"outputs": [],
31+
"source": [
32+
"ds"
33+
]
34+
},
35+
{
36+
"cell_type": "code",
37+
"execution_count": null,
38+
"id": "f3b1b4bb-93e7-4f78-85fc-15a7963c01fb",
39+
"metadata": {},
40+
"outputs": [],
41+
"source": [
42+
"ds.available_types"
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"id": "a940a844-adc9-4521-b7cc-6c04456b03d0",
49+
"metadata": {},
50+
"outputs": [],
51+
"source": [
52+
"ds.to_xarray()"
53+
]
54+
},
55+
{
56+
"cell_type": "code",
57+
"execution_count": null,
58+
"id": "768b4fce-207b-4a04-a277-8622199ff6d9",
59+
"metadata": {},
60+
"outputs": [],
61+
"source": [
62+
"#ds.to_geojson()"
63+
]
64+
},
65+
{
66+
"cell_type": "code",
67+
"execution_count": null,
68+
"id": "fea0f17f-f059-4e61-842b-ba9b9f570757",
69+
"metadata": {},
70+
"outputs": [],
71+
"source": []
72+
}
73+
],
74+
"metadata": {
75+
"kernelspec": {
76+
"display_name": "dev",
77+
"language": "python",
78+
"name": "dev"
79+
},
80+
"language_info": {
81+
"codemirror_mode": {
82+
"name": "ipython",
83+
"version": 3
84+
},
85+
"file_extension": ".py",
86+
"mimetype": "text/x-python",
87+
"name": "python",
88+
"nbconvert_exporter": "python",
89+
"pygments_lexer": "ipython3",
90+
"version": "3.13.1"
91+
}
92+
},
93+
"nbformat": 4,
94+
"nbformat_minor": 5
95+
}

0 commit comments

Comments
 (0)