ai2cm / fv3config

Manipulate FV3GFS run directories
Apache License 2.0
1 stars 0 forks source link

Fix getting coupler_res filename when using directory for initial conditions #111

Closed oliverwm1 closed 3 years ago

oliverwm1 commented 3 years ago

Fixes bug (and adds test) for getting coupler res filename when using a directory for initial conditions. Bug happened because if statement checked if target_location was equal to INPUT but asset_list_from_path returned INPUT/. Fixes bug by using joined path in _get_coupler_res_filename.