You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_n_timesteps = _ascii_stations.begin()->second->_obs.get_date_timeseries().size(); //grab the first timeseries, they are all the same period now
476
481
_nstations = _ascii_stations.size();
477
482
@@ -559,7 +564,8 @@ void metdata::subset(boost::posix_time::ptime start, boost::posix_time::ptime en
559
564
560
565
_start_time = start;
561
566
_end_time = end;
562
-
_current_ts = _file_start_time;
567
+
_current_ts = _start_time;
568
+
563
569
_n_timesteps = ( (_end_time+_dt) - _start_time).total_seconds() / _dt.total_seconds(); // need to add +dt so that we are inclusive of the last timestep
0 commit comments