Twinkle HubTwinkle Hub

全國水庫蓄水率快照 (百分比排序)

tw_rt_reservoir_snapshot

氣象水情 · 同一族🇹🇼 台灣唯讀

關鍵字 / Keywords: 水庫蓄水率 蓄水百分比 全國水庫 各水庫 蓄水量排名 蓄水最低 蓄水最高 reservoir storage percentage ranking snapshot Taiwan

全國水庫蓄水率快照:蓄水百分比(有效蓄水量 / 有效容量,單位皆萬立方公尺),依百分比排序,每筆附觀測時間; 觀測超過 stale_hours 小時的標 stale。summary(在 data 前面)給最高 / 最低與本島、大型水庫最低。 預設只列前 20 座;要全部給 limit=100,只看特定水庫給 name.

Args: order: "asc" 蓄水率低到高(預設)· "desc" 高到低. region: 北部 / 中部 / 南部 / 東部 / 離島 / 本島. None=全國(含金門、馬祖、澎湖小水庫). name: 只看哪幾座,可多個(逗號分隔),模糊比對:「石門」→ 石門水庫、「石門,曾文」. min_capacity: 只看有效容量 ≥ 此值(萬立方公尺)的水庫,例 1000 = 排除小型水庫. stale_hours: 觀測時間過舊門檻(小時,預設 36). limit: 最多幾座(預設 20;100 = 全部).

Source: 水利署 opendata 45501(有效蓄水量)+ 41568(有效容量);翡翠水庫用臺北翡翠水庫管理局端點. License: OGDL v1. 5-min cache.

參數

參數型別說明
orderstring—
regionstring—
namestring—
min_capacitynumber—
stale_hoursnumber—
limitinteger—
原始 JSON schema
{
  "properties": {
    "order": {
      "default": "asc",
      "title": "Order",
      "type": "string"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Region"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name"
    },
    "min_capacity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Min Capacity"
    },
    "stale_hours": {
      "default": 36,
      "title": "Stale Hours",
      "type": "number"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "tw_rt_reservoir_snapshotArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_rt_reservoir_snapshot({ order: "…" })