repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'fixf'
[wrf-fire-matlab.git]
/
detection
/
julian2time.m
blob
061e0373c9c57fac6817c53b6d2f49037e975beb
1
function t=julian2time(str)
2
% t=julian2time(str)
3
% convert NASA yyyydddHHMMSS to datenum
4
ddd=str2double(str(5:7));
5
jan1=[str(1:4),'0101',str(8:13)]; % day 1
6
t=datenum(jan1,'yyyymmddHHMMSS')+ddd-1;
7
end