This article suggests ROMS may need a nudging layer close to the boundaries to avoid under- and over-specification. I am including a couple of scripts that allow us to prepare the nudging file and the 'climatology' file. In my case I am not using climatology, though...