There is a newer version of the record available.

Published August 10, 2017 | Version v0.12

sentinelsat/sentinelsat: v0.12

  • 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_by option to query() which controls the fields by which the products are sorted on the server side before being returned. -o/--order-by on the CLI.
  • Added the option to limit the number of products returned by query() and to set the number of products to skip via offset. -l/--limit on the CLI.
  • Option to change the type of spatial relation for the AOI in query(). The choices are 'Interesects', 'Contains' and 'IsWithin'.
  • Added raw parameter to query() 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_length to 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_progressbars to False. Progressbars may be customized by overriding the _tqdm() method.
  • Contribution guidelines.
  • Tests for validity of documentation and RST files.
Changed
  • Merged CLI subcommands sentinel search and sentinel download into sentinelsat.
  • CLI uses keywords instead of positional arguments, i.e. --user <username>.
  • initial_date and end_date parameters in query() have been replaced with a single date parameter 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_existing option from download() and download_all(). Similar functionality has been provided in the new check_files() function.
  • format_query_date has 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+
Deprecated
  • query_raw() has been merged with query() and is deprecated. Used query(raw=...) instead.
Fixed
  • 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