cf.Domain.cfa_update_file_substitutions¶
-
Domain.cfa_update_file_substitutions(substitutions)[source]¶ Set CFA-netCDF file name substitutions.
New in version 3.15.0.
- Parameters
- substitutions:
dict The substitution definitions in a dictionary whose key/value pairs are the file name parts to be substituted and their corresponding substitution text.
Each substitution definition may be specified with or without the
${...}syntax. For instance, the following are equivalent:{'base': 'sub'},{'${base}': 'sub'}.
- substitutions:
- Returns
Examples
>>> d.cfa_update_file_substitutions({'base': '/data/model'})