I intended to write:
... and then your axis will have 2920 time steps.
Hi,
For the year 2018, the Gregorian and Julian calendars are the same. These two calendars only differ in the corrections made at the start of each century, skipping the leap day in 3 out of four centuries. So this is not due to the regridding operation.
Your definition for the axis tmodel extends only to hour 00 of 31-dec-2018. I think you want to define the axis as follows:
DEFINE AXIS/CALENDAR=JULIAN/T="1-JAN-2018:00:00":"31-DEC-2018:21:00":03/UNITS=hours tmodel
and then your axis will have 2929 time steps.
Ansley
On 1/20/2022 2:58 AM, Aditi Srivast wrote:
Dear Dr Ryo
I tried using ferret simple commands to convert gregorian calendar to Julian calendar
ex as followsuse rlds-jra.nc
name title I J K L M N
RLDS Surface Downwelling Longwave Ra 1:640 1:320 ... 1:2920 ... ...DEFINE AXIS/CALENDAR=JULIAN/T="1-JAN-2018":"31-DEC-2018":03/UNITS=hours tmodel
let rld=rlds[GT=tmodel@lin]
set mem/siz=6000
save/clobber/file=test1_lin.nc rldThis command worked, but after conversion from gregorian calendar to Julian the the file contains 2913 time steps instead of 2920
still I am not able to solve after going through the mail archives
Requesting for help
RegardsKalyani
On Thu, Jan 20, 2022 at 12:56 PM Ryo Furue <furue@xxxxxxxxxx> wrote:
Dear Kalyani,
I want to convert 3hourly JRA data from gregorian calendar to Julian calendar, I tried to convert using ferret but I am not successful, kindly to help me with one example for conversion
Maybe you'll find some information by searching the Ferret email list archive
with a keyword "Julian" or "Julian calendar".
If you don't find a solution there, please ask here, but you will need to show us what you have tried so far.
Regards,
Ryo