[chpark@adis00 em_real]$ ncdump -v Times in.nc
netcdf out {
dimensions:
Time = 1 ;
DateStrLen = 19 ;
emissions_zdim = 1 ;
south_north = 319 ;
west_east = 431 ;
variables:
char Times(Time, DateStrLen) ;
Times:Times\:_FillValue = " " ;
float E_CO2(Time, emissions_zdim, south_north, west_east) ;
E_CO2:coordinates = "XLONG XLAT" ;
E_CO2:stagger = " " ;
E_CO2:units = "mol km^-2 hr^-1" ;
E_CO2:description = "EMISSIONS" ;
data:
Times =
"2016-01-11_00:00:00" ;
}
[chpark@adis00 em_real]$ ncap2 -O -s 'Times(0,:)="2021-05-11_06:00:00"' in.nc out.nc
[chpark@adis00 em_real]$ ncdump -v Times out.nc
:
:
data:
Times =
"2021-05-11_06:00:00" ;
}