ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.ImageCollection.loadZarrV2Array
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নির্দিষ্ট অ-স্থানিক অক্ষ বরাবর স্লাইস করে একটি চিত্র সংগ্রহ হিসাবে 3 বা তার বেশি মাত্রা (অর্থাৎ, 1 বা তার বেশি অ-স্থানিক মাত্রা) সহ একটি Zarr v2 অ্যারে লোড করে। অ্যারে অ্যাট্রিবিউটে (.zattrs) অবশ্যই '_ARRAY_DIMENSIONS' ক্ষেত্র থাকতে হবে, যা প্রতিটি মাত্রার নামের তালিকা (যেমন, ['সময়', 'y', 'x'])। কমপক্ষে দুটি মাত্রা থাকতে হবে, যেখানে চূড়ান্ত দুটি যথাক্রমে Y এবং X প্রতিনিধিত্ব করে (যেমন, ['lat', 'lon'])। সমর্থিত কম্প্রেশন কোডেকগুলি হল 'blosc', 'gzip', 'lz4', 'zlib', এবং 'zstd'। সমর্থিত blosc মেটা-কম্প্রেশন কোডেক হল 'lz4', lz4hc', 'zlib', এবং 'zstd' ('blosclz' সমর্থিত নয়)।
ব্যবহার | রিটার্নস | ee.ImageCollection.loadZarrV2Array(uri, proj, axis , starts , ends ) | ইমেজ কালেকশন |
যুক্তি | টাইপ | বিস্তারিত | uri | স্ট্রিং | লোড করার জন্য .zarray ফাইলের ক্লাউড স্টোরেজ URI। একটি .zmetadata ফাইল অবশ্যই অ্যারের ডিরেক্টরির মূল ডিরেক্টরিতে উপস্থিত থাকতে হবে (যেমন, 'gs://b/o/.zarray'-এর জন্য, 'gs://b/.zmetadata' অবশ্যই উপস্থিত থাকতে হবে)। বালতি মেটাডেটা অবশ্যই অ্যাক্সেসযোগ্য হতে হবে (`storage.buckets.get` অনুমতির প্রয়োজন যা অন্যদের মধ্যে "স্টোরেজ লিগ্যাসি বাকেট রিডার" ভূমিকা দ্বারা প্রদান করা হয়, https://cloud.google.com/storage/docs/access-control/iam-roles দেখুন) এবং বালতিটি অবশ্যই মার্কিন মাল্টি-অঞ্চল, একটি ইউএস-এ ডিউ-ইন্টাল, একটি ইউএস মাল্টি-অঞ্চলে অবস্থিত হতে হবে। US-সেন্ট্রাল 1 অঞ্চল। |
proj | অভিক্ষেপ | অ্যারের অভিক্ষেপ। |
axis | পূর্ণসংখ্যা, ডিফল্ট: নাল | অ-স্থানিক অক্ষ (0-সূচীযুক্ত) যার সাথে একটি চিত্র সংগ্রহ তৈরি করতে অ্যারেটি স্লাইস করতে হবে। সংগ্রহের প্রতিটি চিত্র এই অক্ষ বরাবর একটি একক স্লাইস (দৈর্ঘ্য 1) উপস্থাপন করে। শূন্য হলে, ডিফল্ট 0। মানটি অবশ্যই [0, N-1] পরিসরে হতে হবে, যেখানে N হল অ-স্থানিক মাত্রার সংখ্যা (অর্থাৎ, মোট মাত্রা - 2)। অ্যারের অন্তত একটি অ-স্থানিক মাত্রা থাকতে হবে (অর্থাৎ, কমপক্ষে 3 মাত্রিক হতে হবে)। |
starts | তালিকা, ডিফল্ট: নাল | সূচকগুলি (অন্তর্ভুক্ত) যেখানে প্রতিটি অ-স্থানিক মাত্রা বরাবর স্লাইস নেওয়া শুরু করতে হবে। শূন্য হলে, সমস্ত অ-স্থানিক মাত্রার জন্য স্লাইস সূচক 0 থেকে শুরু হবে। নির্দিষ্ট করা থাকলে, এই তালিকার দৈর্ঘ্য অবশ্যই অ-স্থানিক মাত্রার সংখ্যার সমান (মোট মাত্রা - 2) থাকতে হবে। তালিকার মধ্যে একটি পৃথক উপাদান শূন্য হতে পারে, যা সেই মাত্রার জন্য ডিফল্ট 0। নেতিবাচক সূচকগুলি মাত্রার শেষ থেকে গণনা করা হয় (যেমন, -1 হল শেষ উপাদান)। |
ends | তালিকা, ডিফল্ট: নাল | সূচকগুলি (একচেটিয়া) যেখানে প্রতিটি অ-স্থানিক মাত্রা বরাবর স্লাইস নেওয়া বন্ধ করতে হবে। শূন্য হলে, স্লাইসগুলি প্রতিটি সংশ্লিষ্ট অ-স্থানিক মাত্রার শেষ পর্যন্ত প্রসারিত হবে (অর্থাৎ, মাত্রার দৈর্ঘ্যের ডিফল্ট)। নির্দিষ্ট করা থাকলে, এই তালিকার দৈর্ঘ্য অবশ্যই অ-স্থানিক মাত্রার সংখ্যার সমান (মোট মাত্রা - 2) থাকতে হবে। তালিকার মধ্যে একটি পৃথক উপাদান শূন্য হতে পারে, যা সেই মাত্রার দৈর্ঘ্যের সাথেও ডিফল্ট। নেতিবাচক সূচকগুলি মাত্রার শেষ থেকে গণনা করা হয় (যেমন, -1 হল শেষ উপাদান)। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# ee.ImageCollection.loadZarrV2Array\n\nLoads a Zarr v2 array with 3 or more dimensions (i.e., 1 or more non-spatial dimensions) as an ImageCollection by slicing along a specified non-spatial axis. 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.ImageCollection.loadZarrV2Array(uri, proj, `*axis* `, `*starts* `, `*ends*`)` | ImageCollection |\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| `axis` | Integer, default: null | The non-spatial axis (0-indexed) along which to slice the array to create an ImageCollection. Each image in the collection represents a single slice (length 1) along this axis. If null, defaults to 0. The value must be in the range \\[0, N-1\\], where N is the number of non-spatial dimensions (i.e., total dimensions - 2). The array must have at least one non-spatial dimension (i.e., be at least 3 dimensional). |\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). |"]]