-
Notifications
You must be signed in to change notification settings - Fork 274
Add methods to write a field directly to NetCDF #4730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
03f8fca
extend defVar to be able to write field directly to NetCDF
tomchor 4c8a461
added function to create dimensions
tomchor ab770d1
add some tests
tomchor 776cd7e
fix test
tomchor 21302b3
better function signature
tomchor 40ddfb9
Merge branch 'main' into tc/field-to-netcdf
tomchor f652448
Merge branch 'main' into tc/field-to-netcdf
tomchor 875e396
Merge branch 'main' into tc/field-to-netcdf
tomchor 484969b
Merge branch 'main' into tc/field-to-netcdf
tomchor 6efd39c
import node
tomchor fe7e746
add some more tests
tomchor 5943128
fix test of dimension validation
tomchor 386b918
Merge branch 'main' into tc/field-to-netcdf
tomchor 7ec7b29
add attributes to time dimension
tomchor 0dfd9e7
use function to create_time_dimensions
tomchor 6230e51
test multiple grids in the same netCDF file
tomchor 8c9c786
redo move to netcdf_writer.jl
tomchor 20d579d
fix test
tomchor 5b95116
Update ext/OceananigansNCDatasetsExt.jl
tomchor c0895c4
Merge branch 'main' into tc/field-to-netcdf
tomchor 29e4a96
Merge branch 'main' into tc/field-to-netcdf
tomchor 441e5d8
test also on GPUs
tomchor 905317d
Merge branch 'tc/field-to-netcdf' of github.com:CliMA/Oceananigans.jl…
tomchor 7215493
add tests for immersed boundaries
tomchor 59b61d0
Merge branch 'main' into tc/field-to-netcdf
tomchor 7fcb2e6
use GridFittedBottom
tomchor 2a45660
bring field to CPU before writing to NetCDF
tomchor e3d44bb
add tests for LatLonGrid
tomchor 827cd79
fewer comments
tomchor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was this line supposed to do? It's defining a function which returns a function, I doubt this is what you meant. Also, this is untested: https://app.codecov.io/gh/CliMA/Oceananigans.jl/blob/main/src%2FOutputWriters%2Fnetcdf_writer.jl#L47