Change Time Axis Units From "years Since" To "days Since" In Netcdf File
I have a netcdf file that someone passed me that uses 'years since DATE' as the time units: double time(time) ; time:standard_name = 'time' ; time:long_name = 'time' ;
Solution 1:
Try NCO's udunits()
function documented here:
ncap2 -O -s '@units="days since 2000-1-1 00:00:00";time=udunits(time,@units);time@units=@units' in.nc out.nc
Post a Comment for "Change Time Axis Units From "years Since" To "days Since" In Netcdf File"