Project

General

Profile

How can I change first month of year in NetCDF file?

Added by Harun Aslan about 2 years ago

Hi all!!

I have the 1979-2022 monthly (from October to May) averaged temperature dataset in the NetCDF file. I want to change the range of months of the year. For example, 1980 should range from 1979 October to 1980 May and 1981 has to cover the months between October 1980 and May 1981 and so on... Anyone who gives an example will be appreciated.


Replies (2)

RE: How can I change first month of year in NetCDF file? - Added by Ralf Mueller about 2 years ago

Hi Harun Aslan!

you have multiple options:

  1. shifttime This operator allow you to shift the time axis into past and future
  2. settaxis This will let you completely reset the timeaxis

For both operators you can find examples in the Forums here

hth
ralf

RE: How can I change first month of year in NetCDF file? - Added by Karin Meier-Fleischer about 2 years ago

There is the same question in the issues https://code.mpimet.mpg.de/issues/11029

The time of the uploaded file is not correct.

    (1-2/2)