You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,11 @@ Features include:
25
25
26
26
27
27
28
-
Here is minimal example for loading GRIB or NetCDF files.
28
+
Here is minimal example for loading files using `CommonDataModel`:
29
29
30
30
```julia
31
31
import CommonDataModel as CDM
32
-
import SomeDatasets # where SomeDatasets is either GRIBDatasets or NCDatasets
32
+
import SomeDatasets # where SomeDatasets is either GRIBDatasets, NCDatasets, ZarrDatasets,...
33
33
34
34
ds = SomeDatasets.Dataset("file_name")
35
35
@@ -50,23 +50,21 @@ title = ds.attrib["title"] # or CDM.attribs(ds)["title"]
50
50
close(ds)
51
51
```
52
52
53
-
Most users would typically import [`GRIBDatasets`](https://github.com/JuliaGeo/GRIBDatasets.jl) and [`NCDatasets`](https://github.com/Alexander-Barth/NCDatasets.jl) directly and not `CommonDataModel`. One should import `CommonDataModel` only to extent the functionality of `GRIBDatasets` and `NCDatasets`.
54
-
55
-
53
+
Most users would typically import [`GRIBDatasets`](https://github.com/JuliaGeo/GRIBDatasets.jl), [`NCDatasets`](https://github.com/Alexander-Barth/NCDatasets.jl)... directly and not `CommonDataModel`.
56
54
57
55
# File conversions
58
56
59
-
By implementing a common interface, GRIB files can be converted to NetCDF files using
60
-
`NCDatasets.write`:
57
+
By implementing a common interface, files can be converted from one format to another using the `write` function.
58
+
For example GRIB files can be converted to NetCDF (or Zarr) files:
0 commit comments