1

I have a netCDF file with ten minute resolution data. I would like to extract the hourly data from this and write a new netCDF file that grabs the data at the top of each hour in the original ten minute file. I think that I would do this with the ncks -d hyperslab flag but I am not entirely sure if this is the best way.

Charlie Zender
  • 5,929
  • 14
  • 19
HM14
  • 689
  • 1
  • 10
  • 30

1 Answers1

3

Yes, the best way is to use

ncks -d time,min,max,stride in.nc out.nc

e.g.,

ncks -d time,0,,6 in.nc out.nc
Charlie Zender
  • 5,929
  • 14
  • 19