Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
temporal_slice function in dataset_processor raises TypeError on valid input.
The lines
timeStart = min(np.nonzero(target_dataset.times >= start_time_index)[0]) timeEnd = max(np.nonzero(target_dataset.times <= end_time_index)[0])
should be
timeStart = min(np.nonzero(target_dataset.times >= target_dataset.times[start_time_index])[0]) timeEnd = max(np.nonzero(target_dataset.times <= target_dataset.times[end_time_index])[0])
Attachments
Issue Links
- Blocked
-
CLIMATE-799 TypeError in subset function
- Resolved
- links to