AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
FlowTopo는 D8 흐름 네트워크의 순차 정렬·병렬 레이어링·공간 분할을 한 번 계산해 두고, 모든 배수 순서 계산에 재사용합니다
FlowTopo: serial orderings, parallel layerings and spatial partitions for D8 flow networks, computed once from the flow-direction grid and reused by any drainage-order computation. Python reference im
개발 도구PythonGitHub @hellolulujiang온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Serial orderings, parallel layerings and spatial partitions for D8 flow networks, computed once from the flow-direction grid and reused by any drainage-order computation. Python reference implementation.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Orderings, layerings and partitions for D8 flow networks, in Python.
A D8 flow-direction grid fixes which cells must be done before which: a cell
needs its upstream neighbours first, or, for some kernels, its downstream one.
FlowTopo works that order out once, from the grid alone, and saves it.
Anything that walks the network in drainage order (upstream drainage area,
flow length, Strahler stream order, or the upstream-to-downstream step of a
routing scheme)
then reads the saved order instead of working it out again.README 전문 보기 ↗FlowTopo builds reusable orderings, parallel layerings and spatial partitions from a D8 flow-direction grid.
Three serial orderings visit every cell once while respecting the flow dependencies.
git clone https://github.com/hellolulujiang/flowtopo.git
cd flowtopo
pip install -e ".[speed]"
Python 3.10 or newer. The speed extra enables threaded kernels.
import flowtopo
topo = flowtopo.FlowTopo.from_raster("data/dir_example.tif")
upa = topo.upstream_area(ordering="dfs") # km²
upa_grid = topo.to_2d(upa)
The bundled MERIT Hydro basin has 93,432 valid cells. Input requirements.
Three parallel layerings. Layers run in order; the cells of one layer run at the same time.
Three propagation manners. The structure decides when a cell runs; the manner decides who writes the result.
FullTopo v1.1 provides saved structures for the 90 MERIT Hydro regions of FullDivide v1.1. Contents and use.
User guide · Methods and provenance · Notebook · Video · Animations · FullHydro tools
Tests ·
Cite this repository with the release used and downloaded products by version. Paper: MERIT-FlowTopo v1.0: a reusable computational foundation for hyperresolution hydrology on the global 90 m drainage network (Jiang et al., submitted to Geoscientific Model Development). Archived paper code.
MERIT Hydro (Yamazaki et al., 2019) supplies the example grid. Foundational conventions follow pyflwdir (D. Eilander, Deltares; MIT); see provenance.
MIT; see LICENSE. The bundled MERIT Hydro excerpt retains its terms, CC BY-NC 4.0 or ODbL 1.0; see DATA_NOTICE.md.