Hello, I want to use x-y coordinate instead lat-lon coordinate, but I don't know where can I set the value of parameter f. I wonder that if I should set the value in grid.nc or other place .
Hope your reply.Thanks~
How to set Coriolis parameter f in x-y coordinates?
Re: How to set Coriolis parameter f in x-y coordinates?
Look at the examples in ana_grid.h (which you are presumably using to create your x/y grid).
Follow one of these, like UPWELLING:
and set f0 to the value you want. Then there is code later in ana_grid.h to use f0 and beta to set Coriolis.
Follow one of these, like UPWELLING:
Code: Select all
Xsize=1000.0_r8*REAL(Lm(ng),r8)
Esize=1000.0_r8*REAL(Mm(ng),r8)
depth=150.0_r8
f0=-8.26E-05_r8
beta=0.0_r8
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
Re: How to set Coriolis parameter f in x-y coordinates?
Thank you for your reply!wilkin wrote:Look at the examples in ana_grid.h (which you are presumably using to create your x/y grid).
Follow one of these, like UPWELLING:
and set f0 to the value you want. Then there is code later in ana_grid.h to use f0 and beta to set Coriolis.Code: Select all
Xsize=1000.0_r8*REAL(Lm(ng),r8) Esize=1000.0_r8*REAL(Mm(ng),r8) depth=150.0_r8 f0=-8.26E-05_r8 beta=0.0_r8