Skip to content
Snippets Groups Projects
Commit ee6a2ced authored by henry's avatar henry
Browse files
parents be6fd90b 077fc386
No related branches found
No related tags found
No related merge requests found
label sourceTimeIndex = runTimeSource.timeIndex();
instantList sourceTimes = runTimeSource.times();
label sourceTimeIndex = runTimeSource.timeIndex();
if (args.options().found("sourceTime"))
{
if ((args.options()["sourceTime"]) == "latestTime")
......@@ -13,3 +13,8 @@
sourceTimeIndex = getTimeIndex(sourceTimes, sourceTime);
}
}
else
{
scalar sourceTime = runTimeTarget.time().value();
sourceTimeIndex = getTimeIndex(sourceTimes, sourceTime);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment