restart run unable to creat netcdf file if rst/his exist

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
lmkli
Posts: 24
Joined: Wed Aug 02, 2006 1:21 pm
Location: TAMU

restart run unable to creat netcdf file if rst/his exist

#1 Unread post by lmkli »

Hello,

I tried to restart ROMS from an existed rst file, but ROMS just quit the job with such kind of message:
NETCDF_CREATE - unable to create output NetCDF file:
/output/ocean_his_0003.nc
call from: def_his.F

DEF_HIS - unable to create history NetCDF file: /output/ocean_his_0003.nc

Actually, before this, when I tried the restart run from a his file with a existed rst file in the output
directory, I got almost the same complain, but it is about def_rst.F, said that unable to create ocean_rst.nc file.
So I removed the rst file, model just went through.

Any advices on this?

Thank you.

M.

User avatar
kate
Posts: 4090
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: restart run unable to creat netcdf file if rst/his exist

#2 Unread post by kate »

You are either trying to add to an existing file or overwrite an existing file. What are the file permissions on the files in question? Maybe read up on unix file permissions somewhere if you don't know.

User avatar
lmkli
Posts: 24
Joined: Wed Aug 02, 2006 1:21 pm
Location: TAMU

Re: restart run unable to creat netcdf file if rst/his exist

#3 Unread post by lmkli »

Hello Kate,

Thank you.

I just realize maybe I misunderstood the poster
viewtopic.php?f=17&t=1802&start=0
and made a mistake by changing nf90_clobber to nf90_noclobber.

I am very sorry about this.

But I am really cofused about LDEFOUT.
Seems no matter True or False I set LDEFOUT is, ROMS always create new files.

Post Reply