regarding settaxis
Added by nitin patil over 9 years ago
Dear All,
I am using
cdo settaxis,2010-01-15,00:00,31days in.nc out.nc
after doing this, the date is not 15 for each month (it shows 14 or 15 or 13 depending on the months)
I need same date each months for that what I have to do??
Replies (4)
RE: regarding settaxis - Added by Uwe Schulzweida over 9 years ago
Use 1month instead of 31days:
cdo settaxis,2010-01-15,00:00,1month in.nc out.nc
RE: regarding settaxis - Added by nitin patil over 9 years ago
Thanks for your reply. I tried with month also but date is changing.
I need the output in "days since ....."
Please anyone suggest if knows.
RE: regarding settaxis - Added by Uwe Schulzweida over 9 years ago
I can't repoduce the chaning date with 1month.
Use settunits,days to change the units form month to days:
cdo settunits,days -settaxis,2010-01-15,00:00,1month in.nc out.nc
RE: regarding settaxis - Added by nitin patil over 9 years ago
Thanks very much Uwe Schulzweida it works.