Skip to content

How the chunk sizes are selected in the fms of UFS #892

Answered by GFDL-Eric
TingLei-NOAA asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TingLei-NOAA,

Your findings are correct... FMS does not currently have a mechanism to control the chunking shape. Chunk shapes are defined in the nf90_def_var call as an optional argument. The function within FMS that calls nf90_def_var is called netcdf_add_variable and is located in the netcdf_io.F90 file of fms2_io. netcdf_add_variable does not currently accept or pass a chunksizes argument to nf90_def_var, so the "default" chunk sizes are used (n.b. although we didn't use the storage optional argument in the nf90_def_var call, chunking is used because an unlimited dimension is present). The determination of the "default" chunk sizes is a bit hazy, but ostensibly has something to do…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@rem1776
Comment options

@TingLei-NOAA
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TingLei-NOAA
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants