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_groupfix files are linked fromtarget_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.yamlfor details)
- Returns:
res (str) – File/grid resolution