diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index ca4f2535f8..bf5e942601 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -73,14 +73,15 @@ This document explains the changes made to Iris for this release 💼 Internal =========== -#. N/A +#. `@fnattino`_ changed the order of ``ncgen`` arguments in the command to + create NetCDF files for testing (caused errors on OS X). (:pull:`5105`) .. comment Whatsnew author names (@github name) in alphabetical order. Note that, core dev names are automatically included by the common_links.inc: - +.. _@fnattino: https://github.com/fnattino .. comment diff --git a/lib/iris/tests/stock/netcdf.py b/lib/iris/tests/stock/netcdf.py index 8a448f7d34..e32f065625 100644 --- a/lib/iris/tests/stock/netcdf.py +++ b/lib/iris/tests/stock/netcdf.py @@ -51,7 +51,7 @@ def ncgen_from_cdl( f_out.write(cdl_str) if cdl_path: # Create netcdf from stored CDL file. - call_args = [NCGEN_PATHSTR, cdl_path, "-k3", "-o", nc_path] + call_args = [NCGEN_PATHSTR, "-k3", "-o", nc_path, cdl_path] call_kwargs = {} else: # No CDL file : pipe 'cdl_str' directly into the ncgen program.