Google Earth Engine——gee文件導出到drive:影像等大文件導出100000000超限解決辦法

      網友投稿 1882 2022-05-29

      maxPixels

      該maxPixels參數旨在防止無意中創建非常大的導出。如果默認值對于您想要的輸出圖像來說太低,您可以增加maxPixels.?例如:

      Export.image.toDrive({ image: landsat, description: 'maxPixelsExample', scale: 30, region: geometry, maxPixels: 1e9//改變這個參數可以讓你的下載量成10倍百倍千倍的增加 });

      導出硬盤的函數:

      Export.image.toDrive(image,?description,?folder,?fileNamePrefix,?dimensions,?region,?scale,?crs,?crsTransform,?maxPixels,?shardSize,?fileDimensions,?skipEmptyTiles,?fileFormat,?formatOptions)

      Creates a batch task to export an Image as a raster to Drive. Tasks can be started from the Tasks tab. "crsTransform", "scale", and "dimensions" are mutually exclusive.

      創建一個批處理任務,將圖像作為柵格導出到驅動器。任務可以從 "任務 "選項卡開始。"crsTransform"、"scale "和 "dimensions "是相互排斥的。

      Arguments:

      image (Image):

      The image to export.

      Google Earth Engine——gee文件導出到drive:影像等大文件導出100000000超限解決辦法

      description (String, optional):

      A human-readable name of the task. May contain letters, numbers, -, _ (no spaces). Defaults to "myExportImageTask".

      folder (String, optional):

      The Google Drive Folder that the export will reside in. Note: (a) if the folder name exists at any level, the output is written to it, (b) if duplicate folder names exist, output is written to the most recently modified folder, (c) if the folder name does not exist, a new folder will be created at the root, and (d) folder names with separators (e.g. 'path/to/file') are interpreted as literal strings, not system paths. Defaults to Drive root.

      fileNamePrefix (String, optional):

      The filename prefix. May contain letters, numbers, -, _ (no spaces). Defaults to the description.

      dimensions (Number|String, optional):

      The dimensions to use for the exported image. Takes either a single positive integer as the maximum dimension or "WIDTHxHEIGHT" where WIDTH and HEIGHT are each positive integers.

      region (Geometry.LinearRing|Geometry.Polygon|String, optional):

      A LinearRing, Polygon, or coordinates representing region to export. These may be specified as the Geometry objects or coordinates serialized as a string. If not specified, the region defaults to the viewport at the time of invocation.

      scale (Number, optional):

      Resolution in meters per pixel. Defaults to 1000.

      crs (String, optional):

      CRS to use for the exported image.

      crsTransform (List|String, optional):

      Affine transform to use for the exported image. Requires "crs" to be defined.

      maxPixels (Number, optional):

      Restrict the number of pixels in the export. By default, you will see an error if the export exceeds 1e8 pixels. Setting this value explicitly allows one to raise or lower this limit.這里最大可以設置為1e13,

      shardSize (Number, optional):

      Size in pixels of the tiles in which this image will be computed. Defaults to 256.

      fileDimensions (List|Number, optional):

      The dimensions in pixels of each image file, if the image is too large to fit in a single file. May specify a single number to indicate a square shape, or an array of two dimensions to indicate (width,height). Note that the image will still be clipped to the overall image dimensions. Must be a multiple of shardSize.

      skipEmptyTiles (Boolean, optional):

      If true, skip writing empty (i.e. fully-masked) image tiles. Defaults to false.

      fileFormat (String, optional):

      The string file format to which the image is exported. Currently only 'GeoTIFF' and 'TFRecord' are supported, defaults to 'GeoTIFF'.

      formatOptions (ImageExportFormatConfig, optional):

      A dictionary of string keys to format specific options.

      大文件導出編碼

      如果輸出圖像很大,它將導出為多個文件。如果您要導出到 GeoTIFF(s),圖像將被拆分為多個圖塊。每個圖塊的文件名將采用以下格式baseFilename-yMin-xMin,其中xMin和?yMin是導出圖像整體邊界框中每個圖塊的坐標。

      如果您要導出到 TFRecord,對于N+1 個文件,文件將附加-00000,?-00001,...。如果您打算對文件執行推理并將預測作為圖像上傳回 Earth Engine,則保持此順序很重要。有關詳細信息,請參閱將圖像上傳為 TFRecord 文件https://developers.google.com/earth-engine/guides/image_upload#tfrecord。

      導出在代碼編輯器中顯示的圖像

      要導出在 Earth Engine 中呈現在屏幕上的圖像,請按照可視化圖像以及合成和鑲嵌部分中的演示創建可視化圖像。由于代碼編輯器使用'EPSG:3857'CRS,因此'EPSG:3857'在導出中指定 CRS?以獲得與代碼編輯器地圖中顯示的投影相同的圖像。有關指定輸出分辨率和坐標系的詳細信息,請參閱配置圖像導出部分https://developers.google.com/earth-engine/guides/exporting#configuration-parameters感謝家人們對我的肯定,成功入圍云計算領域前5,我將一如既往的給大家推送優質內容:

      版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。

      上一篇:C語言_文件IO操作函數總結
      下一篇:機器視覺:LabVIEW軟件、驅動安裝及編程方法
      相關文章
      国产亚洲精品成人AA片新蒲金| ZZIJZZIJ亚洲日本少妇JIZJIZ| 亚洲人成人一区二区三区| 亚洲午夜在线播放| 亚洲美女中文字幕| 亚洲精品自在在线观看| 国产亚洲精久久久久久无码77777| 亚洲男人在线无码视频| 亚洲精品综合久久| 国产亚洲视频在线播放大全| 色噜噜的亚洲男人的天堂| 亚洲AV成人一区二区三区观看| 亚洲va中文字幕| 丰满亚洲大尺度无码无码专线| 亚洲性线免费观看视频成熟| 亚洲av永久无码精品网址| 亚洲国产精品自在自线观看| 亚洲高清乱码午夜电影网| 亚洲第一成年免费网站| 麻豆亚洲AV成人无码久久精品 | 亚洲国产精品无码第一区二区三区| 久久综合久久综合亚洲| 一本色道久久综合亚洲精品蜜桃冫| 99亚偷拍自图区亚洲| 亚洲av无码片vr一区二区三区| 亚洲AV色欲色欲WWW| 亚洲?V乱码久久精品蜜桃| 亚洲美日韩Av中文字幕无码久久久妻妇| www亚洲一级视频com| 国产日产亚洲系列最新| 亚洲人成亚洲人成在线观看 | 日韩亚洲国产高清免费视频| 亚洲国产精品无码观看久久| 亚洲国产精品激情在线观看| 国产精品亚洲美女久久久| 亚洲精品成人无限看| 91亚洲精品视频| 国产成人精品日本亚洲网址| 亚洲AV无码男人的天堂| 在线日韩日本国产亚洲| 亚洲AV天天做在线观看|