how to convert datenum?

11 ビュー (過去 30 日間)
Salman
Salman 2014 年 5 月 27 日
コメント済み: Salman 2014 年 5 月 27 日
I have many time-datenum codes from olr.day.mean.nc. the one is 17298624 for the right result conver to datestring : june 6, 1974. but I got the wrong result. please help
THX
  2 件のコメント
the cyclist
the cyclist 2014 年 5 月 27 日
I don't know what olr.day.mean.nc is. What makes you think it is equivalent to a MATLAB datenum?
Star Strider
Star Strider 2014 年 5 月 27 日
I did a search for it. Go to NOAA Daily (non-interpolated) Outgoing Longwave Radiation (OLR) and find appropriate software to read the files. Another possible source of information is Re: Rewriting nc files.
Have fun!

サインインしてコメントする。

採用された回答

the cyclist
the cyclist 2014 年 5 月 27 日
編集済み: the cyclist 2014 年 5 月 27 日
Thanks to Star Strider's investigative work, I found this page that says that the OLR value is the number of hours since 1-1-1 00:00:00. This suggests to me that your conversion should be
datestr(17298624/24+365)
That's a few days off from the date you specify, but it is close.
Also, this page specifically discusses use of MATLAB to read files from this data source.
  1 件のコメント
Salman
Salman 2014 年 5 月 27 日
thank u so much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series Objects についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by