Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Tue Jul 23, 2019 4:16 pm




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
 Post subject: Biotoy testcase error
PostPosted: Thu Jan 21, 2010 2:48 pm 
Offline

Joined: Wed May 27, 2009 10:43 pm
Posts: 13
Location: WHOI/MIT
Hi everyone!

I`m trying to run the biotoy testcase anda what I did was set the ocean_bio_toy.in file to use:

! Input NetCDF file names, [1:Ngrids].

GRDNAME == /Users/cristinaschultz/ROMS/biotoy_grd.nc
ININAME == /Users/cristinaschultz/ROMS/biotoy_ini_fasham.nc
ITLNAME == /dev/null
IRPNAME == /dev/null
IADNAME == /dev/null
CLMNAME == /dev/null
BRYNAME == /dev/null
FWDNAME == /dev/null
ADSNAME == /dev/null


NFFILES == 1 ! number of forcing files

FRCNAME == /Users/cristinaschultz/ROMS/biotoy_frc.nc ! forcing file 1, grid 1


with the files I downloaded at http://www.myroms.org/index.php?page=Datasets
I also defined BIO_FENNEL on bio_toy.h and undefined ECOSIM. The model compiles with no problem and also runs without any error message, but it doesn`t write any output files. On the terminal it shows:

ROMS/TOMS - Input error ............. exit_flag: 2


ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error

There seems to be on the forum some debate over versions of the fasham and ecosim models and also some problems with the files names changing from fennel to fasham, but I have doublechecked the latest version of the inputs I used. Could anyone help me please?

thanks already!


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 22, 2010 6:48 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
Could you double-check your output? There may well be another error message, perhaps above some intervening messages above that reported input error.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 23, 2010 10:13 pm 
Offline
User avatar

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 491
Location: Rutgers University
I just ran this test case to see what's wrong and amongst the output is the clue:

Code:
SET_2DFLD  - current model time exceeds ending value for variable: Pair
              TDAYS     =        366.0000
              Data Tmin =          0.0000  Data Tmax =        364.0000


The initial time in the file biotoy_ini_fasham.nc is set to 366 days, which is outside the 0 to 364 days of the forcing file. The initial time in biotoy_ini_ecosim.nc is 0 and that file works OK.

So change that value of ocean_time in biotoy_ini_fasham.nc and this should work (I hope you know how to change the data inside a netcdf file).

I thought the forcing file distributed for this test case used the cycle_length = 365.0 attribute to cycle the time, in which this error would not have occurred (ROMS would have extracted day=1 from the forcing file to correspond to ocean_time=366).

We will make changes to these files and place corrected versions at http://www.myroms.org/index.php?page=Datasets soon.

_________________
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 25, 2010 3:06 pm 
Offline
Site Admin
User avatar

Joined: Wed Feb 26, 2003 4:41 pm
Posts: 1079
Location: IMCS, Rutgers University
I updated and added the BIO_TOY input NetCDF file to the svn repository. The grid, initial conditions, and forcing files are now located in Data/ROMS/Grid, Data/ROMS/Initial, and Data/ROMS/Forcing, respectively. Check the following trac :arrow: ticket for details.

Thank you for bringing this to my attention. Please update.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 25, 2010 6:24 pm 
Offline

Joined: Wed May 27, 2009 10:43 pm
Posts: 13
Location: WHOI/MIT
I tried changing the ocean_time on the old file and also tried running with the new file. They both worked just fine! Thank you very much!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group