Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Sep 21, 2023
1 parent 712f301 commit 2109bb1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,7 @@ ds = open_dataset(

When given a list of `zarr` files, the package will automatically work out if the files can be _concatenated_ or _joined_ by looking at the range of dates covered by each files.

If the dates are different, the files are concatenated:

![Concatenation](concat.png)

If the dates are the same, the files are joined:

![Join](join.png)
If the dates are different, the files are concatenated. If the dates are the same, the files are joined. See below for more information.

## Concatenating datasets

Expand All @@ -105,6 +99,8 @@ ds = open_dataset(

```

![Concatenation](concat.png)

Please note that you can pass more than two `zarr` files to the function.

## Joining datasets
Expand All @@ -121,7 +117,7 @@ ds = open_dataset(

```

|a|b|c|d| + |e|f|g|h| => |a|b|c|d|e|f|g|h|
![Join](join.png)

If a variable is present in more that one file, that last occurrence of that variable will be used, and will be at the position of the first occurrence of that name.

Expand Down

0 comments on commit 2109bb1

Please sign in to comment.