[MITgcm-devel] MNC_CW_ADD_GNAME

Ryan Abernathey rpa at MIT.EDU
Wed Sep 2 10:10:14 EDT 2009


Hi,

I am working on writing a package that will compute volume fluxes in  
isopycnal layers. (This is based loosely on a MATLAB code I got from  
David.)

I am a bit stuck on the MNC output code. I need to define new MNC  
grids that use temperature (or density) as the vertical coordinate.  
The grids would be called something like 'U_xy_Hn__G__t' and  
'V_xy_Hn__G__t' where 'G' is the letter indicating the vertical  
temperature coordinate.

I have figured out that I need to call MNC_CW_ADD_GNAME to initialize  
these grids. However, there are not a lot of examples of this  
function--the only time I can find it called is from MNC_CW_INIT,  
where it is inside a giant loop that is hard for me to decipher. I am  
having trouble understanding the interface for MNC_CW_ADD_GNAME, since  
the arguments are not documented.

Can anyone who is familiar with the MNC code give me some suggestions  
on how to proceed? What I want to do seems fairly straightforward,  
right?

Thanks in advance!

__________________
Ryan Abernathey
rpa at mit.edu
MIT Ph.D. Student
Program in Oceans Atmospheres & Climate
http://web.mit.edu/rpa/






More information about the MITgcm-devel mailing list