Hello
I am working on COAWST model on Japan sea.
I have been working on this project for 3months and I had problem on ROMS. Which below down here. I cant upload my files here because size is too big.
Blowing-up: Saving latest model state into RESTART file
REASON: KEchar = NaN, PEchar = NaN
WRT_RST - wrote re-start
I used TPXO9_atlas_v5 to make my tidal forcing file. I think that, what causing error on my roms is might be my tidal forcing file. So I tried to make tidal forcing file through otps2frc.m by using TPXO7.2 and TPXO9v5 but I failed bot of them.
Can you help me on this problem.
Below down i uploaded my grid file and otps2frc script and my error message as picture. I cant upload any other files because size is too big.
Thank you for your time and consideration and have a nice day.
Sincerely
ROMS tidal forcing file
ROMS tidal forcing file
- Attachments
-
- roms_japan_grid.nc.zip
- (297.29 KiB) Downloaded 197 times
-
- otps2frc_v5.m.zip
- (2.29 KiB) Downloaded 205 times
Re: ROMS tidal forcing file
The error says "Permission denied" which suggests you are trying to write to a non-existent directory or you lack the permissions to create files there.
Matlab has great debugging tools. Try:
>> dbstop in write_roms_otps_ncfile_v2
and when Matlab pauses there, check what directory you are in
>> pwd
and whether you can make files there, e.g.
>> system('touch foo.txt')
>> dir('foo.txt')
Before line 33 when your error was triggered, write_roms_otps_ncfile_v2 writes an information message:
which may be informative. You didn't show that report in your post.
Matlab has great debugging tools. Try:
>> dbstop in write_roms_otps_ncfile_v2
and when Matlab pauses there, check what directory you are in
>> pwd
and whether you can make files there, e.g.
>> system('touch foo.txt')
>> dir('foo.txt')
Before line 33 when your error was triggered, write_roms_otps_ncfile_v2 writes an information message:
Code: Select all
fprintf ( 1, '%s: writing %s...\n', mfilename, output_tides_ncfile );
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu