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
z level
Re: z level
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
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 418 times
-
- Posts: 2
- Joined: Mon Jan 09, 2017 7:24 pm
- Location: National Remote Sensing Centre
Re: z level
Dear aearamos,
I could not find roms_zslice.m in the given link.
Could you forward me the code.
Thanks in advance
I could not find roms_zslice.m in the given link.
Could you forward me the code.
Thanks in advance
Re: z level
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
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
-
- Posts: 2
- Joined: Mon Jan 09, 2017 7:24 pm
- Location: National Remote Sensing Centre
Re: z level
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
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