Earth Engine,
गैर-व्यावसायिक इस्तेमाल के लिए कोटा टियर लॉन्च कर रहा है. इससे शेयर किए गए कंप्यूट संसाधनों को सुरक्षित रखने और सभी के लिए भरोसेमंद परफ़ॉर्मेंस को पक्का करने में मदद मिलेगी. सभी गैर-व्यावसायिक प्रोजेक्ट को
27 अप्रैल, 2026 तक कोटा टियर चुनना होगा. ऐसा न करने पर, वे डिफ़ॉल्ट रूप से कम्यूनिटी टियर का इस्तेमाल करेंगे. टियर के कोटे, सभी प्रोजेक्ट के लिए
27 अप्रैल, 2026 से लागू होंगे. भले ही, टियर चुनने की तारीख कुछ भी हो.
ज़्यादा जानें।
ee.Image.select
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे इमेज के बैंड चुने जाते हैं.
चुने गए बैंड वाली इमेज दिखाता है.
| इस्तेमाल | रिटर्न |
|---|
Image.select(var_args) | इमेज |
| आर्ग्यूमेंट | टाइप | विवरण |
|---|
यह: image | इमेज | Image इंस्टेंस. |
var_args | VarArgs[Object] | इनमें से कोई एक विकल्प चुना जा सकता है:
- सूची में शामिल नहीं किए गए आर्ग्युमेंट की कोई भी संख्या. इन सभी को बैंड सिलेक्टर के तौर पर माना जाएगा. ये बैंड के नाम, रेगुलर एक्सप्रेशन या संख्या वाले इंडेक्स हो सकते हैं. उदाहरण के लिए, selected = image.select('a', 'b', 3, 'd');
- दो सूचियां. पहले का इस्तेमाल बैंड सिलेक्टर के तौर पर किया जाएगा. वहीं, दूसरे का इस्तेमाल चुने गए बैंड के नए नामों के तौर पर किया जाएगा. नए नामों की संख्या, चुनी गई बैंड की संख्या से मेल खानी चाहिए. उदाहरण के लिए, selected = image.select(['a', 4], ['newA', 'newB']);
|
उदाहरण
कोड एडिटर (JavaScript)
// A Sentinel-2 surface reflectance image.
var img = ee.Image('COPERNICUS/S2_SR/20210109T185751_20210109T185931_T10SEG');
print('All band names', img.bandNames());
print('Select a band by name',
img.select('B11').bandNames());
print('Select a band by index',
img.select(10).bandNames());
print('Select bands using a list',
img.select(['B11', 'B8', 'B3']).bandNames());
print('Select bands by an argument series',
img.select('B11', 'B8', 'B3').bandNames());
print('Mixing string and integer selectors is valid',
img.select(10, 'B8', 2).bandNames());
print('Rename selected bands using two corresponding lists',
img.select(['B11', 'B8', 'B3'], ['SWIR1', 'NIR', 'Green']).bandNames());
// Use regular expressions to select bands.
print('Match "QA" followed by any two characters',
img.select('QA..').bandNames());
print('Match "B" followed by any character, any number of times',
img.select('B.*').bandNames());
print('Match "B" followed by any character, and any optional third character',
img.select('B..?').bandNames());
print('Match "B" followed by a character in the range 6-8',
img.select('B[6-8]').bandNames());
print('Match "B" followed by a character in the range 1-9 and then 1-2',
img.select('B[1-9][1-2]').bandNames());
print('Match "B" or "QA" each followed by any character, any number of times.',
img.select('B.*|QA.*').bandNames());
Python का सेटअप
Python API और इंटरैक्टिव डेवलपमेंट के लिए geemap का इस्तेमाल करने के बारे में जानकारी पाने के लिए,
Python एनवायरमेंट पेज देखें.
import ee
import geemap.core as geemap
Colab (Python)
# A Sentinel-2 surface reflectance image.
img = ee.Image('COPERNICUS/S2_SR/20210109T185751_20210109T185931_T10SEG')
display('All band names:', img.bandNames())
display('Select a band by name:', img.select('B11').bandNames())
display('Select a band by index:', img.select(10).bandNames())
display('Select bands using a list:',
img.select(['B11', 'B8', 'B3']).bandNames())
display('Select bands by an argument series:',
img.select('B11', 'B8', 'B3').bandNames())
display('Mixing string and integer selectors is valid:',
img.select(10, 'B8', 2).bandNames())
display('Rename selected bands using two corresponding lists:',
img.select(['B11', 'B8', 'B3'], ['SWIR1', 'NIR', 'Green'])
.bandNames())
# Use regular expressions to select bands.
display('Match "QA" followed by any two characters:',
img.select('QA..').bandNames())
display('Match "B" followed by any character, any number of times:',
img.select('B.*').bandNames())
display('Match "B" followed by any character, and any optional third character',
img.select('B..?').bandNames())
display('Match "B" followed by a character in the range 6-8',
img.select('B[6-8]').bandNames())
display('Match "B" followed by a character in the range 1-9 and then 1-2',
img.select('B[1-9][1-2]').bandNames())
display('Match "B" or "QA" each followed by any character, any number of times.',
img.select('B.*|QA.*').bandNames())
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2026-01-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2026-01-08 (UTC) को अपडेट किया गया."],[],[]]