Earth Engine,
गैर-व्यावसायिक इस्तेमाल के लिए कोटा टियर लॉन्च कर रहा है. इससे शेयर किए गए कंप्यूट संसाधनों को सुरक्षित रखने और सभी के लिए भरोसेमंद परफ़ॉर्मेंस को पक्का करने में मदद मिलेगी. सभी गैर-व्यावसायिक प्रोजेक्ट को
27 अप्रैल, 2026 तक कोटा टियर चुनना होगा. ऐसा न करने पर, वे डिफ़ॉल्ट रूप से कम्यूनिटी टियर का इस्तेमाल करेंगे. टियर के कोटे, सभी प्रोजेक्ट के लिए
27 अप्रैल, 2026 से लागू होंगे. भले ही, टियर चुनने की तारीख कुछ भी हो.
ज़्यादा जानें।
ee.String.aside
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन को कॉल करता है. इसमें इस ऑब्जेक्ट को पहले आर्ग्युमेंट के तौर पर पास किया जाता है और यह खुद को वापस भेजता है. सुविधाजनक, जैसे कि डीबग करते समय:
var c = ee.ImageCollection('foo').aside(print)
.filterDate('2001-01-01', '2002-01-01').aside(print, 'In 2001')
.filterBounds(geom).aside(print, 'In region')
.aside(Map.addLayer, {min: 0, max: 142}, 'Filtered')
.select('a', 'b');
यह चेन बनाने के लिए, उसी ऑब्जेक्ट को दिखाता है.
| इस्तेमाल | रिटर्न |
|---|
String.aside(func, var_args) | ComputedObject |
| आर्ग्यूमेंट | टाइप | विवरण |
|---|
यह: computedobject | ComputedObject | ComputedObject इंस्टेंस. |
func | फ़ंक्शन | कॉल करने के लिए फ़ंक्शन. |
var_args | VarArgs[Object] | फ़ंक्शन में पास करने के लिए कोई अतिरिक्त आर्ग्युमेंट. |
उदाहरण
कोड एडिटर (JavaScript)
// aside with no var_args.
// a
ee.String('a').aside(print);
// foo
// bar
ee.String('foo').aside(print, 'bar');
// foo
// bar
//
// foo
print(ee.String('foo').aside(print, 'bar'));
// aside in the middle of a chain of calls.
// a
// b
//
// ac
print(ee.String('a').aside(print, 'b').cat('c'));
// aside with more than one var_args.
// a
// 1
// 2
ee.String('a').aside(print, 1, 2);
// Print a empty JSON string.
// ''
ee.String('').aside(print);
Python का सेटअप
Python API और इंटरैक्टिव डेवलपमेंट के लिए geemap का इस्तेमाल करने के बारे में जानकारी पाने के लिए,
Python एनवायरमेंट पेज देखें.
import ee
import geemap.core as geemap
Colab (Python)
def print_result(val, *params):
"""A print function to invoke with the aside method."""
print(val.getInfo())
for param in params:
print(param)
# aside with no var_args.
# a
ee.String('a').aside(print_result)
# foo
# bar
ee.String('foo').aside(print_result, 'bar')
# foo
# bar
#
# foo
print(ee.String('foo').aside(print_result, 'bar').getInfo())
# aside in the middle of a chain of calls.
# a
# b
#
# ac
print(ee.String('a').aside(print_result, 'b').cat('c').getInfo())
# aside with more than one var_args.
# a
# 1
# 2
ee.String('a').aside(print_result, 1, 2)
# Print a empty JSON string.
# ''
ee.String('').aside(print_result)
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2026-01-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2026-01-08 (UTC) को अपडेट किया गया."],[],["The `aside` function calls a specified function (`func`) using the current object as the first argument, along with any additional arguments (`var_args`). It then returns the original object, enabling method chaining. This is useful for debugging and inspecting intermediate steps. The function accepts a `ComputedObject`, a function, and optional arguments. It's demonstrated in both JavaScript and Python, with examples showcasing usage with and without `var_args`, and in the middle of a call chain.\n"]]