Github user huikyole commented on the pull request: https://github.com/apache/climate/commit/02dfdec65adb81cdc659764008045e99f61bbf4d#commitcomment-18625579 In ocw/dataset.py: In ocw/dataset.py on line 314: Hi Ibrahim, The boundary limits are checked once a user create a Bounds object. Sometimes, there is a problem of the previous boundary check inside subset module. For example, In the rectangular boundary, lat_min = -45 & lat_max = 30.25 In the OCW dataset, dataset.lats = [-90, -88, -86, -84, -82, â¦, -48, -46, -44, â¦, 26, 28, 30, 32, 34, â¦] subset_dataset.lats = [-44, -42, â¦, 26, 28, 30] So with the subset_dataset.lats, the previous boundary check will raise Errors Because -45 < -44 and 30.25 >30. Thanks, Kyo From: Ibrahim Jarif <notificati...@github.com> Reply-To: apache/climate <re...@reply.github.com> Date: Friday, August 12, 2016 at 3:53 AM To: apache/climate <clim...@noreply.github.com> Cc: Huikyo Lee <huikyo....@jpl.nasa.gov>, Mention <ment...@noreply.github.com> Subject: Re: [apache/climate] CLIMATE-827 - Adding spatial masking options (02dfdec) @huikyole<https://github.com/huikyole> Shouldn't we check this in some kind of setter method? The values are checked only when the object is created. I can later modify the lat_min/max values and there won't be any exception raised. This would be wrong, right? â You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/apache/climate/commit/02dfdec65adb81cdc659764008045e99f61bbf4d#commitcomment-18620602>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHdS-NMnRq2ZJUS6fkNIEzLqGQMpHelOks5qfFCNgaJpZM4Ji-oA>.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---