-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing daterange and bbox filter methods on ImageCollection classes #67
Comments
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…s better - add `ImageCollection.filter_temporal` (name closer to 0.4,x spec) - allow more call patterns: without kwargs, with `start_date`/`end_date`, with `extent` - add deprecate decoration to old variations `date_range_filter` and `filter_daterange` - simplify API (`_filter_temporal`) that subclasses have to implement - make sure old-style subclasses keep working
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…versions better
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…he old versions better
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…ecate the old versions better
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…bbox_flter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…cated `bbox_flter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…d deprecated `bbox_flter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…versions better
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…s better - add `ImageCollection.filter_temporal` (name closer to 0.4,x spec) - allow more call patterns: without kwargs, with `start_date`/`end_date`, with `extent` - add deprecate decoration to old variations `date_range_filter` and `filter_daterange` - simplify API (`_filter_temporal`) that subclasses have to implement - make sure old-style subclasses keep working
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…bbox_filter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
…bbox_filter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Jul 19, 2019
Make sure that date/datetime objects passed to `filter_temporal` function are properly converted to strings in the process graphs
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 5, 2019
…s better - add `ImageCollection.filter_temporal` (name closer to 0.4,x spec) - allow more call patterns: without kwargs, with `start_date`/`end_date`, with `extent` - add deprecate decoration to old variations `date_range_filter` and `filter_daterange` - simplify API (`_filter_temporal`) that subclasses have to implement - make sure old-style subclasses keep working
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 5, 2019
…bbox_filter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 5, 2019
Make sure that date/datetime objects passed to `filter_temporal` function are properly converted to strings in the process graphs
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 26, 2019
…s better - add `ImageCollection.filter_temporal` (name closer to 0.4,x spec) - allow more call patterns: without kwargs, with `start_date`/`end_date`, with `extent` - add deprecate decoration to old variations `date_range_filter` and `filter_daterange` - simplify API (`_filter_temporal`) that subclasses have to implement - make sure old-style subclasses keep working
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 26, 2019
…bbox_filter` more
soxofaan
added a commit
to soxofaan/openeo-python-client
that referenced
this issue
Aug 26, 2019
Make sure that date/datetime objects passed to `filter_temporal` function are properly converted to strings in the process graphs
issue resolved by #69 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Base class
ImageCollection
(inopeneo.imagecollection
)date_range_filter(self, start_date,end_date)
pass
)filter_daterange
instead)filter_daterange(self, extent)
date_range_filter()
Child classes (
ImageCollectionClient
inopeneo.rest
andGeotrellisTimeSeriesImageCollection
in GeoPyspark driver):date_range_filter(self, start_date,end_date)
with actual implementationfilter_daterange(self, extent)
Same pattern for
bbox_filter
andfilter_bbox
So the deprecated methods are implemented and the new non-deprecated calls forward to deprecated implementations? Shouldn't it be the other way around?
The text was updated successfully, but these errors were encountered: