Consider removing the `creationTime` temporary variable and inlining it as it is only referenced once
`def formattedFilename = String.format("%s%s.nc", outputFilename, new Date().format("dd-MM-YYYY-HH:mm:ss"))`