Thanks Charlie. Yes I can see that this would work but it requires me to find the bad data slice in advance, which means manually scanning through the file somehow make two output files, one before and one after, and then merge the good data files afterwards. I was hoping for a more automatic solution, but this is worth a try. Cheers, Jed
I have a netCDF file that looks like this: dimensions: lon = 360 ; lat = 181 ; time = UNLIMITED ; // (2920 currently) Of those 2920 time slabs, one of the 2D fields is corrupted - there is no data in the 2D field in a single slice, and the time variable is also missing. Would there be a way using NCO to copy only the valid data in this file to a new file? I'm ok with just skipping the one bad slice. Thanks, Jed