ut_calendar(time) で時間を標準的な年月日時分秒に変換できる.netcdfデータでは,timeに変数&時間(時間ステップ)を入れると,365日カレンダーなどの属性も自動的にはいるので便利.
例
ncl > utc_date=ut_calendar(ssh1&time(0),0)
ncl > print(utc_date)
Variable: utc_date
Type: float
Total Size: 24 bytes
6 values
Number of Dimensions: 2
Dimensions and sizes: [1] x [6]
Coordinates:
Number Of Attributes: 1
calendar : noleap
(0,0) 1851
(0,1) 2
(0,2) 1
(0,3) 0
(0,4) 0
(0,5) 0