UFS Short-Range Weather App User's Guide Logo
  • User’s Guide
  • Technical Documentation
    • tests
    • ush
      • UFS_plot_domains module
      • calculate_cost module
      • check_python_version module
      • config_utils module
      • create_aqm_rc_file module
      • create_diag_table_file module
      • create_model_configure_file module
      • create_ufs_configure_file module
      • eval_metplus_timestr_tmpl module
      • generate_FV3LAM_wflow module
      • get_crontab_contents module
      • get_obs module
      • link_fix module
        • link_fix()
      • python_utils package
      • retrieve_data module
      • run_srw_tests module
      • select_validtime_obs module
      • set_cycle_and_obs_timeinfo module
      • set_fv3nml_ens_stoch_seeds module
      • set_gridparams_ESGgrid module
      • set_leadhrs module
      • set_predef_grid_params module
      • setup module
      • smoke_dust package
      • update_input_nml module
  • Contributor’s Guide
UFS Short-Range Weather App User's Guide
  • Technical Documentation
  • ush
  • link_fix module
  • View page source

link_fix module

link_fix(verbose, file_group, source_dir, target_dir, ccpp_phys_suite, constants, dot_or_uscore, nhw, run_task, sfc_climo_fields, **kwargs)

Links fix files to the target directory for a given SRW experiment. It only links files for one group at a time.

Parameters:
  • cfg_d (dict) – Dictionary of configuration settings

  • file_group (str) – Choice of ["grid", "orog", "sfc_climo"]

  • source_dir (str) – Path to directory that the file_group fix files are linked from

  • target_dir (str) – Directory that the fix files should be linked to

  • dot_or_uscore (str) – Either a dot (.) or an underscore (_)

  • nhw (int) – Wide halo width (grid parameter setting: N=number of cells, H=halo, W=wide halo)

  • constants (dict) – Dictionary containing the constants used by the SRW App

  • run_task (bool) – Whether the task is to be run in the experiment

  • climo_fields (list) – List of fields needed for surface climatology (see fixed_files_mapping.yaml for details)

Returns:

res (str) – File/grid resolution

Previous Next

© Copyright 2020, .

Built with Sphinx using a theme provided by Read the Docs.