Worked perfectly, thank you both.
Hi, I have a large netcdf containing ~40 variables and I need to replace one variable...