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 Unread post by perezro »

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: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

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

#2 Unread post by kate »

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 Unread post by perezro »

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

User avatar
wilkin
Posts: 872
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 Unread post by wilkin »

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 Unread post by perezro »

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

Post Reply