-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix plotting script following new xarray output.
Plotting script now works for both legacy h5 files and new xarray netcdf output. 1. This PR also updates the filename suffix of new xarray output files to .nc , since .h5 is no longer appropriate. 2. To allow a combination of legacy h5 and new nc files as --outfile arguments, full filenames including file suffixes are now expected. 3. h5py is removed. h5 files can be read by the xarray h5netcdf backend PiperOrigin-RevId: 625630390
- Loading branch information
Torax team
committed
Apr 17, 2024
1 parent
651eb5b
commit 9e18a3f
Showing
5 changed files
with
57 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters