z level

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
redhat007

z level

#1 Unread post by redhat007 »

As you know rome results are in sigma levels. but I need modeled current speed in specific depth (for example 50 m depth). Is there any matlab routine to convert current speed from sigma level to z level?
Cheers
redhat

aearamos
Posts: 11
Joined: Fri Nov 12, 2010 7:22 pm
Location: Texas A&M University

Re: z level

#2 Unread post by aearamos »

I had the same problem a few years ago so I started using Wilkin`s Matlab package function roms_zslice.m. It can be found at http://romsmatlab.tiddlyspot.com/.

I have also created a roms2z.m function so I could replace the sigma layers with my z layers in the his file. In order to use my function you must have his package on your Matlab.

Cheers

Arthur
Attachments
roms2z.m
(1.3 KiB) Downloaded 417 times

redhat007

Re: z level

#3 Unread post by redhat007 »

many thanks

Shivashankar
Posts: 2
Joined: Mon Jan 09, 2017 7:24 pm
Location: National Remote Sensing Centre

Re: z level

#4 Unread post by Shivashankar »

Dear aearamos,

I could not find roms_zslice.m in the given link.
Could you forward me the code.

Thanks in advance

User avatar
wilkin
Posts: 922
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: z level

#5 Unread post by wilkin »

If you click on that very old http://romsmatlab.tiddlyspot.com link you need to click on Download which opens up the entry:
As of 7 Apr 2008 I now manage changes to the Matlab functions documented here using svn (SubVersion) for version control.
There is some help on using Subversion on the ROMS Wiki at https://www.myroms.org/wiki/index.php/Subversion

To download my Matlab codes using svn, you enter the command:

svn checkout https://www.myroms.org/svn/om/matlab/roms_wilkin
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Shivashankar
Posts: 2
Joined: Mon Jan 09, 2017 7:24 pm
Location: National Remote Sensing Centre

Re: z level

#6 Unread post by Shivashankar »

Thank you very much wilkin,

After implementing the codes i am ending with the same data at each depth level, i.e. every depth level is having the same value at a given pixel. I am not getting where is the problem.
Please help me to solve this.

regards

Post Reply