# namelist keys nl_wps_key = "nl_wps" nl_inp_keys = [ "nl_inp_SIDAT", "nl_inp_C", "nl_inp_H", "nl_inp_NW", "nl_inp_SW", "nl_inp_W" ] curw_db_config_path = 'curw_db_config' wrf_config_key = 'docker_wrf_config_single' wrf_pool = 'parallel_wrf_runs' run_id_prefix = 'wrf-doc-single' airflow_vars = airflow_docker_utils.check_airflow_variables( nl_inp_keys + [nl_wps_key, curw_db_config_path, wrf_config_key], ignore_error=True) default_args = { 'owner': 'curwsl admin', 'depends_on_past': False, 'start_date': airflow.utils.dates.days_ago(1), 'email': ['*****@*****.**'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': dt.timedelta(minutes=5), 'queue': queue, 'catchup': False, }
nl_inp_keys = [ "nl_inp_SIDAT", "nl_inp_C", "nl_inp_H", "nl_inp_NW", "nl_inp_SW", "nl_inp_W" ] curw_gcs_key_path = 'curw_gcs_key_path' curw_db_config_path = 'curw_db_config_path' wrf_config_key = 'docker_wrf_config' local_wrf_config_path = '/mnt/disks/wrf-mod/config/local-wrf-config.json' wrf_pool = 'parallel_wrf_runs' run_id_prefix = 'wrf-doc' nl_inp_keys.extend([nl_wps_key, curw_gcs_key_path, curw_db_config_path]) airflow_vars = docker_utils.check_airflow_variables(nl_inp_keys, ignore_error=True) default_args = { 'owner': 'curwsl admin', 'depends_on_past': False, 'start_date': airflow.utils.dates.days_ago(1), 'email': ['*****@*****.**'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': dt.timedelta(minutes=5), 'queue': queue, } # initiate the DAG dag = DAG(wrf_dag_name,