| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 68e3a39 commit fe2dd91
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18778,7 +18778,7 @@ | |||
| 18778 | 18778 | "section": "calibration", | |
| 18779 | 18779 | "anchor": "calibration-method", | |
| 18780 | 18780 | "page": "calibration.html", | |
| 18781 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L624", | ||
| 18781 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L631", | ||
| 18782 | 18782 | "description": "Optimization method. Optuna is installed by default; install the calibration extra for cma_es and Optuna's cmaes sampler." | |
| 18783 | 18783 | }, | |
| 18784 | 18784 | { | |
@@ -18790,7 +18790,7 @@ | |||
| 18790 | 18790 | "section": "calibration", | |
| 18791 | 18791 | "anchor": "calibration-max-iter", | |
| 18792 | 18792 | "page": "calibration.html", | |
| 18793 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L631", | ||
| 18793 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L638", | ||
| 18794 | 18794 | "description": "Maximum number of calibration iterations." | |
| 18795 | 18795 | }, | |
| 18796 | 18796 | { | |
@@ -18802,7 +18802,7 @@ | |||
| 18802 | 18802 | "section": "calibration", | |
| 18803 | 18803 | "anchor": "calibration-batch-size", | |
| 18804 | 18804 | "page": "calibration.html", | |
| 18805 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L636", | ||
| 18805 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L643", | ||
| 18806 | 18806 | "description": "Number of suggestions drawn per ask (for parallel optimizers)." | |
| 18807 | 18807 | }, | |
| 18808 | 18808 | { | |
@@ -18814,7 +18814,7 @@ | |||
| 18814 | 18814 | "section": "calibration", | |
| 18815 | 18815 | "anchor": "calibration-parallel", | |
| 18816 | 18816 | "page": "calibration.html", | |
| 18817 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L641", | ||
| 18817 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L648", | ||
| 18818 | 18818 | "description": "Number of trials evaluated concurrently inside one batch via a thread pool. parallel=1 keeps the legacy sequential loop." | |
| 18819 | 18819 | }, | |
| 18820 | 18820 | { | |
@@ -18826,7 +18826,7 @@ | |||
| 18826 | 18826 | "section": "calibration", | |
| 18827 | 18827 | "anchor": "calibration-warmup-periods", | |
| 18828 | 18828 | "page": "calibration.html", | |
| 18829 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L649", | ||
| 18829 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L656", | ||
| 18830 | 18830 | "description": "Spin-up (burn-in) periods excluded from every objective block. The first warmup_periods of each observed/simulated series are dropped before the metric, so the window where the state still depends on the initial condition does not bias the " | |
| 18831 | 18831 | }, | |
| 18832 | 18832 | { | |
@@ -18838,7 +18838,7 @@ | |||
| 18838 | 18838 | "section": "calibration", | |
| 18839 | 18839 | "anchor": "calibration-scoring-window", | |
| 18840 | 18840 | "page": "calibration.html", | |
| 18841 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L661", | ||
| 18841 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L668", | ||
| 18842 | 18842 | "description": "Dates bounding the samples every metric is computed on. Mutually exclusive with warmup_periods, which counts samples instead of dates." | |
| 18843 | 18843 | }, | |
| 18844 | 18844 | { | |
@@ -18874,7 +18874,7 @@ | |||
| 18874 | 18874 | "section": "calibration", | |
| 18875 | 18875 | "anchor": "calibration-phases", | |
| 18876 | 18876 | "page": "calibration.html", | |
| 18877 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L668", | ||
| 18877 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L675", | ||
| 18878 | 18878 | "description": "Stages run one after the other, each calibrating its own parameters and freezing them for the next. Declaring this table is what switches the runner to staged mode; without it nothing changes for an existing configuration. The default is No" | |
| 18879 | 18879 | }, | |
| 18880 | 18880 | { | |
@@ -19021,6 +19021,18 @@ | |||
| 19021 | 19021 | "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L580", | |
| 19022 | 19022 | "description": "Extra keyword arguments forwarded to this phase's optimizer." | |
| 19023 | 19023 | }, | |
| 19024 | + { | ||
| 19025 | + "path": "calibration.phases.overrides", | ||
| 19026 | + "name": "overrides", | ||
| 19027 | + "type": "dict[str, Any]", | ||
| 19028 | + "profile": "user", | ||
| 19029 | + "stability": "stable", | ||
| 19030 | + "section": "calibration", | ||
| 19031 | + "anchor": "calibration-phases-overrides", | ||
| 19032 | + "page": "calibration.html", | ||
| 19033 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L584", | ||
| 19034 | + "description": "Configuration values this phase runs with, as dotted paths into the project configuration. The two stages of a stream-network calibration are one steady and one transient, which is a property of the model and not of the search, so a phase h" | ||
| 19035 | + }, | ||
| 19024 | 19036 | { | |
| 19025 | 19037 | "path": "calibration.phases.scoring_window", | |
| 19026 | 19038 | "name": "scoring_window", | |
@@ -19030,7 +19042,7 @@ | |||
| 19030 | 19042 | "section": "calibration", | |
| 19031 | 19043 | "anchor": "calibration-phases-scoring-window", | |
| 19032 | 19044 | "page": "calibration.html", | |
| 19033 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L584", | ||
| 19045 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L591", | ||
| 19034 | 19046 | "description": "Dates bounding the samples this phase scores on." | |
| 19035 | 19047 | }, | |
| 19036 | 19048 | { | |
@@ -19066,7 +19078,7 @@ | |||
| 19066 | 19078 | "section": "calibration", | |
| 19067 | 19079 | "anchor": "calibration-phases-depends-on", | |
| 19068 | 19080 | "page": "calibration.html", | |
| 19069 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L588", | ||
| 19081 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L595", | ||
| 19070 | 19082 | "description": "Name of the phase that must run first. Its frozen parameters enter this one as fixed values." | |
| 19071 | 19083 | }, | |
| 19072 | 19084 | { | |
@@ -19078,7 +19090,7 @@ | |||
| 19078 | 19090 | "section": "calibration", | |
| 19079 | 19091 | "anchor": "calibration-phases-freeze-on-success", | |
| 19080 | 19092 | "page": "calibration.html", | |
| 19081 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L593", | ||
| 19093 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L600", | ||
| 19082 | 19094 | "description": "Hold the parameters this phase calibrated fixed for the phases that depend on it. Success means the phase converged, not that its validity indicator is good." | |
| 19083 | 19095 | }, | |
| 19084 | 19096 | { | |
@@ -19090,7 +19102,7 @@ | |||
| 19090 | 19102 | "section": "calibration", | |
| 19091 | 19103 | "anchor": "calibration-seed", | |
| 19092 | 19104 | "page": "calibration.html", | |
| 19093 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L679", | ||
| 19105 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L686", | ||
| 19094 | 19106 | "description": "Random seed for reproducibility." | |
| 19095 | 19107 | }, | |
| 19096 | 19108 | { | |
@@ -19102,7 +19114,7 @@ | |||
| 19102 | 19114 | "section": "calibration", | |
| 19103 | 19115 | "anchor": "calibration-save-runs", | |
| 19104 | 19116 | "page": "calibration.html", | |
| 19105 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L683", | ||
| 19117 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L690", | ||
| 19106 | 19118 | "description": "How much to persist per iteration: - 'none': 1 DuckDB row per iteration, no Zarr. - 'best_n': same + promote top N to full simulations after the loop. - 'all': every iteration becomes a full simulation (Zarr included)." | |
| 19107 | 19119 | }, | |
| 19108 | 19120 | { | |
@@ -19114,7 +19126,7 @@ | |||
| 19114 | 19126 | "section": "calibration", | |
| 19115 | 19127 | "anchor": "calibration-save-best-n", | |
| 19116 | 19128 | "page": "calibration.html", | |
| 19117 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L692", | ||
| 19129 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L699", | ||
| 19118 | 19130 | "description": "Number of top iterations to promote when save_runs='best_n'." | |
| 19119 | 19131 | }, | |
| 19120 | 19132 | { | |
@@ -19126,7 +19138,7 @@ | |||
| 19126 | 19138 | "section": "calibration", | |
| 19127 | 19139 | "anchor": "calibration-use-cache", | |
| 19128 | 19140 | "page": "calibration.html", | |
| 19129 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L697", | ||
| 19141 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L704", | ||
| 19130 | 19142 | "description": "Enable params_hash content-addressable cache." | |
| 19131 | 19143 | }, | |
| 19132 | 19144 | { | |
@@ -19138,7 +19150,7 @@ | |||
| 19138 | 19150 | "section": "calibration", | |
| 19139 | 19151 | "anchor": "calibration-lightweight-extraction", | |
| 19140 | 19152 | "page": "calibration.html", | |
| 19141 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L701", | ||
| 19153 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L708", | ||
| 19142 | 19154 | "description": "Skip Parquet/Zarr writes for lumped models (GR4J, ...) and read simulated series from the per-trial RAM cache instead. Only the promoted runs go through the catalog write path." | |
| 19143 | 19155 | }, | |
| 19144 | 19156 | { | |
@@ -19150,7 +19162,7 @@ | |||
| 19150 | 19162 | "section": "calibration", | |
| 19151 | 19163 | "anchor": "calibration-objective", | |
| 19152 | 19164 | "page": "calibration.html", | |
| 19153 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L707", | ||
| 19165 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L714", | ||
| 19154 | 19166 | "description": "Metric key used by the default ScalarObjective." | |
| 19155 | 19167 | }, | |
| 19156 | 19168 | { | |
@@ -19162,7 +19174,7 @@ | |||
| 19162 | 19174 | "section": "calibration", | |
| 19163 | 19175 | "anchor": "calibration-variable", | |
| 19164 | 19176 | "page": "calibration.html", | |
| 19165 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L711", | ||
| 19177 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L718", | ||
| 19166 | 19178 | "description": "Observed variable (for ObservationSet)." | |
| 19167 | 19179 | }, | |
| 19168 | 19180 | { | |
@@ -19174,7 +19186,7 @@ | |||
| 19174 | 19186 | "section": "calibration", | |
| 19175 | 19187 | "anchor": "calibration-optimizer-kwargs", | |
| 19176 | 19188 | "page": "calibration.html", | |
| 19177 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L715", | ||
| 19189 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L722", | ||
| 19178 | 19190 | "description": "Extra keyword arguments forwarded to the optimizer adapter." | |
| 19179 | 19191 | }, | |
| 19180 | 19192 | { | |
@@ -19186,7 +19198,7 @@ | |||
| 19186 | 19198 | "section": "calibration", | |
| 19187 | 19199 | "anchor": "calibration-parameters", | |
| 19188 | 19200 | "page": "calibration.html", | |
| 19189 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L719", | ||
| 19201 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L726", | ||
| 19190 | 19202 | "description": "Per-parameter declarations (bounds, transform, prior, path)." | |
| 19191 | 19203 | }, | |
| 19192 | 19204 | { | |
@@ -19282,7 +19294,7 @@ | |||
| 19282 | 19294 | "section": "calibration", | |
| 19283 | 19295 | "anchor": "calibration-outputs", | |
| 19284 | 19296 | "page": "calibration.html", | |
| 19285 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L723", | ||
| 19297 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L730", | ||
| 19286 | 19298 | "description": "Named observables extracted from each candidate run." | |
| 19287 | 19299 | }, | |
| 19288 | 19300 | { | |
@@ -19798,7 +19810,7 @@ | |||
| 19798 | 19810 | "section": "calibration", | |
| 19799 | 19811 | "anchor": "calibration-objective-blocks", | |
| 19800 | 19812 | "page": "calibration.html", | |
| 19801 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L727", | ||
| 19813 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L734", | ||
| 19802 | 19814 | "description": "Weighted blocks making up a composite objective. When empty, a single implicit block is built from 'objective' and 'variable'." | |
| 19803 | 19815 | }, | |
| 19804 | 19816 | { | |
@@ -19894,7 +19906,7 @@ | |||
| 19894 | 19906 | "section": "calibration", | |
| 19895 | 19907 | "anchor": "calibration-persist-iteration-detail", | |
| 19896 | 19908 | "page": "calibration.html", | |
| 19897 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L732", | ||
| 19909 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L739", | ||
| 19898 | 19910 | "description": "'none' skips component metrics; 'summary' keeps block totals; 'full' also stores per-block raw and normalized costs." | |
| 19899 | 19911 | }, | |
| 19900 | 19912 | { | |
@@ -19906,7 +19918,7 @@ | |||
| 19906 | 19918 | "section": "calibration", | |
| 19907 | 19919 | "anchor": "calibration-persist-model-distribution", | |
| 19908 | 19920 | "page": "calibration.html", | |
| 19909 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L737", | ||
| 19921 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L744", | ||
| 19910 | 19922 | "description": "Persist the candidate distribution alongside the session." | |
| 19911 | 19923 | }, | |
| 19912 | 19924 | { | |
@@ -19918,7 +19930,7 @@ | |||
| 19918 | 19930 | "section": "calibration", | |
| 19919 | 19931 | "anchor": "calibration-rerun-best-with-outputs", | |
| 19920 | 19932 | "page": "calibration.html", | |
| 19921 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L741", | ||
| 19933 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L748", | ||
| 19922 | 19934 | "description": "Replay the best candidate with full outputs after the loop." | |
| 19923 | 19935 | }, | |
| 19924 | 19936 | { | |
@@ -19930,7 +19942,7 @@ | |||
| 19930 | 19942 | "section": "calibration", | |
| 19931 | 19943 | "anchor": "calibration-materialize-candidates", | |
| 19932 | 19944 | "page": "calibration.html", | |
| 19933 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L745", | ||
| 19945 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L752", | ||
| 19934 | 19946 | "description": "Write a standalone override TOML for each candidate under 'candidates_root' so runs can be replayed later." | |
| 19935 | 19947 | }, | |
| 19936 | 19948 | { | |
@@ -19942,7 +19954,7 @@ | |||
| 19942 | 19954 | "section": "calibration", | |
| 19943 | 19955 | "anchor": "calibration-candidates-root", | |
| 19944 | 19956 | "page": "calibration.html", | |
| 19945 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L750", | ||
| 19957 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L757", | ||
| 19946 | 19958 | "description": "Directory for per-candidate overlay TOMLs. Required when materialize_candidates is True." | |
| 19947 | 19959 | }, | |
| 19948 | 19960 | { | |
@@ -19954,7 +19966,7 @@ | |||
| 19954 | 19966 | "section": "calibration", | |
| 19955 | 19967 | "anchor": "calibration-persistence", | |
| 19956 | 19968 | "page": "calibration.html", | |
| 19957 | - "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L755", | ||
| 19969 | + "source": "https://github.com/HydroModPy/HydroModPy/blob/main/hydromodpy/calibration/config.py#L762", | ||
| 19958 | 19970 | "description": "Single switch governing every persistence sink (catalog, Zarr, Parquet, lockfile) for calibration outputs." | |
| 19959 | 19971 | }, | |
| 19960 | 19972 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1740,6 +1740,13 @@ | |||
| 1740 | 1740 | "type": "object", | |
| 1741 | 1741 | "x-hmp-profile": "dev" | |
| 1742 | 1742 | }, | |
| 1743 | + "overrides": { | ||
| 1744 | + "additionalProperties": true, | ||
| 1745 | + "description": "Configuration values this phase runs with, as dotted paths into the project configuration. The two stages of a stream-network calibration are one steady and one transient, which is a property of the model and not of the search, so a phase has to be able to say it.", | ||
| 1746 | + "title": "Overrides", | ||
| 1747 | + "type": "object", | ||
| 1748 | + "x-hmp-profile": "user" | ||
| 1749 | + }, | ||
| 1743 | 1750 | "scoring_window": { | |
| 1744 | 1751 | "anyOf": [ | |
| 1745 | 1752 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1518,6 +1518,13 @@ | |||
| 1518 | 1518 | "type": "object", | |
| 1519 | 1519 | "x-hmp-profile": "dev" | |
| 1520 | 1520 | }, | |
| 1521 | + "overrides": { | ||
| 1522 | + "additionalProperties": true, | ||
| 1523 | + "description": "Configuration values this phase runs with, as dotted paths into the project configuration. The two stages of a stream-network calibration are one steady and one transient, which is a property of the model and not of the search, so a phase has to be able to say it.", | ||
| 1524 | + "title": "Overrides", | ||
| 1525 | + "type": "object", | ||
| 1526 | + "x-hmp-profile": "user" | ||
| 1527 | + }, | ||
| 1521 | 1528 | "scoring_window": { | |
| 1522 | 1529 | "anyOf": [ | |
| 1523 | 1530 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments