Hello, There is a Ferret script, sigma_coordinate_demo.jnl which creates some example data on a sigma-z axis and then shows the method for regridding that to a depth axis. It uses the ZAXREPLACE function. Run the script, reading the comments on the command line as you go. yes? go sigma_coordinate_demo.jnl For a specific application, here is a piece from a script I have used on a dataset which has several variables, including "temp". I'll show the conversion from sigma-z to depths for that variable. Many of the model outputs also have mask variables that are intended to apply to variables, to mask out the data over land, so I've shown that here too. use model_data.ncOnce you've done this kind of thing you'll have your variables on a depth axis. Look in the Users Guide, under the @LOC and @WEQ transformations, for examples to compute variables at the mixed-layer depth; and also the scripts mentioned in this message: http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2006/msg00149.html Ansley On 3/10/2011 1:34 AM, Mahesh Shinde wrote: Dear frds, I am new to ferret. I need to compute MLD using density criteria. I did it. It plots fine. The only problem is I have to convert sigma coordinates into z coordinates. I am doing it for ROMS files. How to do that? I will be grateful if provide some sample script. Please help me in finding the MLD in this case. Thanking you kind regards Mahesh |