where is the units of UV_Tangle conversion?

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
rcxy
Posts: 31
Joined: Fri Jul 02, 2010 1:28 pm
Location: Guangdong Ocean University

where is the units of UV_Tangle conversion?

#1 Post by rcxy » Fri Sep 02, 2011 5:08 pm

hi,
i know, in the tidal forcing file, the units of tide_Cangle is degree.
i don't know where units the conversion tide_Cangle to UV_Tangle.
i think, UV_Tangle=tide_Cangle*deg2rad.
thaks a lot !

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

Re: where is the units of UV_Tangle conversion?

#2 Post by kate » Fri Sep 02, 2011 9:45 pm

grep is your friend. The conversion happens during the read in get_idata.F. You can see the degrees to radians conversion in varinfo.dat (last line shown):

Code: Select all

'tide_Cangle'                                      ! Input
  'tidal current inclination angle'
  'degrees'                                        ! [radians]
  'tide_Cangle, scalar, series'
  'tide_period'
  'idTvan'
  'r2dvar'
  0.017453292519943295                             ! pi/180
Note that idTvan matches here:

Code: Select all

        CALL get_2dfld (ng, iNLM, idTvan, ncFRCid(idTvan,ng),           &
     &                  nFfiles(ng), FRC(1,ng), update(1),              &
     &                  LBi, UBi, LBj, UBj, MTC, NTC(ng),               &
#  ifdef MASKING
     &                  GRID(ng) % rmask(LBi,LBj),                      &
#  endif
     &                  TIDES(ng) % UV_Tangle(LBi,LBj,1))

rcxy
Posts: 31
Joined: Fri Jul 02, 2010 1:28 pm
Location: Guangdong Ocean University

Re: where is the units of UV_Tangle conversion?

#3 Post by rcxy » Sat Sep 03, 2011 12:36 am

Thanks a lot !

Post Reply