Hi, I get an error making a restart simulation.
I run a baseline simulation, then change 3 things:
1) increase NTIMES,
2) change NRREC to -1,
3) change ININAME to ocean_rst.nc (my baseline generated restart file).
I then get this error:
NETCDF_OPEN - unable to open existing NetCDF file:
ocean_rst.nc
call from: checkvars.F
Any suggestions very welcome!
Thanks, Peter
(P.S: I have PERFECT_RESTSART in my header file)
Restart
Re: Restart
It has told you exactly what its problem is - it can't open that file. Did you spell the name correctly? Does it exist and have valid records in it? I don't see how we can help you.
Those are the correct steps to take on restart. Depending on how and what you are writing, you might also want to set LDEFOUT to F on restart.
Those are the correct steps to take on restart. Depending on how and what you are writing, you might also want to set LDEFOUT to F on restart.
-
- Posts: 3
- Joined: Wed Jun 19, 2013 3:10 pm
- Location: Bangor University
Re: Restart
Thanks Kate,
I've checked everything and I still get the error.
Does it matter which variables I output?
Thanks
I've checked everything and I still get the error.
Does it matter which variables I output?
Thanks
Re: Restart
No, it doesn't matter which variables. ROMS will decide which variables to write to the restart file, independent of anything you do (other than the PERFECT_RESTART flag).
Re: Restart
Maybe a silly suggestion, but I know I've forgotten this a couple of times ...
Could it be that you've forgotten to move the ocean_rst.nc file to your header/project dir (the directory where you have your .h file) ?
Could it be that you've forgotten to move the ocean_rst.nc file to your header/project dir (the directory where you have your .h file) ?