Skip to content

netcdf write optimizations#19

Closed
jswhit2 wants to merge 4 commits into
NOAA-EMC:developfrom
jswhit2:develop
Closed

netcdf write optimizations#19
jswhit2 wants to merge 4 commits into
NOAA-EMC:developfrom
jswhit2:develop

Conversation

@jswhit2
Copy link
Copy Markdown
Collaborator

@jswhit2 jswhit2 commented Dec 5, 2019

see #18

Included in #41

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)
Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown

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).

@jswhit2 jswhit2 mentioned this pull request Jan 10, 2020
@junwang-noaa
Copy link
Copy Markdown
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants