-
Notifications
You must be signed in to change notification settings - Fork 191
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
Generalize file splitting for output writers #3515
Merged
Merged
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
e06d78e
Generalize file splitting for JLD2OutputWriter so that alternative cr…
glwagner b1ad9b6
Update src/OutputWriters/jld2_output_writer.jl
glwagner 183e729
Export FileSizeLimit and update JLD2OutputWriter test
glwagner 0f5fedb
implementing file splitting in netcdf
josuemtzmo 9276ba6
Properly export FileSizeLimit
glwagner 6c6e07e
fix handeling of path writer.filepath with the file_splitting
josuemtzmo ab7fec6
merge with glw/generalized-file-splitting
josuemtzmo 2937dc1
add support to file splitting by size in netCDFs
josuemtzmo 4f9af7e
add support to file splitting by size in netCDFs
josuemtzmo 73a94ef
update warning to properly print variable.
josuemtzmo cd30f3e
return to the use of FileSizeLimit(200KiB) in the test to make it eas…
josuemtzmo 2f0e4f6
update netcdf to match jld2, and add return in update_file_splitting_…
josuemtzmo 09c4abb
fix tests filesize tests
josuemtzmo db94858
Apply suggestions from code review
navidcy 14ce9a8
Merge branch 'main' into glw/generalized-file-splitting
navidcy 4804fc2
Update test_jld2_output_writer.jl
navidcy 3a846e5
Merge branch 'main' into glw/generalized-file-splitting
josuemtzmo 4c1db46
fix show for NetCDFOutputWriter
navidcy f9b082f
fix doctests
navidcy 527ac31
Update src/OutputWriters/netcdf_output_writer.jl
navidcy 78998bc
Update src/OutputWriters/jld2_output_writer.jl
navidcy 60de913
fix doctests
navidcy fc49fb7
Merge branch 'glw/generalized-file-splitting' of github.com:CliMA/Oce…
navidcy d8233b0
fix doctests
navidcy 28cc203
fix doctest
navidcy 97fa9bb
cleanup unecessary imports
navidcy 71dab3a
fix doctest
navidcy 4c1cb92
fix doctests
navidcy 6c0e974
fix doctests
navidcy 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 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
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
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.
why this change?
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.
Because
path
was used later on in the code, but it wasn't updated. Thus the code crashed while creating the file and when thewriter.filepath
changed but not thepath
. The easier fix was to replace all instances ofpath
by thewriter.filepath
.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.
Ok, that's a good reason!