Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CLIMATE-954 - Debug dataset_processor.subset
- dataset_processor._are_bounds_contained_by_dataset is applied only to the cases whose boundary type is 'rectangular'.
  • Loading branch information
huikyole committed Jun 18, 2018
1 parent 434752c commit c121f5d398c32e0ca1abf4d2aece3828255647f6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -379,7 +379,7 @@ def subset(target_dataset, subregion, subregion_name=None, extract=True, user_ma
if not subregion_name:
subregion_name = target_dataset.name

if hasattr(subregion, 'lat_min'):
if subregion.lat_min is not None:
_are_bounds_contained_by_dataset(target_dataset, subregion)

if target_dataset.lats.ndim == 2 and target_dataset.lons.ndim == 2:

0 comments on commit c121f5d

Please sign in to comment.