공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.loadZarrV2Array
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Zarr v2 배열을 이미지로 로드합니다. 배열 속성 (.zattrs)에는 각 측정기준의 이름 목록인 '_ARRAY_DIMENSIONS' 필드가 포함되어야 합니다 (예: ['time', 'y', 'x']). 측정기준은 2개 이상이어야 하며, 마지막 두 개는 각각 Y와 X를 나타냅니다 (예: ['lat', 'lon']). 지원되는 압축 코덱은 'blosc', 'gzip', 'lz4', 'zlib', 'zstd'입니다. 지원되는 blosc 메타 압축 코덱은 'lz4', lz4hc', 'zlib', 'zstd'입니다('blosclz'는 지원되지 않음).
사용 | 반환 값 |
---|
ee.Image.loadZarrV2Array(uri, proj, starts, ends) | 이미지 |
인수 | 유형 | 세부정보 |
---|
uri | 문자열 | 로드할 .zarray 파일의 Cloud Storage URI입니다. 배열 디렉터리의 상위 디렉터리에 .zmetadata 파일이 있어야 합니다 (예: 'gs://b/o/.zarray'의 경우 'gs://b/.zmetadata'가 있어야 함). 버킷 메타데이터에 액세스할 수 있어야 합니다('Storage Legacy Bucket Reader' 역할에서 제공하는 `storage.buckets.get` 권한 필요, https://cloud.google.com/storage/docs/access-control/iam-roles 참고). 또한 버킷이 미국 멀티 리전, US-CENTRAL1을 포함한 듀얼 리전 또는 US-CENTRAL1 리전에 있어야 합니다. |
proj | 투영 | 배열의 투영입니다. |
starts | 목록, 기본값: null | 각 비공간 측정기준을 따라 슬라이스를 시작할 색인 (양 끝값 포함)입니다. null인 경우 모든 비공간 측정기준의 슬라이스가 색인 0에서 시작합니다. 지정된 경우 이 목록의 길이는 비공간 측정기준 (총 측정기준 - 2)의 수와 같아야 합니다. 목록 내 개별 요소는 null일 수 있으며, 이 경우 해당 측정기준의 기본값은 0입니다. 음수 색인은 측정기준의 끝에서부터 계산됩니다 (예: -1은 마지막 요소입니다. |
ends | 목록, 기본값: null | 각 비공간 차원별로 슬라이스 획득을 중지하는 색인 (제외)입니다. null인 경우 슬라이스는 각 상응하는 비공간 측정기준의 끝까지 확장됩니다 (즉, 기본값은 측정기준의 길이임). 지정된 경우 이 목록의 길이는 비공간 측정기준 수 (총 측정기준 - 2)와 같아야 합니다. 목록 내의 개별 요소는 null일 수 있으며, 이 경우에도 기본값은 해당 측정기준의 길이입니다. 음수 색인은 측정기준의 끝에서부터 계산됩니다 (예: -1은 마지막 요소입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# ee.Image.loadZarrV2Array\n\nLoads a Zarr v2 array as an Image. The array attributes (.zattrs) must contain the field '_ARRAY_DIMENSIONS', which is a list of the names of each dimension (e.g., \\['time', 'y', 'x'\\]). There must be at least two dimensions, with the final two representing Y and X respectively (e.g., \\['lat', 'lon'\\]). The supported compression codecs are 'blosc', 'gzip', 'lz4', 'zlib', and 'zstd'. The supported blosc meta-compression codecs are 'lz4', lz4hc', 'zlib', and 'zstd' ('blosclz' is not supported).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------|---------|\n| `ee.Image.loadZarrV2Array(uri, proj, `*starts* `, `*ends*`)` | Image |\n\n| Argument | Type | Details |\n|----------|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `uri` | String | The Cloud Storage URI of the .zarray file to load. A .zmetadata file must be present in the parent directory of the array's directory (e.g., for 'gs://b/o/.zarray', 'gs://b/.zmetadata' must be present). The bucket metadata must be accessible (requires the \\`storage.buckets.get\\` permission which is provided by the role \"Storage Legacy Bucket Reader\" among others, see https://cloud.google.com/storage/docs/access-control/iam-roles) and the bucket must be located in the US multi-region, a dual-region including US-CENTRAL1, or the US-CENTRAL1 region. |\n| `proj` | Projection | The projection of the array. |\n| `starts` | List, default: null | The indices (inclusive) at which to start taking slices along each non-spatial dimension. If null, slices will start at index 0 for all non-spatial dimensions. If specified, this list must have a length equal to the number of non-spatial dimensions (total dimensions - 2). An individual element within the list may be null, which defaults to 0 for that dimension. Negative indices are counted from the end of the dimension (e.g., -1 is the last element). |\n| `ends` | List, default: null | The indices (exclusive) at which to stop taking slices along each non-spatial dimension. If null, slices will extend to the end of each corresponding non-spatial dimension (i.e., defaults to the length of the dimension). If specified, this list must have a length equal to the number of non-spatial dimensions (total dimensions - 2). An individual element within the list may be null, which also defaults to the length of that dimension. Negative indices are counted from the end of the dimension (e.g., -1 is the last element). |"]]