ROMS.jl error with invalid dimension parameter

Hi; I have a question regarding roms.in. I have followed the instructions and I have all the files prepared but when I launch the roms, I get this error…I have tried to search for it but I can’t find it, could you send me the modis.in file for this example.
Thank you and sorry for the inconvenience.
Unai
ping @Alexander-Barth Barth


Model Input Parameters: ROMS/TOMS version 4.2
Monday - June 10, 2024 - 10:29:18 AM

READ_PHYPAR - Invalid dimension parameter, nBCfiles = -1
KeyWord ‘NBCFILES’ unread or misssing from input script ‘roms.in’.
Found Error: 04 Line: 211 Source: ROMS/Utility/inp_par.F
Found Error: 04 Line: 125 Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

Elapsed wall CPU time for each process (seconds):

Found Error: 04 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 04 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 04 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 04 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90

ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 04 Line: 413 Source: ROMS/Utility/close_io.F, close_out

ROMS/TOMS - I/O error … exit_flag: 4

ERROR: I/O related problem.
ERROR STOP

Error termination. Backtrace:
#0 0x7abf4ac23960 in ???
#1 0x7abf4ac244d9 in ???
#2 0x7abf4ac25b47 in ???
#3 0x64191b33c9c6 in ???
#4 0x7abf4a829d8f in __libc_start_call_main
at …/sysdeps/nptl/libc_start_call_main.h:58
#5 0x7abf4a829e3f in __libc_start_main_impl
at …/csu/libc-start.c:392
#6 0x64191b33ca14 in ???
#7 0xffffffffffffffff in ???

Does it work if you add these lines manually to roms.in ?

NBCFILES == 1
NCLMFILES == 1

They correspond to the number of files with boundary conditions and climatology data.

See also: Tutorial · ROMS.jl