[Thread Prev][Thread Next][Index]

Re: [ferret_users] apply an offset on the time axis of a variable



Yes, that would be a simpler solution, using the same times and referencing them to a different origin.

   yes? let tt = t[gt=`var,return=taxis`]
   yes? define axis/t/t0="..."/units="`var,return=tunits` `var,return=taxis` = tt

with the new date.  In fact, you could just

   yes? set axis/t0="..."  `var,return=taxis`

to change the time origin.  Check the new definition , listing some dates

   yes? show axis/t/L=1:10



On Wed, Apr 26, 2017 at 9:24 PM, Ryo Furue <furue@xxxxxxxxxx> wrote:
Hi Ansley,

yes? let tt = t[gt=`var,return=taxis`]
yes? let tt_plus_50 = ...

yes? define axis/t/t0="`var,return=t0`"/units="`var,return=tunits` `var,return=taxis`
= tt_plus_50

Instead of shifting the time axis like this, is it possible to shift just t0  by minus 50 years?

Cheers,

Ryo



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement