We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4da189 commit 349ba8aCopy full SHA for 349ba8a
README.md
@@ -36,6 +36,17 @@ close(ds)
36
37
As a proof-of-concept, there is also an [`TIFFDatasets`](https://github.com/Alexander-Barth/TIFFDatasets.jl) package for GeoTIFF files.
38
39
+# File conversions
40
41
+By implementing a common interface, GRIB files can be converted to NetCDF files using
42
+`NCDatasets.write`:
43
44
+```julia
45
+using NCDatasets
46
+using GRIBDatasets
47
+using Downloads: download
48
49
+grib_file = download("https://github.com/JuliaGeo/GRIBDatasets.jl/raw/98356af026ea39a5ec0b5e64e4289105492321f8/test/sample-data/era5-levels-members.grib")
50
+netcdf_file = "test.nc"
51
+NCDatasets.write(netcdf_file,GRIBDataset(grib_file))
52
+```
0 commit comments