Skip to content

Commit 17f7226

Browse files
committed
work on doc
1 parent b5a1de7 commit 17f7226

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

docs/overview.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ ensemble, and fourth dimension are the grid points values.
2424
Chunking
2525
**********
2626

27+
"Chunks" are the basic unit of data storage in Zarr_. This means that it
28+
is the granularity at which data is read from disk.
29+
2730
By default, the array is chunked along the time dimensions so the whole
2831
state of the atmosphere at a given time is loaded in one go:
2932

docs/using/code/drop_.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
3-
drop=["10u", "10v"],
4-
)
1+
ds = open_dataset(dataset, drop=["10u", "10v"])

docs/using/code/rename_.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
3-
rename={"2t": "t2m"},
4-
)
1+
ds = open_dataset(dataset, rename={"2t": "t2m"})

docs/using/code/reorder1_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
2+
dataset,
33
reorder=["2t", "msl", "sp", "10u", "10v"],
44
)

docs/using/code/reorder2_.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
3-
reorder={"2t": 0, "msl": 1, "sp": 2, "10u": 3, "10v": 4},
2+
dataset,
3+
reorder={
4+
"2t": 0,
5+
"msl": 1,
6+
"sp": 2,
7+
"10u": 3,
8+
"10v": 4,
9+
},
410
)

docs/using/code/select1_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
2+
dataset,
33
select=["2t", "tp"],
44
)

docs/using/code/select2_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ds = open_dataset(
2-
"aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2",
2+
dataset,
33
select={"2t", "tp"},
44
)

0 commit comments

Comments
 (0)