WSL/SLF GitLab Repository

Commit f7477a48 authored by Thomas Egger's avatar Thomas Egger
Browse files

NetCDFIO: Further cleanup

parent 58a3be60
......@@ -809,9 +809,7 @@ void NetCDFIO::get_parameters(const std::vector< std::vector<MeteoData> >& vecMe
double interval = 0;
for (size_t ii=0; ii<number_of_records; ii++) {
// cout << "Date: " << vecMeteo[0][ii].date.toString(Date::ISO) << " tz: " << vecMeteo[0][ii].date.getTimeZone()<< " MJ: " << setprecision(15) << vecMeteo[0][ii].date.getModifiedJulianDate() <<endl;
dates[ii] = vecMeteo[0][ii].date.getModifiedJulianDate();
if (ii == 1) interval = round((dates[ii] - dates[ii-1]) * 86400.);
}
......
Supports Markdown
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