Project

General

Profile

Adding date information to a netCDF file that doesn't have any.

Added by Oliver Angelil over 7 years ago

The attached file has 365 time steps (1 January 1950 to 31 December 1950). Therefore it is clear what the date for each time step should be. How can I add this to the file? I assume CDO can do this.

Thanks,
Oliver

file.nc (19.5 MB) file.nc

Replies (1)

RE: Adding date information to a netCDF file that doesn't have any. - Added by Oliver Angelil over 7 years ago

Figured it out:

cdo settaxis,1950-01-01,12:00:00,1day file.nc file2.nc

    (1-1/1)