From which axes does start to read the angle (.nc file from)

Cool Findings and Plots

Moderators: arango, robertson

Post Reply
Message
Author
perezro

From which axes does start to read the angle (.nc file from)

#1 Post by perezro » Fri Jul 31, 2009 10:28 am

Helloo!!!

When My supervisor try to use the .nc file I got...and he ask me from which position the angle of each cell is readed... I didn't know what to answer...

I mean the axe 0->x (hotizontal=east) is equivalent to 0 degree and 0->y (vertical=north) 90 degrees...or there is other convention.. like start reading the angles of the cell distorsion from the left (0 -> -x) axe...

Thank you: r

User avatar
kate
Posts: 3713
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: From which axes does start to read the angle (.nc file from)

#2 Post by kate » Fri Jul 31, 2009 4:23 pm

The grid angle is the angle between the positive i direction and due east. A grid aligned with i increasing eastward will have a zero angle. My Northeast Pacific grid is tilted so that positive i is heading ENE at the southern end, pointing nearly northward at the northern end. The value of angle will be nearly 90 degrees (pi/2) at the 'northern' end (which is actually facing west). Perhaps a picture would help:
Image

perezro

Re: From which axes does start to read the angle (.nc file from)

#3 Post by perezro » Tue Aug 18, 2009 8:28 am

Thanks Kate...
Even if the pic is not visible I believe I got it...
RRR

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

Re: From which axes does start to read the angle (.nc file from)

#4 Post by wilkin » Thu Aug 20, 2009 12:58 pm

How to interpret the sense of the rotation is sometimes confusing. i.e. do you rotate a vector in roms coordinates by *angle* to place it in earth coordinates for plotting, or rotate data in earth coordinates by *angle* for input?

I sometimes add an "equation" attribute to angle in my grid file to remind myself:

angle:long_name = "angle ROMS xi axis is rotated anticlockwise from due east" ;
angle:equation = "u(roms)=Real((Ueast+i*Vnorth)*exp(-i*angle)) and v(roms)=Imag((Ueast+i*Vnorth)*exp(-i*angle))" ;
angle:units = "radian" ;
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

perezro

Re: From which axes does start to read the angle (.nc file from)

#5 Post by perezro » Fri Aug 21, 2009 6:13 am

ok!! really good idea...
Thank you Wilkin: R

Post Reply