Use Roms_tools to creat input files for ROMS

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
hbzong
Posts: 36
Joined: Thu Oct 04, 2007 4:14 am
Location: Fathom Science
Contact:

Use Roms_tools to creat input files for ROMS

#1 Unread post by hbzong »

Hi, everyone
I'm trying to use Roms_tools to create initial fields file, forcing fields file and climatology fields file as input files of ROMS3.0. As you known, some variables' name in Roms_tool are not the same in ROMS3.0. I have checked the codes in Preprocessing_tools of Roms_tools. I just found that the 'scrum_time' should be renamed as 'ocean_time' in 'create_inifile.m'. In the same file, the 'tstart' and 'tend' are not needed. And 'sc_w' and 'Cs_w' should be added. You could add following three line to calculate them :
%
sc_w = ((0:N)-N)/N;
Cs_w = (1.-theta_b)*cff1*sinh(theta_s*sc_w)...
+theta_b*(cff2*tanh(theta_s*(sc_w+0.5))-0.5);
%

If you found something more should be modified, please share with me.

By the way, some variables such as 'sustr' could be interpolated directly to the u (v,w) points instead of be interpolated to the rho points first.

Post Reply