Skip to content

Commit

Permalink
Merge pull request #24 from Alexander-Barth/main
Browse files Browse the repository at this point in the history
Update conversion from GRIB to NetCDF example
  • Loading branch information
tcarion authored Feb 23, 2024
2 parents 053dd42 + ac4e84c commit 85f797e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ using Downloads: download

grib_file = download("https://github.com/JuliaGeo/GRIBDatasets.jl/raw/98356af026ea39a5ec0b5e64e4289105492321f8/test/sample-data/era5-levels-members.grib")
netcdf_file = "test.nc"
NCDatasets.write(netcdf_file,GRIBDataset(grib_file))
NCDataset(netcdf_file,"c") do ds
write(ds,GRIBDataset(grib_file))
end
```
## Opening issues:
GRIB format files may have a (very) large amount of different shapes. `GRIBDatasets` might not work for your specific edge case. If this happens, please open an issue, if possible providing the file triggering the bug.

0 comments on commit 85f797e

Please sign in to comment.