-
Notifications
You must be signed in to change notification settings - Fork 159
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
netcdf write optimizations #19
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) |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just set it to that because it seemed like the most common access pattern (reading a 2-d horizontal grid).
Code commit in #48 |
…_mods Bug fixes to 3D diagnostic tendencies (based on NOAA-EMC#15)
Remove dynamic CCPP build (NOAA-EMC#103)
* 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
see #18
Included in #41