Skip to content

export_netCDF.py: Add overwrite keyword#167

Merged
MathieuMorlighem merged 1 commit into
ISSMteam:mainfrom
NASA-GISS:mankoff/dev
Jun 1, 2026
Merged

export_netCDF.py: Add overwrite keyword#167
MathieuMorlighem merged 1 commit into
ISSMteam:mainfrom
NASA-GISS:mankoff/dev

Conversation

@mankoff

@mankoff mankoff commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Added overwrite=False keyword to `export_netCDF' function. No change to default behavior.

Setting to True and adding this to calls to the function (e.g., export_netCDF(md, './Greenland.Mesh_generation.nc', overwrite=True)) skips the interactive request asking to rename file or make the user type delete to continue.

@MathieuMorlighem MathieuMorlighem merged commit acf6208 into ISSMteam:main Jun 1, 2026
8 checks passed
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.

2 participants