Published August 10, 2017
| Version v0.12
Software
Open
sentinelsat/sentinelsat: v0.12
Authors/Creators
- 1. Reach-U Ltd / University of Tartu
- 2. DHI GRAS A/S
- 3. Fondazione Edmund Mach
Description
[0.12.0] – 2017-XX-XX
Added
- CLI option to query by UUID (
--uuid) or filename (--name). - Added
order_byoption toquery()which controls the fields by which the products are sorted on the server side before being returned.-o/--order-byon the CLI. - Added the option to
limitthe number of products returned byquery()and to set the number of products to skip viaoffset.-l/--limiton the CLI. - Option to change the type of spatial relation for the AOI in
query(). The choices are 'Interesects', 'Contains' and 'IsWithin'. - Added
rawparameter toquery()to append any additional raw query string to the query. - Query parameters that take intervals as values can now be passed a tuple of the interval range values.
- Date validation and parsing has been extended to all date-type parameters in queries, such as 'ingestiondate'.
- Added
count()which quickly returns the number of products matching a query on the server without retrieving the full response. - Method
check_query_lengthto check if a query will fail because of being excessively long. - Option to adjust the number of decimal figures in the coordinates of the WKT string returned by
geojson_to_wkt(). - A more informative error message is shown if a too long query string was likely the cause of the query failing on the server side. This can be useful if the WKT string length would cause the query to fail otherwise.
- Progressbars can be disabled by setting
show_progressbarstoFalse. Progressbars may be customized by overriding the_tqdm()method. - Contribution guidelines.
- Tests for validity of documentation and RST files.
- Merged CLI subcommands
sentinel searchandsentinel downloadintosentinelsat. - CLI uses keywords instead of positional arguments, i.e.
--user <username>. initial_dateandend_dateparameters inquery()have been replaced with a singledateparameter that takes a tuple of start and end dates as input.- Files being downloaded now include an '.incomplete' suffix in their name until the download is finished.
- Removed
check_existingoption fromdownload()anddownload_all(). Similar functionality has been provided in the newcheck_files()function. format_query_datehas been changed into a public function.- Added a progressbar to long-running queries.
- Tests can now be run from any directory rather than the repository root.
- Made the query string slightly more compact by getting rid of unnecessary 'AND' operators, spaces and parentheses.
- Reduced the size of the VCR.py cassettes used in unit tests.
- changed license from AGPLv3 to GPLv3+
query_raw()has been merged withquery()and is deprecated. Usedquery(raw=...)instead.
- Show the correct progress value in the download progressbar when continuing from an incomplete file. (Thanks @gbaier!)
- Added a workaround for a server-side bug when plus symbols are used in a query.
Files
sentinelsat/sentinelsat-v0.12.zip
Files
(2.3 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:9529ab99c36b08a55b254e816eb8e67d
|
2.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/sentinelsat/sentinelsat/tree/v0.12 (URL)