climate_ref.cli.providers
#
Manage the REF providers.
ShowFormat
#
create_env(ctx, provider=None)
#
Create a conda environment containing the provider software.
.. deprecated::
Use ref providers setup instead, which handles both environment creation
and data fetching in a single command.
If no provider is specified, all providers will be installed. If the provider is up to date or does not use a conda environment, it will be skipped.
Source code in packages/climate-ref/src/climate_ref/cli/providers.py
list_(ctx)
#
Print the available providers.
Source code in packages/climate-ref/src/climate_ref/cli/providers.py
setup(ctx, provider=None, skip_env=False, skip_data=False, skip_validate=False, validate_only=False)
#
Run provider setup for offline execution.
This command prepares all providers for offline execution by:
-
Creating conda environments (if applicable)
-
Fetching required reference datasets to pooch cache
-
Ingesting provider-specific datasets into the database
All operations are idempotent and safe to run multiple times. Run this on a login node with internet access before solving on compute nodes.
Source code in packages/climate-ref/src/climate_ref/cli/providers.py
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | |
show(ctx, provider, output_format=ShowFormat.list, columns=None)
#
Show diagnostics and data requirements for a provider.