Modify WTYPE_GRID variable in the model

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
novice
Posts: 27
Joined: Fri Jan 18, 2013 6:02 pm
Location: Indian Institute of Technology

Modify WTYPE_GRID variable in the model

#1 Unread post by novice »

Hi Forum,

I wanted to introduce a temporarily varying "wtype_grid" to the model.

That is, modify the following

double wtype_grid(eta_rho, xi_rho) ;
wtype_grid:long_name = "Jerlov water type index" ;
wtype_grid:coordinates = "lon_rho lat_rho" ;


to as below.

double wtype_grid(ocean_time, eta_rho, xi_rho) ;
wtype_grid:long_name = "Jerlov water type index" ;
wtype_grid:coordinates = "lon_rho lat_rho" ;

I found that wype_grid is used in The file ROMS/Nonlinear/lmd_swfrac.F. But introducing a new time dimension to the variable will require more code changes. I would be grateful if anybody can point me to the associated possible changes to be done for getting this read by the model.

Thanks in advance

Post Reply