Project

General

Profile

360 day climate netcdf interpolate to 365 day netcdf

Added by John Young 7 months ago

I have a nc file, 360 day calendar, 360 day timesteps

I need to interp this to match other nc files, standard calendar 365 day timestep.

I have searched, tried various combinations of operators etc with fail.

any idea?

This is the sinfo nc file / 360 days

File format : NetCDF4 zip
-1 : Institut Source T Steptype Levels Num Points Num Dtype : Parameter ID
1 : unknown Weather v instant 1 1 281556 1 F32z : -1
Grid coordinates :
1 : curvilinear : points=281556 (594x474)
lon : 134.2981 to 160.9442 degrees_east
lat : -40.21925 to -22.47376 degrees_north
mapping : rotated_latitude_longitude
rlon : -179.7 to 179.7 degrees
rlat : -10.53 to 6.12 degrees
Vertical coordinates :
1 : surface : levels=1
Time coordinate :
time : 360 steps
RefTime = 1949-12-01 00:00:00 Units = days Calendar = 360_day Bounds = true
YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss
2014-01-01 12:00:00 2014-01-02 12:00:00 2014-01-03 12:00:00 2014-01-04 12:00:00
2014-01-05 12:00:00 2014-01-06 12:00:00 2014-01-07 12:00:00 2014-01-08 12:00:00
2014-01-09 12:00:00 2014-01-10 12:00:00 2014-01-11 12:00:00 2014-01-12 12:00:00
2014-01-13 12:00:00 2014-01-14 12:00:00 2014-01-15 12:00:00 2014-01-16 12:00:00
2014-01-17 12:00:00 2014-01-18 12:00:00 2014-01-19 12:00:00 2014-01-20 12:00:00
2014-01-21 12:00:00 2014-01-22 12:00:00 2014-01-23 12:00:00 2014-01-24 12:00:00
2014-01-25 12:00:00 2014-01-26 12:00:00 2014-01-27 12:00:00 2014-01-28 12:00:00
2014-01-29 12:00:00 2014-01-30 12:00:00 2014-02-01 12:00:00 2014-02-02 12:00:00
2014-02-03 12:00:00 2014-02-04 12:00:00 2014-02-05 12:00:00 2014-02-06 12:00:00
2014-02-07 12:00:00 2014-02-08 12:00:00 2014-02-09 12:00:00 2014-02-10 12:00:00
2014-02-11 12:00:00 2014-02-12 12:00:00 2014-02-13 12:00:00 2014-02-14 12:00:00
2014-02-15 12:00:00 2014-02-16 12:00:00 2014-02-17 12:00:00 2014-02-18 12:00:00
2014-02-19 12:00:00 2014-02-20 12:00:00 2014-02-21 12:00:00 2014-02-22 12:00:00
2014-02-23 12:00:00 2014-02-24 12:00:00 2014-02-25 12:00:00 2014-02-26 12:00:00
2014-02-27 12:00:00 2014-02-28 12:00:00 2014-02-29 12:00:00 2014-02-30 12:00:00
................................................................................
................
2014-11-01 12:00:00 2014-11-02 12:00:00 2014-11-03 12:00:00 2014-11-04 12:00:00
2014-11-05 12:00:00 2014-11-06 12:00:00 2014-11-07 12:00:00 2014-11-08 12:00:00
2014-11-09 12:00:00 2014-11-10 12:00:00 2014-11-11 12:00:00 2014-11-12 12:00:00
2014-11-13 12:00:00 2014-11-14 12:00:00 2014-11-15 12:00:00 2014-11-16 12:00:00
2014-11-17 12:00:00 2014-11-18 12:00:00 2014-11-19 12:00:00 2014-11-20 12:00:00
2014-11-21 12:00:00 2014-11-22 12:00:00 2014-11-23 12:00:00 2014-11-24 12:00:00
2014-11-25 12:00:00 2014-11-26 12:00:00 2014-11-27 12:00:00 2014-11-28 12:00:00
2014-11-29 12:00:00 2014-11-30 12:00:00 2014-12-01 12:00:00 2014-12-02 12:00:00
2014-12-03 12:00:00 2014-12-04 12:00:00 2014-12-05 12:00:00 2014-12-06 12:00:00
2014-12-07 12:00:00 2014-12-08 12:00:00 2014-12-09 12:00:00 2014-12-10 12:00:00
2014-12-11 12:00:00 2014-12-12 12:00:00 2014-12-13 12:00:00 2014-12-14 12:00:00
2014-12-15 12:00:00 2014-12-16 12:00:00 2014-12-17 12:00:00 2014-12-18 12:00:00
2014-12-19 12:00:00 2014-12-20 12:00:00 2014-12-21 12:00:00 2014-12-22 12:00:00
2014-12-23 12:00:00 2014-12-24 12:00:00 2014-12-25 12:00:00 2014-12-26 12:00:00
2014-12-27 12:00:00 2014-12-28 12:00:00 2014-12-29 12:00:00 2014-12-30 12:00:00
cdo sinfo: Processed 1 variable over 360 timesteps [0.40s 27MB].