All notable changes to sentinelsat
will be listed here.
- GeoJSON footprints are now allowed to contain just a single geometry instead of a feature collection. Any geometry type that has a WKT equivalent is now supported (rather than only Polygons).
get_product_odata()
can now be used to get the full metadata information available for a product iffull=True
is set.- Added
query_raw()
that takes full text search string as input and returns a parsed dictionary just like the updatedquery()
method. - CLI:
--sentinel=<int>
option to select satellite (constellation)
SentinelAPI
, etc. can now be directly imported fromsentinelsat
rather thansentinelsat.sentinel
.query()
changes:- The
area
argument now expects a WKT string as input instead of a coordinate string. (Issue #101) - Date arguments can now be disabled by setting them to
None
and their values are now validated on the client side. (Issue #101) - The return value has been changed to a dict of dicts of parsed metadata values. One entry per product with the product ID as the key.
- The
download_all()
expects a list of product IDs as input. This is compatible with the output ofquery()
.get_coordinates()
has been replaced with functionsread_geojson()
andgeojson_to_wkt()
. (Issue #101)
- CLI:
--sentinel1
and--sentinel2
will be removed with the next major release
to_dict()
has been removed since it is no longer required.load_query()
has been made private (renamed to_load_query()
).
- Fixed invalid GeoJSON output in both the CLI and API. (Issue #104)
- Fixed broken reporting of failed downloads in the CLI. (Issue #88)
- Attempting to download a product with an invalid ID no longer creates an infinite loop and a more informative error message is displayed in the CLI.
--version
option to command line utilities- install requirements for building the documentation
- documentation of sorting with
to_*
convenience functions
- Added
to_dict
,to_dataframe
andto_geodataframe
which convert the response content to respective types. The pandas, geopandas and shapely dependencies are not installed by default.
--footprints
now includes all returned product properties in the output.KeyError('No results returned.')
is no longer returned for zero returned products in a response.- Renamed
get_footprint
toto_geojson
andget_product_info
toget_product_odata
. - Added underscore to methods and functions that are not expected to be used outside the package.
- Instance variables
url
andcontent
have been removed,last_query
andlast_status_code
have been made private.
- added a changelog
- use logging instead of print
- docs represent new
query
anddownload_all
behaviour
- options to create new, reset or ignore vcr cassettes for testing
query
now returns a list of search resultsdownload_all
requires the list of search results as an argument
SentinelAPI
does not save query results as class attributes
- Travis tests for Python 3.6
- changed
SentinelAPI
max_rows
attribute topage_size
to better reflect pagination - tests use
vcrpy
cassettes
- support GeoJSON polygons with optional (third) z-coordinate
- pagination support for query results
- number of query results per page set to 100
- support for large queries
- Removed redundant information from Readme that is also present on Readthedocs
initial_date
/--start
changed from ingestion to acquisition date
- Sphinx documentation setup with autodoc and numpydoc
- Redthedocs.org integration
- Sentinel-2 support
- Travis added as continuous integration service for automated testing
- validate downloaded products with their MD5 checksums
- option to select a different dhus api
--url
https://scihub.esa.int/apihub/
as standard url
- method to manually select the CA certificate bundle
- function to return footprints of the queried Sentinel scenes
- CA-certificate SSL errors
--query
parameter to use extra search keywords in the cli
- first release