There is a errorin the current version (1064) of the ROMS code. Even if it is started at a different time, it will still stop running at the same time with an error message.
The error message I get is:
Found Error: ** Line: 7891 Source: ROMS/Modules/mod_netcdf.F, netcdf_close
NETCDF_CLOSE - error while writing global attribute: bio_file
file:
call from: ROMS/Utility/inquiry. F, inquiry_nf90
NetCDF: Write to read only
Found Error: 03 Line: 156 Source: ROMS/Utility/inquiry. F, inquiry_nf90
Found Error: 03 Line: 206 Source: ROMS/Utility/get_ngfld. F, get_ngfld_nf90
Found Error: 03 Line: 105 Source: ROMS/Utility/get_ngfld. F
Found Error: 03 Line: 884 Source: ROMS/Nonlinear/get_data. F
Found Error: 03 Line: 207 Source: ROMS/Nonlinear/main3d. F
Found Error: 03 Line: 301 Source: ROMS/Drivers/nl_roms.h, ROMS_run
Thank you!
Youchang
netcdf closing error
Re: netcdf closing error
Could you post the rest of the output?
-
- Posts: 6
- Joined: Wed Jun 18, 2014 12:50 pm
- Location: Second Institute of Oceanography, NMR, China
Re: netcdf closing error
that is the problem of multiple forcing files. I encountered the same problem. You need the modify the code in ROMS/Utility/inquiry.F when it CALL netcdf_close (ng, model, ncid). In the case of multiples forcing files, the default value for Lupdate is true. The code will try to update global attribute. You need to add an augment to set Lupdate to FALSE.