Skip to content

Scenario Data Download

Breaking change

This command is no longer functional since 1.3.0
Equivalent commands have been added to csm-data a part of CosmoTech-Acceleration-Library.
Trying to run this command will give you the equivalent command to use with csm-data.

Install csm-data
pip install CosmoTech-Acceleration-Library~=0.7.0
This command will be fully removed in a future version.

Help command

> csm-orc fetch-scenariorun-data --help

 Usage: csm-orc fetch-scenariorun-data [OPTIONS]                                                                      

 (Deprecated)                                                                                                         
 Uses environment variables to call the download_scenario_data function Requires a valid Azure connection either      
 with:                                                                                                                

  • The AZ cli command: az login                                                                                      
  • A triplet of env var AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET                                        

╭─ OPTIONS ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --organization-id                     o-##########  The id of an organization in the cosmotech api                 │
│                                                     ENV: CSM_ORGANIZATION_ID                                       │
│ --workspace-id                        w-##########  The id of a workspace in the cosmotech api                     │
│                                                     ENV: CSM_WORKSPACE_ID                                          │
│ --scenario-id                         s-##########  The id of a scenario in the cosmotech api                      │
│                                                     ENV: CSM_SCENARIO_ID                                           │
│ --dataset-absolute-path               PATH          A local folder to store the main dataset content               │
│                                                     ENV: CSM_DATASET_ABSOLUTE_PATH                                 │
│ --parameters-absolute-path            PATH          A local folder to store the parameters content                 │
│                                                     ENV: CSM_PARAMETERS_ABSOLUTE_PATH                              │
│ --write-json/--no-write-json                        Toggle writing of parameters in json format                    │
│                                                     ENV: WRITE_JSON                                                │
│                                                     DEFAULT: no-write-json                                         │
│ --write-csv/--no-write-csv                          Toggle writing of parameters in csv format                     │
│                                                     ENV: WRITE_CSV                                                 │
│                                                     DEFAULT: write-csv                                             │
│ --fetch-dataset/--no-fetch-dataset                  Toggle fetching datasets                                       │
│                                                     ENV: FETCH_DATASET                                             │
│                                                     DEFAULT: fetch-dataset                                         │
│ --parallel/--no-parallel                            Toggle parallelization while fetching datasets,                │
│                                                     ENV: FETCH_DATASETS_IN_PARALLEL                                │
│                                                     DEFAULT: parallel                                              │
│ --web-help                                          Open the web documentation                                     │
│ --help                                              Show this message and exit.                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯