mz_dfs_read
Read DFS and RES1D result files to get max/min/mean statistics and sampled time series. Automatically caps data points to prevent context overflow.
Instructions
读取结果数据:统计量(最大/最小/均值)与抽样后的序列。
数据量大时自动抽样到 max_points 个点,避免撑爆上下文。 对 1D 结果(.res1d/.res11),item 可传量名(如 "Water Level",返回该量的前几列) 或具体列名(如 "Water Level:CALI:0",即 量:河段:里程)。
Args: path: 结果文件绝对路径。 item: dfs:条目名或序号。1D:量名 / 列名 / 序号。不传则取第一项。 start: 起始时间,如 "1989-07-27 00:00"。 end: 结束时间。 max_points: 序列抽样点数上限,默认 500。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| item | No | ||
| path | Yes | ||
| start | No | ||
| max_points | No |