Hi Serena,
I now see that the arguments for ef_get_axis_dates changed to support timestep precision and return the actual length of the returned time string(s). This change did not get updated in any of the example external functions, including dates.F in either Ferret or PyFerret.
The new signature for ef_get_axis_dates is:
SUBROUTINE EF_GET_AXIS_DATES(id, iarg, tax, dim, numtimes, precision, slen, datebuf)
so it has two more arguments just before the 'datebuf' argument:
precision - (INTEGER; input) the desired 'precision' for the date string(s) returned
slen - (INTEGER; output) the actual length of the date string(s) returned
Also increase the size of datebuf (CHARACTER*32 is plenty) if you plan on reporting fractional seconds (precision 7).
The 'precision' for dates is:
1: year (not currently working correctly so don't use)
2: month-year (not currently working correctly so don't use)
3: day-month-year
4: day-month-year hour
5: day-month-year hour:minute
6: day-month-year hour:minute:second
7: day-month-year hour:minute:second.frac
Apologies for the missed update.
King regards,
Karl