NetCDF Subtracting time steps : I have a question regarding specific netcdf file manipulation. I am not sure how exactly to solve this issue.
I have a netcdf file that has 21 time steps and thickness data in the variable 'lithk'.
I would like to substract the first time step from the last to get the change of the thickness between the first and the last time step.
Then I would like to get this newly calculated data added back to the netcdf file as a new variable.
I have tried many solution and could not come up with the one that works so far.
I would really apprechiate any help on this.
Many Thanks