Change time axis units from “years since” to “days since” in netcdf file

Try NCO’s udunits() function documented here:

ncap2 -O -s '@units="days since 2000-1-1 00:00:00";time=udunits(time,@units);[email protected][email protected]' in.nc out.nc

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top