Project

General

Profile

Converting time to account for global time differences

Added by Sven Batke almost 8 years ago

Hi there,

I am trying to select time values between 9am - 4pm in an nc file. I have done the following:

cdo seltime,09:00,16:00 ifile ofile

The problem is that because the nc file is a global grid, the time of course varies between time zones. The original time format is 'International Data Line'.

Is there a way to account for this? I just want to make sure that I ONLY extract variable data from the time-range and not accidentally include night-time values.

The only operators I found that might be somewhat useful are shifttime and settunits. But how do you use these for different time zones (/latitudes)?

Any suggestions?

Thanks!

Sven