From c1a78df8f78e4e8d586c9442fc8fb9519fe873c7 Mon Sep 17 00:00:00 2001 From: Google Earth Engine Authors Date: Thu, 23 May 2024 02:20:33 +0000 Subject: [PATCH] No public description PiperOrigin-RevId: 636374813 --- .github/workflows/ci-tests.yml | 11 +++++++++-- javascript/src/data.js | 22 +++++++++++++--------- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 972c62e81..0b2f96554 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -7,10 +7,12 @@ on: [ jobs: build: - name: "python ${{ matrix.python-version }} tests" - runs-on: ubuntu-latest + name: "Python ${{ matrix.python-version }} tests on ${{ matrix.os }}" + runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: + os: [ubuntu-latest] python-version: [ "3.7", "3.8", @@ -19,6 +21,11 @@ jobs: "3.11", "3.12", ] + include: + - os: macos-latest + python-version: "3.11" + - os: windows-latest + python-version: "3.11" steps: - uses: actions/checkout@v3 - name: Set up Python diff --git a/javascript/src/data.js b/javascript/src/data.js index 63f5bbb5a..89188222a 100644 --- a/javascript/src/data.js +++ b/javascript/src/data.js @@ -795,13 +795,14 @@ ee.data.makeThumbUrl = function(id) { * @param {!Object} params An object containing download options with the * following possible values: * - * + * * + * filenames. Only applicable when format is "ZIPPED_GEO_TIFF" + * (default), "ZIPPED_GEO_TIFF_PER_BAND", or filePerBand is true. + * Defaults to the image id (or "download" for computed images) when + * format is "ZIPPED_GEO_TIFF", "ZIPPED_GEO_TIFF_PER_BAND", or + * filePerBand is true, otherwise a random character string is + * generated. Band names are appended when filePerBand is true. * * * * + * produced and all band-level transformations will be ignored. Note + * that this is ignored if the format is "ZIPPED_GEO_TIFF" or + * "ZIPPED_GEO_TIFF_PER_BAND". * * *
name: a base name to use when constructing - * filenames. Only applicable when format is "ZIPPED_GEO_TIFF" (default) - * or filePerBand is true. Defaults to the image id (or "download" for - * computed images) when format is "ZIPPED_GEO_TIFF" or filePerBand is - * true, otherwise a random character string is generated. Band names - * are appended when filePerBand is true.
bands: a description of the bands to download. Must @@ -847,14 +848,17 @@ ee.data.makeThumbUrl = function(id) { *
filePerBand: whether to produce a separate GeoTIFF * per band (boolean). Defaults to true. If false, a single GeoTIFF is - * produced and all band-level transformations will be ignored.
format: the download format. One of: *
    - *
  • "ZIPPED_GEO_TIFF" (GeoTIFF file(s) wrapped in a zip file, + *
  • "ZIPPED_GEO_TIFF" (GeoTIFF file wrapped in a zip file, * default)
  • - *
  • "GEO_TIFF" (GeoTIFF file)
  • + *
  • "ZIPPED_GEO_TIFF_PER_BAND" (Multiple GeoTIFF files wrapped + * in a zip file)
  • *
  • "NPY" (NumPy binary format)
  • *
* If "GEO_TIFF" or "NPY", filePerBand and all band-level