YAXArrays.jl icon indicating copy to clipboard operation
YAXArrays.jl copied to clipboard

implement savedataset(; overwrite=true) per variable

Open lazarusA opened this issue 2 years ago • 1 comments

Overwriting a dataset should just do it per variable and not delete the whole file.

lazarusA avatar Feb 06 '23 17:02 lazarusA

a possible workflow will be to use (extend) append instead with:

  • check first if variable already exist in Dataset
  • if it does delete it from it https://github.com/JuliaDataCubes/YAXArrays.jl/issues/222
  • use the append option to update the variable

and keep the overwrite option as it is, but with the proper warning in the docs.

@meggart sounds reasonable?

lazarusA avatar Feb 07 '23 10:02 lazarusA