3Di批量计算
项目描述
简介
此工具可用于reeksberekeningen。
安装
安装此工具最简单的方法是通过PyPi。
$ python3 -m pip install threedi-urban-eia-nl
使用
为确保此工具的正确行为,请按照以下步骤操作
确保SQLite中的聚合设置表包含3个关于排放的条目: cum、cum_negative 和 cum_positive。并且所有条目都将 timestep 设置为3600。
创建一个文件夹,其中包含您要在模拟中使用的所有雨文件。这些雨文件应采用‘min,mm’-格式,其中min是timestep(以分钟为单位),mm是在timestep内降水的量(以毫米为单位)。每个timestep由换行符分隔,如下面的示例所示
0,5.0 30,1.5 60,0.0
创建一个输出文件夹,用于存储结果文件。
在Threedi模型列表中找到您的模型的“id”: https://api.3di.live/v3/threedimodels/
运行 $ run-rain-series-simulations --help 查看需要指定的参数。
运行 $ process-rain-series-results --help 查看需要指定的参数。
创建的文件和目录
aggregation_netcdf,包含模拟聚合结果数据的目录
simulations,包含模拟日志数据的目录(使用 –debug 选项)
threedi_urban_eia_nl_statistics.csv,批量计算结果
crashed_simulations.json,崩溃模拟的ID(可选)
created_simulations_<date>.json,创建的模拟信息,作为 process-rain-series-results 的输入文件
gridadmin.h5,批量统计计算所需
nan_rows.json,包含累计流量中有 NaN 数据的溢流坝信息(可选)
示例
$ run-rain-series-simulations <ThreediModel ID> <rain files dir> <results dir> -o <organisation (optional)> -h <host (optional)>
$ process-rain-series-results <created simulations json file> -h <host (optional)> -d <sets debug flag to True> -s <skips downloading result files>
示例命令
$ run-rain-series-simulations 12345 rain_files/ results/ daan.vaningen $ process-rain-series-results results/created_simulations.json daan.vaningen
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。
源分布
构建分布
threedi_urban_eia_nl-0.0.2.tar.gz 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | dc14fc0d31c97204a113feb4df1cf6e5f0b2cce6b0712343642a04d66b5b600a |
|
MD5 | df929921c3df9995dfd65fc1abdeedbc |
|
BLAKE2b-256 | d46d6c22f2c1513782bf64c7a92db42d7315a4035f9a8cec0d1639a186ae82a0 |
threedi_urban_eia_nl-0.0.2-py3-none-any.whl 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 2f6e5a903c3c17cc6ca8eb49446cbfc87cbd4e3d77bfb9dedd97d54e610e1cef |
|
MD5 | cfd1c8520bdb4803f64faffa02e4aaf8 |
|
BLAKE2b-256 | 4f324f94fd35e8470c4f7c235a8d48ad13c454b477322c370264a579c5a851a7 |