Both of these utilities have annoying manual insertion of a directory slash (eg //'/'//) when creating character strings for path and file names. These should be cleaned up for readability.
In cpld_gridgen, there is an annoying warning that gets triggered in DEBUG mode:
forrtl: warning (406): fort: (1): In call to FIND_ANGQ, an array temporary was created for argument #263
that should also be resolved. Note this will mean modification of the argument list for cpld_gridgen's unit test.
Since work for the AR domain (#1118) will require adding an additional unit test, I prefer to do this work first (before opening the PR for the AR work).