Skip to content

Collective access when extending a file#2016

Merged
jedwards4b merged 4 commits intomainfrom
fix/netcdf4_var_par_access
Nov 28, 2025
Merged

Collective access when extending a file#2016
jedwards4b merged 4 commits intomainfrom
fix/netcdf4_var_par_access

Conversation

@jedwards4b
Copy link
Copy Markdown
Contributor

@jedwards4b jedwards4b commented Nov 26, 2025

netcdf4p needs a collective access flag set to extend the file.
Fixes #2015

@anton-seaice
Copy link
Copy Markdown

Thanks @jedwards4b - I built with 06e7937 and my test code from #2015 passes now :)

@jedwards4b jedwards4b self-assigned this Nov 28, 2025
@jedwards4b jedwards4b merged commit 39e5584 into main Nov 28, 2025
3 checks passed
anton-seaice added a commit to ACCESS-NRI/cice5 that referenced this pull request Dec 17, 2025
The goal here is to enable multiple timesteps per history file when
using PIO, to be consistent with the access-esm1.6 branch. In the
access-esm1.6 branch, this
[change](#59) was implemented
only when using Netcdf for IO. Closes #58

1. This change relies on latest in ParallelIO
(NCAR/ParallelIO#2016). (Updating ParallelIO is
not answer changing -
[build](ACCESS-NRI/ACCESS-OM2#125) and
[repro](ACCESS-NRI/access-om2-configs#205 (comment))
)
2. This changes the time variable to be in the middle of the averaging
interval
3. error handling is added/modified on an as needed basis, rather than
comprehensively
4. Output files follow the ocean convention now, e.g
_iceh-1monthly-mean_1900.nc_
@anton-seaice anton-seaice mentioned this pull request Dec 17, 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.

Is extending variables supported?

2 participants