> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/ardw/ma-lng-ky-bnyad/recorders/base-recorder/aggregator.md).

# ایگریگیٹر

## عمومی تفصیل

مجموعی اقدار کو کمپیوٹنگ کے لئے یوٹیلیٹی کلاس

صارفین اس کلاس کو براہ راست استعمال کرنے کا امکان نہیں ہے۔ اس کے بجائے *ریکارڈر* ذیلی کلاسیں اس فعالیت کو مختلف جہتوں (جیسے وقت، منظرنامے وغیرہ) میں اپنے نتائج کو جمع کرنے کے لئے استعمال کریں گی۔ [API حوالہ](https://pywr.github.io/pywr-docs/master/api/generated/pywr.recorders.Aggregator.html)

## خصوصیات

\_کوارگز

<table><thead><tr><th width="158">نام</th><th width="473">تفصیل</th><th>مطلوبہ</th><th></th></tr></thead><tbody><tr><td>فنک</td><td><p>استعمال کرنے کے لئے جمع کرنے کا فنکشن۔ جمع کرنے والے افعال کی وضاحت کرنے والا سٹرنگ یا ڈیکٹ ہو سکتا ہے، یا کال ایبل کسٹم فنکشن جو جمع کرنے والا انجام دیتا ہے۔</p><p>جب ایک تار ہے تو یہ اس میں سے ایک ہوسکتا ہے: “مجموعہ”، “منٹ”، “زیادہ سے زیادہ”، “درمیانی”، “میڈین”، “پروڈکٹ”، یا “گنتی_غیر صفر”. یہ تاروں کا نقشہ بنایا جاتا ہے اور ایگریگیٹر کو متعلقہ نمپی فنکشنز استعمال کرنے کا سب <em>ب بنتی ہیں۔</em></p><p>ایک ڈیکٹ فراہم کیا جاسکتا ہے جس میں “فنک” کلید، اور اختیاری “ارگز” اور “کوارگس” چابیاں شامل ہیں۔ “فنک” کی قدر مذکورہ بالا نمپی فنکشن ناموں سے مطابقت رکھنے والی ایک تار ہونی چاہئے جس میں “percentile” اور “percentileofscore” کے اضافی اختیارات ہیں۔ مؤخر الذکر کے ان دو افعال کو کام کرنے کے لئے اضافی دلائل (فیصد اور اسکور) کی ضرورت ہوتی ہے اور انہیں لغت کی “آرگز” یا “کوارگس” کلیدوں میں اقدار کے طور پر فراہم کرنا ضروری ہے۔ براہ کرم ان دلائل پر دستاویزات کے لئے متعلقہ نمپی (یا سیپی) فنکشن تعریفیں رجوع کریں۔</p><p>آخر میں، ایک کال ایبل فنکشن دیا جاسکتا ہے۔ اس فنکشن کو پہلی دلیل کے طور پر یا تو 1D یا 2D نمپی ایری کو قبول کرنا ہوگا، اور “محور” کے مطلوبہ الفاظ کو عدد قدر کے طور پر سپورٹ کرنا ہوگا جو یہ طے کرتا ہے کہ کس محور پر فنکشن کو جمع کرنا لاگو کرنا چاہئے۔ محور کا مطلوبہ الفاظ صرف اس وقت فراہم کیا جاتا ہے جب 2D ایری دی جاتی ہے۔ لہذا، `کال ایبل فنکشن کو نمپی فنکشنز کی طرح ہی سلوک کرنا چاہئے۔</p></td><td>ہاں فن</td><td></td></tr><tr><td>ک_آرگز</td><td>فنک_</td><td></td><td></td></tr><tr><td>آرگس: فہرست</td><td>ہاں فنک</td><td>فنک_کوارگس: ڈیکٹ</td><td>جی ہاں</td></tr></tbody></table>

## مثال

\`\`جسن { ایگریگیٹر (“مجموعہ”) ایگریگیٹر ({"func”: “فیصد”، “آرگس”: \[95]، "کوارگس”: {}}) ایگریگیٹر ({"func”: “سکور کا فیصد”، “کوارگس”: {"اسکور”: 0.5، “قسم”: “درجہ"}}) }

```
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://water-strategy.gitbook.io/waterstrategy/ardw/ma-lng-ky-bnyad/recorders/base-recorder/aggregator.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
