netcdf write optimizations#19
Closed
jswhit2 wants to merge 4 commits into
Closed
Conversation
| ncerr = nf90_def_var(ncid, trim(fldName), NF90_FLOAT, & | ||
| (/im_dimid,jm_dimid,pfull_dimid,time_dimid/), varids(i), & | ||
| shuffle=.false.,deflate_level=ideflate,& | ||
| chunksizes=(/im,jm,1,1/),cache_size=40*im*jm); NC_ERR_STOP(ncerr) |
Contributor
There was a problem hiding this comment.
Must the chunksizes be /im,jm,1,1/?
Having chunksizes of 1 performs badly. Having chunksizes that are the entire extent of the dimension can be fast for smaller sizes, but larger sizes should be broken up.
There was a problem hiding this comment.
No, I just set it to that because it seemed like the most common access pattern (reading a 2-d horizontal grid).
Merged
Collaborator
|
Code commit in #48 |
climbfuji
pushed a commit
to climbfuji/fv3atm
that referenced
this pull request
Apr 24, 2020
…_mods Bug fixes to 3D diagnostic tendencies (based on NOAA-EMC#15)
junwang-noaa
pushed a commit
to junwang-noaa/fv3atm
that referenced
this pull request
Sep 30, 2021
Remove dynamic CCPP build (NOAA-EMC#103)
LarissaReames
pushed a commit
to LarissaReames/fv3atm
that referenced
this pull request
Nov 17, 2023
* Fix for multi_gases to 32 bit compiling * Add a subroutine to read multi_gases_nml to be consistent with others * Replace rilist and cpilist with ri and cpilist for multi_gases_nml
DusanJovic-NOAA
pushed a commit
to DusanJovic-NOAA/ufsatm
that referenced
this pull request
Feb 7, 2025
turn on more doxygen warnings
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
see #18
Included in #41