Code: Select all
NETCDF_OPEN - unable to open existing NetCDF file:
nwgoa_avg_0000.nc
call from: def_avg.F
No such file or directory
Code: Select all
diff --git a/ROMS/Nonlinear/output.F b/ROMS/Nonlinear/output.F
index 8a33e14..65697f5 100644
--- a/ROMS/Nonlinear/output.F
+++ b/ROMS/Nonlinear/output.F
@@ -263,7 +263,7 @@
END IF
END IF
IF ((nrrec(ng).ne.0).and.(iic(ng).eq.ntstart(ng))) THEN
- IF ((iic(ng)-1).eq.idefAVG(ng)) THEN
+ IF ((iic(ng)-1).le.idefAVG(ng)) THEN
Ldefine=.FALSE. ! finished file, delay
ELSE ! creation of next file
NewFile=.FALSE.