climate_ref.cli.solve
#
solve(ctx, dry_run=False, execute=True, timeout=typer.Option(6 * 60 * 60, help='Timeout in seconds for waiting on executions to complete. Defaults to 6 hours. Set to 0 (or a negative value) to wait with no time limit. Ignored when --no-wait is used.'), wait=True, one_per_provider=typer.Option(False, help='Limit to one execution per provider. This is useful for testing'), one_per_diagnostic=typer.Option(False, help='Limit to one execution per diagnostic. This is useful for testing'), diagnostic=None, provider=None, dataset_filter=None, limit=None, rerun_failed=False)
#
Solve for executions that require recalculation
This may trigger a number of additional calculations depending on what data has been ingested since the last solve. This command will block until all executions have been solved or the timeout is reached.
Filters can be applied to limit the diagnostics and providers that are considered, see the options
--diagnostic and --provider for more information.
Source code in packages/climate-ref/src/climate_ref/cli/solve.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | |