Time interpolation
Open
Time interpolation
Created by: jdha
Look at how to best generalise the time interpolation in profile.py (nemo_bdy_scr_ref.m) Thoughts: Need an option for write out frequency - monthly or annual write out at desired frequency unless monthly files and mod(frequency,daysinmonth)/=0 also exception with annual files running leap years
Created by: jdha
Rules: 1. write out at the same frequency that is read in if: the same calendar is used in both cases different calendars are used but frequency is either monthly or yearly 2. if different calendars are used and the frequency is >= daily & <= monthly interpolate onto daily 3. if different calendars are used and the frequency < daily perform stretching onto the new calendar e.g. interpolate all data points on a 30 day March at 03h00 onto a 31 day March, then all the 06h00 etc in order to preserve the daily cycle.