Skip to content
Snippets Groups Projects
Commit ee6a2ced authored by henry's avatar henry
Browse files
parents be6fd90b 077fc386
Branches
Tags
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment